RTC SDK Auto Released By renrang.yl,Version:1.20.1

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-07-25 16:31:51 +08:00
parent 6443abbf11
commit 7e24ec0ded
9 changed files with 581 additions and 1 deletions

View File

@@ -56,6 +56,8 @@
#include "model/DescribeRealTimeRecordListResult.h"
#include "model/StopAppRequest.h"
#include "model/StopAppResult.h"
#include "model/RemoveTerminalsRequest.h"
#include "model/RemoveTerminalsResult.h"
#include "model/DeleteConferenceRequest.h"
#include "model/DeleteConferenceResult.h"
#include "model/UpdateChannelRequest.h"
@@ -124,6 +126,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopAppResult> StopAppOutcome;
typedef std::future<StopAppOutcome> StopAppOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::StopAppRequest&, const StopAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopAppAsyncHandler;
typedef Outcome<Error, Model::RemoveTerminalsResult> RemoveTerminalsOutcome;
typedef std::future<RemoveTerminalsOutcome> RemoveTerminalsOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::RemoveTerminalsRequest&, const RemoveTerminalsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTerminalsAsyncHandler;
typedef Outcome<Error, Model::DeleteConferenceResult> DeleteConferenceOutcome;
typedef std::future<DeleteConferenceOutcome> DeleteConferenceOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DeleteConferenceRequest&, const DeleteConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConferenceAsyncHandler;
@@ -192,6 +197,9 @@ namespace AlibabaCloud
StopAppOutcome stopApp(const Model::StopAppRequest &request)const;
void stopAppAsync(const Model::StopAppRequest& request, const StopAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopAppOutcomeCallable stopAppCallable(const Model::StopAppRequest& request) const;
RemoveTerminalsOutcome removeTerminals(const Model::RemoveTerminalsRequest &request)const;
void removeTerminalsAsync(const Model::RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveTerminalsOutcomeCallable removeTerminalsCallable(const Model::RemoveTerminalsRequest& request) const;
DeleteConferenceOutcome deleteConference(const Model::DeleteConferenceRequest &request)const;
void deleteConferenceAsync(const Model::DeleteConferenceRequest& request, const DeleteConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConferenceOutcomeCallable deleteConferenceCallable(const Model::DeleteConferenceRequest& request) const;

View File

@@ -0,0 +1,117 @@
/*
* 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_REMOVETERMINALSREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_REMOVETERMINALSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT RemoveTerminalsRequest : public RpcServiceRequest
{
public:
RemoveTerminalsRequest();
~RemoveTerminalsRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::vector<std::string> getTerminalIds()const;
void setTerminalIds(const std::vector<std::string>& terminalIds);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string requestContent_;
std::string callerBidEmail_;
std::vector<std::string> terminalIds_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string product_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string appId_;
std::string channelId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_REMOVETERMINALSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_REMOVETERMINALSRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_REMOVETERMINALSRESULT_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 RemoveTerminalsResult : public ServiceResult
{
public:
struct Terminal
{
std::string message;
std::string id;
int code;
};
RemoveTerminalsResult();
explicit RemoveTerminalsResult(const std::string &payload);
~RemoveTerminalsResult();
std::vector<Terminal> getTerminals()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Terminal> terminals_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_REMOVETERMINALSRESULT_H_