Public beta version.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2021-06-09 Version: 1.36.777
|
||||||
|
- Public beta version.
|
||||||
|
- Add Api Overseas.
|
||||||
|
|
||||||
2021-06-09 Version: 1.36.776
|
2021-06-09 Version: 1.36.776
|
||||||
- Create Lindorm Open api.
|
- Create Lindorm Open api.
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetDeviceListRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetDeviceListResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||||
@@ -81,10 +83,14 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetScreenVerificationCodeResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/GetWebSocketTokenResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/InviteUserResult.h
|
include/alibabacloud/aliyuncvc/model/InviteUserResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||||
@@ -115,6 +121,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/QueryMeetingMemberActionResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||||
@@ -123,6 +131,8 @@ set(aliyuncvc_public_header_model
|
|||||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h
|
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/SendScreenStartRequest.h
|
||||||
|
include/alibabacloud/aliyuncvc/model/SendScreenStartResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||||
@@ -186,6 +196,8 @@ set(aliyuncvc_src
|
|||||||
src/model/GetDeviceActiveCodeResult.cc
|
src/model/GetDeviceActiveCodeResult.cc
|
||||||
src/model/GetDeviceInfoRequest.cc
|
src/model/GetDeviceInfoRequest.cc
|
||||||
src/model/GetDeviceInfoResult.cc
|
src/model/GetDeviceInfoResult.cc
|
||||||
|
src/model/GetDeviceListRequest.cc
|
||||||
|
src/model/GetDeviceListResult.cc
|
||||||
src/model/GetDeviceTokenRequest.cc
|
src/model/GetDeviceTokenRequest.cc
|
||||||
src/model/GetDeviceTokenResult.cc
|
src/model/GetDeviceTokenResult.cc
|
||||||
src/model/GetMeetingRequest.cc
|
src/model/GetMeetingRequest.cc
|
||||||
@@ -196,10 +208,14 @@ set(aliyuncvc_src
|
|||||||
src/model/GetMeetingMemberResult.cc
|
src/model/GetMeetingMemberResult.cc
|
||||||
src/model/GetMembersRequest.cc
|
src/model/GetMembersRequest.cc
|
||||||
src/model/GetMembersResult.cc
|
src/model/GetMembersResult.cc
|
||||||
|
src/model/GetScreenVerificationCodeRequest.cc
|
||||||
|
src/model/GetScreenVerificationCodeResult.cc
|
||||||
src/model/GetStatisticRequest.cc
|
src/model/GetStatisticRequest.cc
|
||||||
src/model/GetStatisticResult.cc
|
src/model/GetStatisticResult.cc
|
||||||
src/model/GetUserRequest.cc
|
src/model/GetUserRequest.cc
|
||||||
src/model/GetUserResult.cc
|
src/model/GetUserResult.cc
|
||||||
|
src/model/GetWebSocketTokenRequest.cc
|
||||||
|
src/model/GetWebSocketTokenResult.cc
|
||||||
src/model/InviteUserRequest.cc
|
src/model/InviteUserRequest.cc
|
||||||
src/model/InviteUserResult.cc
|
src/model/InviteUserResult.cc
|
||||||
src/model/JoinDeviceMeetingRequest.cc
|
src/model/JoinDeviceMeetingRequest.cc
|
||||||
@@ -230,6 +246,8 @@ set(aliyuncvc_src
|
|||||||
src/model/ModifyMeetingPasswordResult.cc
|
src/model/ModifyMeetingPasswordResult.cc
|
||||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||||
|
src/model/QueryMeetingMemberActionRequest.cc
|
||||||
|
src/model/QueryMeetingMemberActionResult.cc
|
||||||
src/model/RefreshDeviceScreenCodeRequest.cc
|
src/model/RefreshDeviceScreenCodeRequest.cc
|
||||||
src/model/RefreshDeviceScreenCodeResult.cc
|
src/model/RefreshDeviceScreenCodeResult.cc
|
||||||
src/model/RegisterDeviceRequest.cc
|
src/model/RegisterDeviceRequest.cc
|
||||||
@@ -238,6 +256,8 @@ set(aliyuncvc_src
|
|||||||
src/model/RegisterUemDeviceResult.cc
|
src/model/RegisterUemDeviceResult.cc
|
||||||
src/model/SendMeetingCommandRequest.cc
|
src/model/SendMeetingCommandRequest.cc
|
||||||
src/model/SendMeetingCommandResult.cc
|
src/model/SendMeetingCommandResult.cc
|
||||||
|
src/model/SendScreenStartRequest.cc
|
||||||
|
src/model/SendScreenStartResult.cc
|
||||||
src/model/StartLiveRequest.cc
|
src/model/StartLiveRequest.cc
|
||||||
src/model/StartLiveResult.cc
|
src/model/StartLiveResult.cc
|
||||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||||
|
|||||||
@@ -72,6 +72,8 @@
|
|||||||
#include "model/GetDeviceActiveCodeResult.h"
|
#include "model/GetDeviceActiveCodeResult.h"
|
||||||
#include "model/GetDeviceInfoRequest.h"
|
#include "model/GetDeviceInfoRequest.h"
|
||||||
#include "model/GetDeviceInfoResult.h"
|
#include "model/GetDeviceInfoResult.h"
|
||||||
|
#include "model/GetDeviceListRequest.h"
|
||||||
|
#include "model/GetDeviceListResult.h"
|
||||||
#include "model/GetDeviceTokenRequest.h"
|
#include "model/GetDeviceTokenRequest.h"
|
||||||
#include "model/GetDeviceTokenResult.h"
|
#include "model/GetDeviceTokenResult.h"
|
||||||
#include "model/GetMeetingRequest.h"
|
#include "model/GetMeetingRequest.h"
|
||||||
@@ -82,10 +84,14 @@
|
|||||||
#include "model/GetMeetingMemberResult.h"
|
#include "model/GetMeetingMemberResult.h"
|
||||||
#include "model/GetMembersRequest.h"
|
#include "model/GetMembersRequest.h"
|
||||||
#include "model/GetMembersResult.h"
|
#include "model/GetMembersResult.h"
|
||||||
|
#include "model/GetScreenVerificationCodeRequest.h"
|
||||||
|
#include "model/GetScreenVerificationCodeResult.h"
|
||||||
#include "model/GetStatisticRequest.h"
|
#include "model/GetStatisticRequest.h"
|
||||||
#include "model/GetStatisticResult.h"
|
#include "model/GetStatisticResult.h"
|
||||||
#include "model/GetUserRequest.h"
|
#include "model/GetUserRequest.h"
|
||||||
#include "model/GetUserResult.h"
|
#include "model/GetUserResult.h"
|
||||||
|
#include "model/GetWebSocketTokenRequest.h"
|
||||||
|
#include "model/GetWebSocketTokenResult.h"
|
||||||
#include "model/InviteUserRequest.h"
|
#include "model/InviteUserRequest.h"
|
||||||
#include "model/InviteUserResult.h"
|
#include "model/InviteUserResult.h"
|
||||||
#include "model/JoinDeviceMeetingRequest.h"
|
#include "model/JoinDeviceMeetingRequest.h"
|
||||||
@@ -116,6 +122,8 @@
|
|||||||
#include "model/ModifyMeetingPasswordResult.h"
|
#include "model/ModifyMeetingPasswordResult.h"
|
||||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||||
|
#include "model/QueryMeetingMemberActionRequest.h"
|
||||||
|
#include "model/QueryMeetingMemberActionResult.h"
|
||||||
#include "model/RefreshDeviceScreenCodeRequest.h"
|
#include "model/RefreshDeviceScreenCodeRequest.h"
|
||||||
#include "model/RefreshDeviceScreenCodeResult.h"
|
#include "model/RefreshDeviceScreenCodeResult.h"
|
||||||
#include "model/RegisterDeviceRequest.h"
|
#include "model/RegisterDeviceRequest.h"
|
||||||
@@ -124,6 +132,8 @@
|
|||||||
#include "model/RegisterUemDeviceResult.h"
|
#include "model/RegisterUemDeviceResult.h"
|
||||||
#include "model/SendMeetingCommandRequest.h"
|
#include "model/SendMeetingCommandRequest.h"
|
||||||
#include "model/SendMeetingCommandResult.h"
|
#include "model/SendMeetingCommandResult.h"
|
||||||
|
#include "model/SendScreenStartRequest.h"
|
||||||
|
#include "model/SendScreenStartResult.h"
|
||||||
#include "model/StartLiveRequest.h"
|
#include "model/StartLiveRequest.h"
|
||||||
#include "model/StartLiveResult.h"
|
#include "model/StartLiveResult.h"
|
||||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||||
@@ -218,6 +228,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
|
||||||
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetDeviceListResult> GetDeviceListOutcome;
|
||||||
|
typedef std::future<GetDeviceListOutcome> GetDeviceListOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceListRequest&, const GetDeviceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceListAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
|
||||||
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
|
||||||
@@ -233,12 +246,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetScreenVerificationCodeResult> GetScreenVerificationCodeOutcome;
|
||||||
|
typedef std::future<GetScreenVerificationCodeOutcome> GetScreenVerificationCodeOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetScreenVerificationCodeRequest&, const GetScreenVerificationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetScreenVerificationCodeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
typedef Outcome<Error, Model::GetStatisticResult> GetStatisticOutcome;
|
||||||
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetWebSocketTokenResult> GetWebSocketTokenOutcome;
|
||||||
|
typedef std::future<GetWebSocketTokenOutcome> GetWebSocketTokenOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::GetWebSocketTokenRequest&, const GetWebSocketTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWebSocketTokenAsyncHandler;
|
||||||
typedef Outcome<Error, Model::InviteUserResult> InviteUserOutcome;
|
typedef Outcome<Error, Model::InviteUserResult> InviteUserOutcome;
|
||||||
typedef std::future<InviteUserOutcome> InviteUserOutcomeCallable;
|
typedef std::future<InviteUserOutcome> InviteUserOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::InviteUserRequest&, const InviteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InviteUserAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::InviteUserRequest&, const InviteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InviteUserAsyncHandler;
|
||||||
@@ -284,6 +303,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
||||||
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::QueryMeetingMemberActionResult> QueryMeetingMemberActionOutcome;
|
||||||
|
typedef std::future<QueryMeetingMemberActionOutcome> QueryMeetingMemberActionOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingMemberActionRequest&, const QueryMeetingMemberActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingMemberActionAsyncHandler;
|
||||||
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
|
||||||
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
|
||||||
@@ -296,6 +318,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SendMeetingCommandResult> SendMeetingCommandOutcome;
|
typedef Outcome<Error, Model::SendMeetingCommandResult> SendMeetingCommandOutcome;
|
||||||
typedef std::future<SendMeetingCommandOutcome> SendMeetingCommandOutcomeCallable;
|
typedef std::future<SendMeetingCommandOutcome> SendMeetingCommandOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendMeetingCommandRequest&, const SendMeetingCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMeetingCommandAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::SendMeetingCommandRequest&, const SendMeetingCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMeetingCommandAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SendScreenStartResult> SendScreenStartOutcome;
|
||||||
|
typedef std::future<SendScreenStartOutcome> SendScreenStartOutcomeCallable;
|
||||||
|
typedef std::function<void(const AliyuncvcClient*, const Model::SendScreenStartRequest&, const SendScreenStartOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendScreenStartAsyncHandler;
|
||||||
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
||||||
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
||||||
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
||||||
@@ -391,6 +416,9 @@ namespace AlibabaCloud
|
|||||||
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
|
||||||
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
|
||||||
|
GetDeviceListOutcome getDeviceList(const Model::GetDeviceListRequest &request)const;
|
||||||
|
void getDeviceListAsync(const Model::GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetDeviceListOutcomeCallable getDeviceListCallable(const Model::GetDeviceListRequest& request) const;
|
||||||
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
|
||||||
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
|
||||||
@@ -406,12 +434,18 @@ namespace AlibabaCloud
|
|||||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||||
|
GetScreenVerificationCodeOutcome getScreenVerificationCode(const Model::GetScreenVerificationCodeRequest &request)const;
|
||||||
|
void getScreenVerificationCodeAsync(const Model::GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetScreenVerificationCodeOutcomeCallable getScreenVerificationCodeCallable(const Model::GetScreenVerificationCodeRequest& request) const;
|
||||||
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
|
||||||
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& request) const;
|
||||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||||
|
GetWebSocketTokenOutcome getWebSocketToken(const Model::GetWebSocketTokenRequest &request)const;
|
||||||
|
void getWebSocketTokenAsync(const Model::GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetWebSocketTokenOutcomeCallable getWebSocketTokenCallable(const Model::GetWebSocketTokenRequest& request) const;
|
||||||
InviteUserOutcome inviteUser(const Model::InviteUserRequest &request)const;
|
InviteUserOutcome inviteUser(const Model::InviteUserRequest &request)const;
|
||||||
void inviteUserAsync(const Model::InviteUserRequest& request, const InviteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void inviteUserAsync(const Model::InviteUserRequest& request, const InviteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
InviteUserOutcomeCallable inviteUserCallable(const Model::InviteUserRequest& request) const;
|
InviteUserOutcomeCallable inviteUserCallable(const Model::InviteUserRequest& request) const;
|
||||||
@@ -457,6 +491,9 @@ namespace AlibabaCloud
|
|||||||
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
||||||
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
||||||
|
QueryMeetingMemberActionOutcome queryMeetingMemberAction(const Model::QueryMeetingMemberActionRequest &request)const;
|
||||||
|
void queryMeetingMemberActionAsync(const Model::QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QueryMeetingMemberActionOutcomeCallable queryMeetingMemberActionCallable(const Model::QueryMeetingMemberActionRequest& request) const;
|
||||||
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
|
||||||
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
|
||||||
@@ -469,6 +506,9 @@ namespace AlibabaCloud
|
|||||||
SendMeetingCommandOutcome sendMeetingCommand(const Model::SendMeetingCommandRequest &request)const;
|
SendMeetingCommandOutcome sendMeetingCommand(const Model::SendMeetingCommandRequest &request)const;
|
||||||
void sendMeetingCommandAsync(const Model::SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void sendMeetingCommandAsync(const Model::SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SendMeetingCommandOutcomeCallable sendMeetingCommandCallable(const Model::SendMeetingCommandRequest& request) const;
|
SendMeetingCommandOutcomeCallable sendMeetingCommandCallable(const Model::SendMeetingCommandRequest& request) const;
|
||||||
|
SendScreenStartOutcome sendScreenStart(const Model::SendScreenStartRequest &request)const;
|
||||||
|
void sendScreenStartAsync(const Model::SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SendScreenStartOutcomeCallable sendScreenStartCallable(const Model::SendScreenStartRequest& request) const;
|
||||||
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
||||||
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;
|
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;
|
||||||
|
|||||||
@@ -37,9 +37,15 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
std::string getCastScreenCode()const;
|
std::string getCastScreenCode()const;
|
||||||
void setCastScreenCode(const std::string& castScreenCode);
|
void setCastScreenCode(const std::string& castScreenCode);
|
||||||
|
std::string getGroupId()const;
|
||||||
|
void setGroupId(const std::string& groupId);
|
||||||
|
std::string getSn()const;
|
||||||
|
void setSn(const std::string& sn);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string castScreenCode_;
|
std::string castScreenCode_;
|
||||||
|
std::string groupId_;
|
||||||
|
std::string sn_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
|||||||
int status;
|
int status;
|
||||||
std::string castScreenCode;
|
std::string castScreenCode;
|
||||||
std::string iP;
|
std::string iP;
|
||||||
|
std::string port;
|
||||||
std::string sn;
|
std::string sn;
|
||||||
std::string ssid;
|
std::string ssid;
|
||||||
std::string activationCode;
|
std::string activationCode;
|
||||||
|
|||||||
@@ -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_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceListRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetDeviceListRequest();
|
||||||
|
~GetDeviceListRequest();
|
||||||
|
|
||||||
|
std::string getCastScreenCode()const;
|
||||||
|
void setCastScreenCode(const std::string& castScreenCode);
|
||||||
|
std::string getGroupId()const;
|
||||||
|
void setGroupId(const std::string& groupId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string castScreenCode_;
|
||||||
|
std::string groupId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTREQUEST_H_
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceListResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct DataItem
|
||||||
|
{
|
||||||
|
int status;
|
||||||
|
std::string castScreenCode;
|
||||||
|
std::string iP;
|
||||||
|
std::string port;
|
||||||
|
std::string sN;
|
||||||
|
std::string activationCode;
|
||||||
|
std::string mac;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetDeviceListResult();
|
||||||
|
explicit GetDeviceListResult(const std::string &payload);
|
||||||
|
~GetDeviceListResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::vector<DataItem> getData()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::vector<DataItem> data_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICELISTRESULT_H_
|
||||||
@@ -48,8 +48,8 @@ namespace AlibabaCloud
|
|||||||
std::string userId;
|
std::string userId;
|
||||||
long createTime;
|
long createTime;
|
||||||
std::string meetingName;
|
std::string meetingName;
|
||||||
long validTime;
|
|
||||||
std::string password;
|
std::string password;
|
||||||
|
long validTime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetScreenVerificationCodeRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetScreenVerificationCodeRequest();
|
||||||
|
~GetScreenVerificationCodeRequest();
|
||||||
|
|
||||||
|
std::string getCastScreenCode()const;
|
||||||
|
void setCastScreenCode(const std::string& castScreenCode);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string castScreenCode_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODEREQUEST_H_
|
||||||
@@ -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_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetScreenVerificationCodeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
GetScreenVerificationCodeResult();
|
||||||
|
explicit GetScreenVerificationCodeResult(const std::string &payload);
|
||||||
|
~GetScreenVerificationCodeResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getScreenVerificationCode()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string screenVerificationCode_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSCREENVERIFICATIONCODERESULT_H_
|
||||||
@@ -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_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetWebSocketTokenRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetWebSocketTokenRequest();
|
||||||
|
~GetWebSocketTokenRequest();
|
||||||
|
|
||||||
|
std::string getSessionId()const;
|
||||||
|
void setSessionId(const std::string& sessionId);
|
||||||
|
std::string getOldToken()const;
|
||||||
|
void setOldToken(const std::string& oldToken);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sessionId_;
|
||||||
|
std::string oldToken_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENREQUEST_H_
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetWebSocketTokenResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string token;
|
||||||
|
std::string authWsUrl;
|
||||||
|
std::string wsOuterReConnTime;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetWebSocketTokenResult();
|
||||||
|
explicit GetWebSocketTokenResult(const std::string &payload);
|
||||||
|
~GetWebSocketTokenResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETWEBSOCKETTOKENRESULT_H_
|
||||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
|||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string manufacturer;
|
std::string manufacturer;
|
||||||
std::string pictureUrl;
|
std::string pictureUrl;
|
||||||
|
std::string startUpPictureUrl;
|
||||||
std::string sN;
|
std::string sN;
|
||||||
std::string conferenceName;
|
std::string conferenceName;
|
||||||
std::string activationCode;
|
std::string activationCode;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string screenCode;
|
std::string screenCode;
|
||||||
std::string ip;
|
std::string ip;
|
||||||
|
std::string port;
|
||||||
std::string ssId;
|
std::string ssId;
|
||||||
std::string mac;
|
std::string mac;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
|||||||
std::string castScreenCode;
|
std::string castScreenCode;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string pictureUrl;
|
std::string pictureUrl;
|
||||||
|
std::string startUpPictureUrl;
|
||||||
std::string sN;
|
std::string sN;
|
||||||
std::string conferenceName;
|
std::string conferenceName;
|
||||||
std::string activationCode;
|
std::string activationCode;
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingMemberActionRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
QueryMeetingMemberActionRequest();
|
||||||
|
~QueryMeetingMemberActionRequest();
|
||||||
|
|
||||||
|
std::string getMeetingUnitKey()const;
|
||||||
|
void setMeetingUnitKey(const std::string& meetingUnitKey);
|
||||||
|
long getEndTime()const;
|
||||||
|
void setEndTime(long endTime);
|
||||||
|
std::string getMemberUUID()const;
|
||||||
|
void setMemberUUID(const std::string& memberUUID);
|
||||||
|
long getStartTime()const;
|
||||||
|
void setStartTime(long startTime);
|
||||||
|
std::string getMeetingUUID()const;
|
||||||
|
void setMeetingUUID(const std::string& meetingUUID);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string meetingUnitKey_;
|
||||||
|
long endTime_;
|
||||||
|
std::string memberUUID_;
|
||||||
|
long startTime_;
|
||||||
|
std::string meetingUUID_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONREQUEST_H_
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingMemberActionResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ErrorCodeListItem
|
||||||
|
{
|
||||||
|
long errorCodeCount;
|
||||||
|
long time;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
QueryMeetingMemberActionResult();
|
||||||
|
explicit QueryMeetingMemberActionResult(const std::string &payload);
|
||||||
|
~QueryMeetingMemberActionResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
int getMeetingStatus()const;
|
||||||
|
int getVideoStatus()const;
|
||||||
|
int getAudioStatus()const;
|
||||||
|
long getErrorCodeCount()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
std::vector<ErrorCodeListItem> getErrorCodeList()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
int meetingStatus_;
|
||||||
|
int videoStatus_;
|
||||||
|
int audioStatus_;
|
||||||
|
long errorCodeCount_;
|
||||||
|
int errorCode_;
|
||||||
|
std::vector<ErrorCodeListItem> errorCodeList_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGMEMBERACTIONRESULT_H_
|
||||||
@@ -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_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT SendScreenStartRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
SendScreenStartRequest();
|
||||||
|
~SendScreenStartRequest();
|
||||||
|
|
||||||
|
std::string getCastScreenCode()const;
|
||||||
|
void setCastScreenCode(const std::string& castScreenCode);
|
||||||
|
std::string getSessionId()const;
|
||||||
|
void setSessionId(const std::string& sessionId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string castScreenCode_;
|
||||||
|
std::string sessionId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTREQUEST_H_
|
||||||
@@ -0,0 +1,93 @@
|
|||||||
|
/*
|
||||||
|
* 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_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Aliyuncvc
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIYUNCVC_EXPORT SendScreenStartResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct AuthWsChannelConfig
|
||||||
|
{
|
||||||
|
std::string token;
|
||||||
|
std::string authWsUrl;
|
||||||
|
int wsOuterReConnTime;
|
||||||
|
};
|
||||||
|
struct ShareConfig
|
||||||
|
{
|
||||||
|
int shareConfigMaxFrameRate;
|
||||||
|
int shareConfigMinFrameRate;
|
||||||
|
int maxScreenShareBitrate;
|
||||||
|
int maxMultiScreenShareBitrate;
|
||||||
|
};
|
||||||
|
struct SignallingServerConfig
|
||||||
|
{
|
||||||
|
std::string sendMessageUrl;
|
||||||
|
std::string shareScreenMeetingRobUrl;
|
||||||
|
std::string getMessageUrl;
|
||||||
|
std::string getReceiverInfoUrl;
|
||||||
|
std::string clientHeartBeatUrl;
|
||||||
|
};
|
||||||
|
struct IceServersItem
|
||||||
|
{
|
||||||
|
std::string credential;
|
||||||
|
std::string userName;
|
||||||
|
std::string url;
|
||||||
|
};
|
||||||
|
ShareConfig shareConfig;
|
||||||
|
std::string receiverInfo;
|
||||||
|
AuthWsChannelConfig authWsChannelConfig;
|
||||||
|
std::string sessionId;
|
||||||
|
std::vector<IceServersItem> iceServers;
|
||||||
|
SignallingServerConfig signallingServerConfig;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
SendScreenStartResult();
|
||||||
|
explicit SendScreenStartResult(const std::string &payload);
|
||||||
|
~SendScreenStartResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDSCREENSTARTRESULT_H_
|
||||||
@@ -951,6 +951,42 @@ AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetDeviceListOutcome AliyuncvcClient::getDeviceList(const GetDeviceListRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetDeviceListOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetDeviceListOutcome(GetDeviceListResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetDeviceListOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getDeviceListAsync(const GetDeviceListRequest& request, const GetDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getDeviceList(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetDeviceListOutcomeCallable AliyuncvcClient::getDeviceListCallable(const GetDeviceListRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetDeviceListOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getDeviceList(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1131,6 +1167,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetScreenVerificationCodeOutcome AliyuncvcClient::getScreenVerificationCode(const GetScreenVerificationCodeRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetScreenVerificationCodeOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetScreenVerificationCodeOutcome(GetScreenVerificationCodeResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetScreenVerificationCodeOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getScreenVerificationCodeAsync(const GetScreenVerificationCodeRequest& request, const GetScreenVerificationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getScreenVerificationCode(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetScreenVerificationCodeOutcomeCallable AliyuncvcClient::getScreenVerificationCodeCallable(const GetScreenVerificationCodeRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetScreenVerificationCodeOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getScreenVerificationCode(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1203,6 +1275,42 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetWebSocketTokenOutcome AliyuncvcClient::getWebSocketToken(const GetWebSocketTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetWebSocketTokenOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetWebSocketTokenOutcome(GetWebSocketTokenResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetWebSocketTokenOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::getWebSocketTokenAsync(const GetWebSocketTokenRequest& request, const GetWebSocketTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getWebSocketToken(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::GetWebSocketTokenOutcomeCallable AliyuncvcClient::getWebSocketTokenCallable(const GetWebSocketTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetWebSocketTokenOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getWebSocketToken(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::InviteUserOutcome AliyuncvcClient::inviteUser(const InviteUserRequest &request) const
|
AliyuncvcClient::InviteUserOutcome AliyuncvcClient::inviteUser(const InviteUserRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1743,6 +1851,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::QueryMeetingMemberActionOutcome AliyuncvcClient::queryMeetingMemberAction(const QueryMeetingMemberActionRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return QueryMeetingMemberActionOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return QueryMeetingMemberActionOutcome(QueryMeetingMemberActionResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return QueryMeetingMemberActionOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::queryMeetingMemberActionAsync(const QueryMeetingMemberActionRequest& request, const QueryMeetingMemberActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, queryMeetingMemberAction(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::QueryMeetingMemberActionOutcomeCallable AliyuncvcClient::queryMeetingMemberActionCallable(const QueryMeetingMemberActionRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<QueryMeetingMemberActionOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->queryMeetingMemberAction(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1887,6 +2031,42 @@ AliyuncvcClient::SendMeetingCommandOutcomeCallable AliyuncvcClient::sendMeetingC
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::SendScreenStartOutcome AliyuncvcClient::sendScreenStart(const SendScreenStartRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SendScreenStartOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SendScreenStartOutcome(SendScreenStartResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SendScreenStartOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AliyuncvcClient::sendScreenStartAsync(const SendScreenStartRequest& request, const SendScreenStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, sendScreenStart(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AliyuncvcClient::SendScreenStartOutcomeCallable AliyuncvcClient::sendScreenStartCallable(const SendScreenStartRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SendScreenStartOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->sendScreenStart(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -35,6 +35,28 @@ std::string GetDeviceInfoRequest::getCastScreenCode()const
|
|||||||
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||||
{
|
{
|
||||||
castScreenCode_ = castScreenCode;
|
castScreenCode_ = castScreenCode;
|
||||||
setBodyParameter("CastScreenCode", castScreenCode);
|
setParameter("CastScreenCode", castScreenCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetDeviceInfoRequest::getGroupId()const
|
||||||
|
{
|
||||||
|
return groupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetDeviceInfoRequest::setGroupId(const std::string& groupId)
|
||||||
|
{
|
||||||
|
groupId_ = groupId;
|
||||||
|
setParameter("GroupId", groupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetDeviceInfoRequest::getSn()const
|
||||||
|
{
|
||||||
|
return sn_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetDeviceInfoRequest::setSn(const std::string& sn)
|
||||||
|
{
|
||||||
|
sn_ = sn;
|
||||||
|
setParameter("Sn", sn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,24 +40,26 @@ void GetDeviceInfoResult::parse(const std::string &payload)
|
|||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
auto deviceNode = value["Device"];
|
auto deviceNode = value["Device"];
|
||||||
if(!deviceNode["ActivationCode"].isNull())
|
|
||||||
device_.activationCode = deviceNode["ActivationCode"].asString();
|
|
||||||
if(!deviceNode["CastScreenCode"].isNull())
|
|
||||||
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
|
||||||
if(!deviceNode["Sn"].isNull())
|
|
||||||
device_.sn = deviceNode["Sn"].asString();
|
|
||||||
if(!deviceNode["Status"].isNull())
|
if(!deviceNode["Status"].isNull())
|
||||||
device_.status = std::stoi(deviceNode["Status"].asString());
|
device_.status = std::stoi(deviceNode["Status"].asString());
|
||||||
|
if(!deviceNode["CastScreenCode"].isNull())
|
||||||
|
device_.castScreenCode = deviceNode["CastScreenCode"].asString();
|
||||||
if(!deviceNode["IP"].isNull())
|
if(!deviceNode["IP"].isNull())
|
||||||
device_.iP = deviceNode["IP"].asString();
|
device_.iP = deviceNode["IP"].asString();
|
||||||
if(!deviceNode["Mac"].isNull())
|
if(!deviceNode["Port"].isNull())
|
||||||
device_.mac = deviceNode["Mac"].asString();
|
device_.port = deviceNode["Port"].asString();
|
||||||
|
if(!deviceNode["Sn"].isNull())
|
||||||
|
device_.sn = deviceNode["Sn"].asString();
|
||||||
if(!deviceNode["Ssid"].isNull())
|
if(!deviceNode["Ssid"].isNull())
|
||||||
device_.ssid = deviceNode["Ssid"].asString();
|
device_.ssid = deviceNode["Ssid"].asString();
|
||||||
if(!value["ErrorCode"].isNull())
|
if(!deviceNode["ActivationCode"].isNull())
|
||||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
device_.activationCode = deviceNode["ActivationCode"].asString();
|
||||||
|
if(!deviceNode["Mac"].isNull())
|
||||||
|
device_.mac = deviceNode["Mac"].asString();
|
||||||
if(!value["Message"].isNull())
|
if(!value["Message"].isNull())
|
||||||
message_ = value["Message"].asString();
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString() == "true";
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
|||||||
51
aliyuncvc/src/model/GetDeviceListRequest.cc
Normal file
51
aliyuncvc/src/model/GetDeviceListRequest.cc
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetDeviceListRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::GetDeviceListRequest;
|
||||||
|
|
||||||
|
GetDeviceListRequest::GetDeviceListRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceList")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetDeviceListRequest::~GetDeviceListRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetDeviceListRequest::getCastScreenCode()const
|
||||||
|
{
|
||||||
|
return castScreenCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetDeviceListRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||||
|
{
|
||||||
|
castScreenCode_ = castScreenCode;
|
||||||
|
setParameter("CastScreenCode", castScreenCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetDeviceListRequest::getGroupId()const
|
||||||
|
{
|
||||||
|
return groupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetDeviceListRequest::setGroupId(const std::string& groupId)
|
||||||
|
{
|
||||||
|
groupId_ = groupId;
|
||||||
|
setParameter("GroupId", groupId);
|
||||||
|
}
|
||||||
|
|
||||||
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
90
aliyuncvc/src/model/GetDeviceListResult.cc
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetDeviceListResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetDeviceListResult::GetDeviceListResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetDeviceListResult::GetDeviceListResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetDeviceListResult::~GetDeviceListResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetDeviceListResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDataNode = value["Data"]["DataItem"];
|
||||||
|
for (auto valueDataDataItem : allDataNode)
|
||||||
|
{
|
||||||
|
DataItem dataObject;
|
||||||
|
if(!valueDataDataItem["Status"].isNull())
|
||||||
|
dataObject.status = std::stoi(valueDataDataItem["Status"].asString());
|
||||||
|
if(!valueDataDataItem["CastScreenCode"].isNull())
|
||||||
|
dataObject.castScreenCode = valueDataDataItem["CastScreenCode"].asString();
|
||||||
|
if(!valueDataDataItem["IP"].isNull())
|
||||||
|
dataObject.iP = valueDataDataItem["IP"].asString();
|
||||||
|
if(!valueDataDataItem["Port"].isNull())
|
||||||
|
dataObject.port = valueDataDataItem["Port"].asString();
|
||||||
|
if(!valueDataDataItem["SN"].isNull())
|
||||||
|
dataObject.sN = valueDataDataItem["SN"].asString();
|
||||||
|
if(!valueDataDataItem["ActivationCode"].isNull())
|
||||||
|
dataObject.activationCode = valueDataDataItem["ActivationCode"].asString();
|
||||||
|
if(!valueDataDataItem["Mac"].isNull())
|
||||||
|
dataObject.mac = valueDataDataItem["Mac"].asString();
|
||||||
|
data_.push_back(dataObject);
|
||||||
|
}
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetDeviceListResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<GetDeviceListResult::DataItem> GetDeviceListResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetDeviceListResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetDeviceListResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -40,40 +40,40 @@ void GetMeetingResult::parse(const std::string &payload)
|
|||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
auto meetingInfoNode = value["MeetingInfo"];
|
auto meetingInfoNode = value["MeetingInfo"];
|
||||||
if(!meetingInfoNode["MeetingName"].isNull())
|
|
||||||
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
|
||||||
if(!meetingInfoNode["ValidTime"].isNull())
|
|
||||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
|
||||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
|
||||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
|
||||||
if(!meetingInfoNode["CreateTime"].isNull())
|
|
||||||
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
|
||||||
if(!meetingInfoNode["UserId"].isNull())
|
|
||||||
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
|
||||||
if(!meetingInfoNode["MeetingUUID"].isNull())
|
|
||||||
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
|
||||||
if(!meetingInfoNode["Password"].isNull())
|
if(!meetingInfoNode["Password"].isNull())
|
||||||
meetingInfo_.password = meetingInfoNode["Password"].asString();
|
meetingInfo_.password = meetingInfoNode["Password"].asString();
|
||||||
|
if(!meetingInfoNode["MeetingUUID"].isNull())
|
||||||
|
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
|
||||||
|
if(!meetingInfoNode["ValidTime"].isNull())
|
||||||
|
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||||
|
if(!meetingInfoNode["CreateTime"].isNull())
|
||||||
|
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
|
||||||
|
if(!meetingInfoNode["MeetingName"].isNull())
|
||||||
|
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
|
||||||
|
if(!meetingInfoNode["UserId"].isNull())
|
||||||
|
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
|
||||||
|
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||||
|
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||||
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
|
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
|
||||||
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
|
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
|
||||||
{
|
{
|
||||||
MeetingInfo::MemberListItem memberListItemObject;
|
MeetingInfo::MemberListItem memberListItemObject;
|
||||||
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
|
||||||
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
|
||||||
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
|
||||||
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
|
||||||
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
|
||||||
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
|
||||||
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
|
||||||
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
|
||||||
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
|
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
|
||||||
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
|
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
|
||||||
|
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
|
||||||
|
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
|
||||||
|
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
|
||||||
|
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
|
||||||
|
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
|
||||||
|
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
|
||||||
|
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
|
||||||
|
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
|
||||||
meetingInfo_.memberList.push_back(memberListItemObject);
|
meetingInfo_.memberList.push_back(memberListItemObject);
|
||||||
}
|
}
|
||||||
if(!value["ErrorCode"].isNull())
|
|
||||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
|
||||||
if(!value["Message"].isNull())
|
if(!value["Message"].isNull())
|
||||||
message_ = value["Message"].asString();
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString() == "true";
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
|||||||
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
40
aliyuncvc/src/model/GetScreenVerificationCodeRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetScreenVerificationCodeRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::GetScreenVerificationCodeRequest;
|
||||||
|
|
||||||
|
GetScreenVerificationCodeRequest::GetScreenVerificationCodeRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetScreenVerificationCode")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetScreenVerificationCodeRequest::~GetScreenVerificationCodeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetScreenVerificationCodeRequest::getCastScreenCode()const
|
||||||
|
{
|
||||||
|
return castScreenCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetScreenVerificationCodeRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||||
|
{
|
||||||
|
castScreenCode_ = castScreenCode;
|
||||||
|
setBodyParameter("CastScreenCode", castScreenCode);
|
||||||
|
}
|
||||||
|
|
||||||
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
72
aliyuncvc/src/model/GetScreenVerificationCodeResult.cc
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetScreenVerificationCodeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetScreenVerificationCodeResult::GetScreenVerificationCodeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetScreenVerificationCodeResult::~GetScreenVerificationCodeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetScreenVerificationCodeResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["ScreenVerificationCode"].isNull())
|
||||||
|
screenVerificationCode_ = value["ScreenVerificationCode"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetScreenVerificationCodeResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetScreenVerificationCodeResult::getScreenVerificationCode()const
|
||||||
|
{
|
||||||
|
return screenVerificationCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetScreenVerificationCodeResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetScreenVerificationCodeResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
Normal file
51
aliyuncvc/src/model/GetWebSocketTokenRequest.cc
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetWebSocketTokenRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::GetWebSocketTokenRequest;
|
||||||
|
|
||||||
|
GetWebSocketTokenRequest::GetWebSocketTokenRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetWebSocketToken")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetWebSocketTokenRequest::~GetWebSocketTokenRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetWebSocketTokenRequest::getSessionId()const
|
||||||
|
{
|
||||||
|
return sessionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetWebSocketTokenRequest::setSessionId(const std::string& sessionId)
|
||||||
|
{
|
||||||
|
sessionId_ = sessionId;
|
||||||
|
setParameter("SessionId", sessionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetWebSocketTokenRequest::getOldToken()const
|
||||||
|
{
|
||||||
|
return oldToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetWebSocketTokenRequest::setOldToken(const std::string& oldToken)
|
||||||
|
{
|
||||||
|
oldToken_ = oldToken;
|
||||||
|
setParameter("OldToken", oldToken);
|
||||||
|
}
|
||||||
|
|
||||||
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
77
aliyuncvc/src/model/GetWebSocketTokenResult.cc
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/GetWebSocketTokenResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
GetWebSocketTokenResult::GetWebSocketTokenResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetWebSocketTokenResult::GetWebSocketTokenResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetWebSocketTokenResult::~GetWebSocketTokenResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetWebSocketTokenResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["AuthWsUrl"].isNull())
|
||||||
|
data_.authWsUrl = dataNode["AuthWsUrl"].asString();
|
||||||
|
if(!dataNode["Token"].isNull())
|
||||||
|
data_.token = dataNode["Token"].asString();
|
||||||
|
if(!dataNode["WsOuterReConnTime"].isNull())
|
||||||
|
data_.wsOuterReConnTime = dataNode["WsOuterReConnTime"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetWebSocketTokenResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetWebSocketTokenResult::Data GetWebSocketTokenResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetWebSocketTokenResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetWebSocketTokenResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -70,6 +70,8 @@ void ListConferenceDevicesResult::parse(const std::string &payload)
|
|||||||
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
|
dataObject.status = conferencesDatasNodeConferencesdata["Status"].asString();
|
||||||
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
|
if(!conferencesDatasNodeConferencesdata["CastScreenCode"].isNull())
|
||||||
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
|
dataObject.castScreenCode = conferencesDatasNodeConferencesdata["CastScreenCode"].asString();
|
||||||
|
if(!conferencesDatasNodeConferencesdata["StartUpPictureUrl"].isNull())
|
||||||
|
dataObject.startUpPictureUrl = conferencesDatasNodeConferencesdata["StartUpPictureUrl"].asString();
|
||||||
conferencesDatas_.conferences.push_back(dataObject);
|
conferencesDatas_.conferences.push_back(dataObject);
|
||||||
}
|
}
|
||||||
if(!value["ErrorCode"].isNull())
|
if(!value["ErrorCode"].isNull())
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ void ListDeviceIpResult::parse(const std::string &payload)
|
|||||||
devicesObject.mac = valueDevicesDevicesItem["Mac"].asString();
|
devicesObject.mac = valueDevicesDevicesItem["Mac"].asString();
|
||||||
if(!valueDevicesDevicesItem["SsId"].isNull())
|
if(!valueDevicesDevicesItem["SsId"].isNull())
|
||||||
devicesObject.ssId = valueDevicesDevicesItem["SsId"].asString();
|
devicesObject.ssId = valueDevicesDevicesItem["SsId"].asString();
|
||||||
|
if(!valueDevicesDevicesItem["Port"].isNull())
|
||||||
|
devicesObject.port = valueDevicesDevicesItem["Port"].asString();
|
||||||
devices_.push_back(devicesObject);
|
devices_.push_back(devicesObject);
|
||||||
}
|
}
|
||||||
if(!value["ErrorCode"].isNull())
|
if(!value["ErrorCode"].isNull())
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ void ListDevicesResult::parse(const std::string &payload)
|
|||||||
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
|
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
|
||||||
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
|
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
|
||||||
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
|
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
|
||||||
|
if(!dataNodeDevicesDevice["StartUpPictureUrl"].isNull())
|
||||||
|
deviceObject.startUpPictureUrl = dataNodeDevicesDevice["StartUpPictureUrl"].asString();
|
||||||
data_.devices.push_back(deviceObject);
|
data_.devices.push_back(deviceObject);
|
||||||
}
|
}
|
||||||
if(!value["ErrorCode"].isNull())
|
if(!value["ErrorCode"].isNull())
|
||||||
|
|||||||
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
84
aliyuncvc/src/model/QueryMeetingMemberActionRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/QueryMeetingMemberActionRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingMemberActionRequest;
|
||||||
|
|
||||||
|
QueryMeetingMemberActionRequest::QueryMeetingMemberActionRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "QueryMeetingMemberAction")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
QueryMeetingMemberActionRequest::~QueryMeetingMemberActionRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string QueryMeetingMemberActionRequest::getMeetingUnitKey()const
|
||||||
|
{
|
||||||
|
return meetingUnitKey_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionRequest::setMeetingUnitKey(const std::string& meetingUnitKey)
|
||||||
|
{
|
||||||
|
meetingUnitKey_ = meetingUnitKey;
|
||||||
|
setBodyParameter("MeetingUnitKey", meetingUnitKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
long QueryMeetingMemberActionRequest::getEndTime()const
|
||||||
|
{
|
||||||
|
return endTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionRequest::setEndTime(long endTime)
|
||||||
|
{
|
||||||
|
endTime_ = endTime;
|
||||||
|
setBodyParameter("EndTime", std::to_string(endTime));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMeetingMemberActionRequest::getMemberUUID()const
|
||||||
|
{
|
||||||
|
return memberUUID_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionRequest::setMemberUUID(const std::string& memberUUID)
|
||||||
|
{
|
||||||
|
memberUUID_ = memberUUID;
|
||||||
|
setBodyParameter("MemberUUID", memberUUID);
|
||||||
|
}
|
||||||
|
|
||||||
|
long QueryMeetingMemberActionRequest::getStartTime()const
|
||||||
|
{
|
||||||
|
return startTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionRequest::setStartTime(long startTime)
|
||||||
|
{
|
||||||
|
startTime_ = startTime;
|
||||||
|
setBodyParameter("StartTime", std::to_string(startTime));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMeetingMemberActionRequest::getMeetingUUID()const
|
||||||
|
{
|
||||||
|
return meetingUUID_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||||
|
{
|
||||||
|
meetingUUID_ = meetingUUID;
|
||||||
|
setBodyParameter("MeetingUUID", meetingUUID);
|
||||||
|
}
|
||||||
|
|
||||||
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
108
aliyuncvc/src/model/QueryMeetingMemberActionResult.cc
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/QueryMeetingMemberActionResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
QueryMeetingMemberActionResult::QueryMeetingMemberActionResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
QueryMeetingMemberActionResult::~QueryMeetingMemberActionResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void QueryMeetingMemberActionResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allErrorCodeListNode = value["ErrorCodeList"]["ErrorCodeListItem"];
|
||||||
|
for (auto valueErrorCodeListErrorCodeListItem : allErrorCodeListNode)
|
||||||
|
{
|
||||||
|
ErrorCodeListItem errorCodeListObject;
|
||||||
|
if(!valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].isNull())
|
||||||
|
errorCodeListObject.errorCodeCount = std::stol(valueErrorCodeListErrorCodeListItem["ErrorCodeCount"].asString());
|
||||||
|
if(!valueErrorCodeListErrorCodeListItem["Time"].isNull())
|
||||||
|
errorCodeListObject.time = std::stol(valueErrorCodeListErrorCodeListItem["Time"].asString());
|
||||||
|
errorCodeList_.push_back(errorCodeListObject);
|
||||||
|
}
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["MeetingStatus"].isNull())
|
||||||
|
meetingStatus_ = std::stoi(value["MeetingStatus"].asString());
|
||||||
|
if(!value["VideoStatus"].isNull())
|
||||||
|
videoStatus_ = std::stoi(value["VideoStatus"].asString());
|
||||||
|
if(!value["AudioStatus"].isNull())
|
||||||
|
audioStatus_ = std::stoi(value["AudioStatus"].asString());
|
||||||
|
if(!value["ErrorCodeCount"].isNull())
|
||||||
|
errorCodeCount_ = std::stol(value["ErrorCodeCount"].asString());
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMeetingMemberActionResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int QueryMeetingMemberActionResult::getMeetingStatus()const
|
||||||
|
{
|
||||||
|
return meetingStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int QueryMeetingMemberActionResult::getVideoStatus()const
|
||||||
|
{
|
||||||
|
return videoStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int QueryMeetingMemberActionResult::getAudioStatus()const
|
||||||
|
{
|
||||||
|
return audioStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long QueryMeetingMemberActionResult::getErrorCodeCount()const
|
||||||
|
{
|
||||||
|
return errorCodeCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int QueryMeetingMemberActionResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<QueryMeetingMemberActionResult::ErrorCodeListItem> QueryMeetingMemberActionResult::getErrorCodeList()const
|
||||||
|
{
|
||||||
|
return errorCodeList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QueryMeetingMemberActionResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
51
aliyuncvc/src/model/SendScreenStartRequest.cc
Normal file
51
aliyuncvc/src/model/SendScreenStartRequest.cc
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/SendScreenStartRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Aliyuncvc::Model::SendScreenStartRequest;
|
||||||
|
|
||||||
|
SendScreenStartRequest::SendScreenStartRequest() :
|
||||||
|
RpcServiceRequest("aliyuncvc", "2019-10-30", "SendScreenStart")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SendScreenStartRequest::~SendScreenStartRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string SendScreenStartRequest::getCastScreenCode()const
|
||||||
|
{
|
||||||
|
return castScreenCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SendScreenStartRequest::setCastScreenCode(const std::string& castScreenCode)
|
||||||
|
{
|
||||||
|
castScreenCode_ = castScreenCode;
|
||||||
|
setBodyParameter("CastScreenCode", castScreenCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SendScreenStartRequest::getSessionId()const
|
||||||
|
{
|
||||||
|
return sessionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SendScreenStartRequest::setSessionId(const std::string& sessionId)
|
||||||
|
{
|
||||||
|
sessionId_ = sessionId;
|
||||||
|
setBodyParameter("SessionId", sessionId);
|
||||||
|
}
|
||||||
|
|
||||||
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
114
aliyuncvc/src/model/SendScreenStartResult.cc
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/aliyuncvc/model/SendScreenStartResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc;
|
||||||
|
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||||
|
|
||||||
|
SendScreenStartResult::SendScreenStartResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SendScreenStartResult::SendScreenStartResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SendScreenStartResult::~SendScreenStartResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SendScreenStartResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["ReceiverInfo"].isNull())
|
||||||
|
data_.receiverInfo = dataNode["ReceiverInfo"].asString();
|
||||||
|
if(!dataNode["SessionId"].isNull())
|
||||||
|
data_.sessionId = dataNode["SessionId"].asString();
|
||||||
|
auto allIceServersNode = dataNode["IceServers"]["IceServersItem"];
|
||||||
|
for (auto dataNodeIceServersIceServersItem : allIceServersNode)
|
||||||
|
{
|
||||||
|
Data::IceServersItem iceServersItemObject;
|
||||||
|
if(!dataNodeIceServersIceServersItem["Credential"].isNull())
|
||||||
|
iceServersItemObject.credential = dataNodeIceServersIceServersItem["Credential"].asString();
|
||||||
|
if(!dataNodeIceServersIceServersItem["Url"].isNull())
|
||||||
|
iceServersItemObject.url = dataNodeIceServersIceServersItem["Url"].asString();
|
||||||
|
if(!dataNodeIceServersIceServersItem["UserName"].isNull())
|
||||||
|
iceServersItemObject.userName = dataNodeIceServersIceServersItem["UserName"].asString();
|
||||||
|
data_.iceServers.push_back(iceServersItemObject);
|
||||||
|
}
|
||||||
|
auto authWsChannelConfigNode = dataNode["AuthWsChannelConfig"];
|
||||||
|
if(!authWsChannelConfigNode["AuthWsUrl"].isNull())
|
||||||
|
data_.authWsChannelConfig.authWsUrl = authWsChannelConfigNode["AuthWsUrl"].asString();
|
||||||
|
if(!authWsChannelConfigNode["Token"].isNull())
|
||||||
|
data_.authWsChannelConfig.token = authWsChannelConfigNode["Token"].asString();
|
||||||
|
if(!authWsChannelConfigNode["WsOuterReConnTime"].isNull())
|
||||||
|
data_.authWsChannelConfig.wsOuterReConnTime = std::stoi(authWsChannelConfigNode["WsOuterReConnTime"].asString());
|
||||||
|
auto shareConfigNode = dataNode["ShareConfig"];
|
||||||
|
if(!shareConfigNode["MaxMultiScreenShareBitrate"].isNull())
|
||||||
|
data_.shareConfig.maxMultiScreenShareBitrate = std::stoi(shareConfigNode["MaxMultiScreenShareBitrate"].asString());
|
||||||
|
if(!shareConfigNode["MaxScreenShareBitrate"].isNull())
|
||||||
|
data_.shareConfig.maxScreenShareBitrate = std::stoi(shareConfigNode["MaxScreenShareBitrate"].asString());
|
||||||
|
if(!shareConfigNode["ShareConfigMaxFrameRate"].isNull())
|
||||||
|
data_.shareConfig.shareConfigMaxFrameRate = std::stoi(shareConfigNode["ShareConfigMaxFrameRate"].asString());
|
||||||
|
if(!shareConfigNode["ShareConfigMinFrameRate"].isNull())
|
||||||
|
data_.shareConfig.shareConfigMinFrameRate = std::stoi(shareConfigNode["ShareConfigMinFrameRate"].asString());
|
||||||
|
auto signallingServerConfigNode = dataNode["SignallingServerConfig"];
|
||||||
|
if(!signallingServerConfigNode["ClientHeartBeatUrl"].isNull())
|
||||||
|
data_.signallingServerConfig.clientHeartBeatUrl = signallingServerConfigNode["ClientHeartBeatUrl"].asString();
|
||||||
|
if(!signallingServerConfigNode["GetMessageUrl"].isNull())
|
||||||
|
data_.signallingServerConfig.getMessageUrl = signallingServerConfigNode["GetMessageUrl"].asString();
|
||||||
|
if(!signallingServerConfigNode["GetReceiverInfoUrl"].isNull())
|
||||||
|
data_.signallingServerConfig.getReceiverInfoUrl = signallingServerConfigNode["GetReceiverInfoUrl"].asString();
|
||||||
|
if(!signallingServerConfigNode["SendMessageUrl"].isNull())
|
||||||
|
data_.signallingServerConfig.sendMessageUrl = signallingServerConfigNode["SendMessageUrl"].asString();
|
||||||
|
if(!signallingServerConfigNode["ShareScreenMeetingRobUrl"].isNull())
|
||||||
|
data_.signallingServerConfig.shareScreenMeetingRobUrl = signallingServerConfigNode["ShareScreenMeetingRobUrl"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SendScreenStartResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
SendScreenStartResult::Data SendScreenStartResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int SendScreenStartResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SendScreenStartResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user