Add DescribeAppKey interface.
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include "model/DeleteMPULayoutResult.h"
|
||||
#include "model/DeleteRecordTemplateRequest.h"
|
||||
#include "model/DeleteRecordTemplateResult.h"
|
||||
#include "model/DescribeAppKeyRequest.h"
|
||||
#include "model/DescribeAppKeyResult.h"
|
||||
#include "model/DescribeAppsRequest.h"
|
||||
#include "model/DescribeAppsResult.h"
|
||||
#include "model/DescribeAutoLiveStreamRuleRequest.h"
|
||||
@@ -120,6 +122,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRecordTemplateResult> DeleteRecordTemplateOutcome;
|
||||
typedef std::future<DeleteRecordTemplateOutcome> DeleteRecordTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteRecordTemplateRequest&, const DeleteRecordTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRecordTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAppKeyResult> DescribeAppKeyOutcome;
|
||||
typedef std::future<DescribeAppKeyOutcome> DescribeAppKeyOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeAppKeyRequest&, const DescribeAppKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAppsResult> DescribeAppsOutcome;
|
||||
typedef std::future<DescribeAppsOutcome> DescribeAppsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeAppsRequest&, const DescribeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppsAsyncHandler;
|
||||
@@ -218,6 +223,9 @@ namespace AlibabaCloud
|
||||
DeleteRecordTemplateOutcome deleteRecordTemplate(const Model::DeleteRecordTemplateRequest &request)const;
|
||||
void deleteRecordTemplateAsync(const Model::DeleteRecordTemplateRequest& request, const DeleteRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRecordTemplateOutcomeCallable deleteRecordTemplateCallable(const Model::DeleteRecordTemplateRequest& request) const;
|
||||
DescribeAppKeyOutcome describeAppKey(const Model::DescribeAppKeyRequest &request)const;
|
||||
void describeAppKeyAsync(const Model::DescribeAppKeyRequest& request, const DescribeAppKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAppKeyOutcomeCallable describeAppKeyCallable(const Model::DescribeAppKeyRequest& request) const;
|
||||
DescribeAppsOutcome describeApps(const Model::DescribeAppsRequest &request)const;
|
||||
void describeAppsAsync(const Model::DescribeAppsRequest& request, const DescribeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAppsOutcomeCallable describeAppsCallable(const Model::DescribeAppsRequest& request) const;
|
||||
|
||||
51
rtc/include/alibabacloud/rtc/model/DescribeAppKeyRequest.h
Normal file
51
rtc/include/alibabacloud/rtc/model/DescribeAppKeyRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Rtc {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeAppKeyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAppKeyRequest();
|
||||
~DescribeAppKeyRequest();
|
||||
std::string getShowLog() const;
|
||||
void setShowLog(const std::string &showLog);
|
||||
std::string getQueryAppId() const;
|
||||
void setQueryAppId(const std::string &queryAppId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
std::string queryAppId_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Rtc
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYREQUEST_H_
|
||||
53
rtc/include/alibabacloud/rtc/model/DescribeAppKeyResult.h
Normal file
53
rtc/include/alibabacloud/rtc/model/DescribeAppKeyResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeAppKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeAppKeyResult();
|
||||
explicit DescribeAppKeyResult(const std::string &payload);
|
||||
~DescribeAppKeyResult();
|
||||
std::string getAppKey()const;
|
||||
std::string getBizId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string appKey_;
|
||||
std::string bizId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEAPPKEYRESULT_H_
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string appId;
|
||||
std::string createTime;
|
||||
std::vector<std::string> serviceAreas;
|
||||
std::string region;
|
||||
std::string appType;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user