diff --git a/CHANGELOG b/CHANGELOG index f02bcc890..a9ed354f3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2020-06-18 Version: 1.36.466 +- Public beta version. +- Add Api Overseas. + 2020-06-17 Version: 1.36.465 - Supported sync create eni and assign private ip. diff --git a/VERSION b/VERSION index c148d6290..c6b911019 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.465 \ No newline at end of file +1.36.466 \ No newline at end of file diff --git a/aliyuncvc/CMakeLists.txt b/aliyuncvc/CMakeLists.txt index 83a3c9807..2e21bdfce 100644 --- a/aliyuncvc/CMakeLists.txt +++ b/aliyuncvc/CMakeLists.txt @@ -25,12 +25,16 @@ set(aliyuncvc_public_header_model include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h + include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h + include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h include/alibabacloud/aliyuncvc/model/CallDeviceResult.h + include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h + include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h @@ -43,6 +47,8 @@ set(aliyuncvc_public_header_model include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h include/alibabacloud/aliyuncvc/model/CreateUserRequest.h include/alibabacloud/aliyuncvc/model/CreateUserResult.h + include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h + include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h @@ -79,8 +85,12 @@ set(aliyuncvc_public_header_model include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h + include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h + include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h + include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h + include/alibabacloud/aliyuncvc/model/ListDevicesResult.h include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h @@ -93,10 +103,28 @@ set(aliyuncvc_public_header_model include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h + include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h + include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h + include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h + include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h + include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h + include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h + include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h + include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h + include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h + include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h + include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h + include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h + include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h + include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h + include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h + include/alibabacloud/aliyuncvc/model/QueryUserListResult.h include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h + include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h + include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h include/alibabacloud/aliyuncvc/model/StartLiveRequest.h include/alibabacloud/aliyuncvc/model/StartLiveResult.h include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h @@ -112,12 +140,16 @@ set(aliyuncvc_src src/model/ActiveDeviceResult.cc src/model/ActiveMeetingRequest.cc src/model/ActiveMeetingResult.cc + src/model/ActiveMeetingCodeRequest.cc + src/model/ActiveMeetingCodeResult.cc src/model/BatchCreateDeviceRequest.cc src/model/BatchCreateDeviceResult.cc src/model/BatchDeleteDevicesRequest.cc src/model/BatchDeleteDevicesResult.cc src/model/CallDeviceRequest.cc src/model/CallDeviceResult.cc + src/model/CheckMeetingCodeRequest.cc + src/model/CheckMeetingCodeResult.cc src/model/CreateDeviceMeetingRequest.cc src/model/CreateDeviceMeetingResult.cc src/model/CreateEvaluationRequest.cc @@ -130,6 +162,8 @@ set(aliyuncvc_src src/model/CreateMeetingInternationalResult.cc src/model/CreateUserRequest.cc src/model/CreateUserResult.cc + src/model/CreateUserEvaluationsRequest.cc + src/model/CreateUserEvaluationsResult.cc src/model/CreateUserInternationalRequest.cc src/model/CreateUserInternationalResult.cc src/model/DeleteDeviceRequest.cc @@ -166,8 +200,12 @@ set(aliyuncvc_src src/model/JoinMeetingResult.cc src/model/JoinMeetingInternationalRequest.cc src/model/JoinMeetingInternationalResult.cc + src/model/ListCommoditiesRequest.cc + src/model/ListCommoditiesResult.cc src/model/ListDeviceIpRequest.cc src/model/ListDeviceIpResult.cc + src/model/ListDevicesRequest.cc + src/model/ListDevicesResult.cc src/model/ListEvaluationsRequest.cc src/model/ListEvaluationsResult.cc src/model/ListIsvStatisticsRequest.cc @@ -180,10 +218,28 @@ set(aliyuncvc_src src/model/ModifyMeetingPasswordResult.cc src/model/ModifyMeetingPasswordInternationalRequest.cc src/model/ModifyMeetingPasswordInternationalResult.cc + src/model/QueryIsvUserInfoRequest.cc + src/model/QueryIsvUserInfoResult.cc + src/model/QueryMeetingInfoRequest.cc + src/model/QueryMeetingInfoResult.cc + src/model/QueryMemberRecordRequest.cc + src/model/QueryMemberRecordResult.cc + src/model/QueryStatisticsRequest.cc + src/model/QueryStatisticsResult.cc + src/model/QueryUserBuyAttributeRequest.cc + src/model/QueryUserBuyAttributeResult.cc + src/model/QueryUserEvaluationRequest.cc + src/model/QueryUserEvaluationResult.cc + src/model/QueryUserInfoRequest.cc + src/model/QueryUserInfoResult.cc + src/model/QueryUserListRequest.cc + src/model/QueryUserListResult.cc src/model/RegisterDeviceRequest.cc src/model/RegisterDeviceResult.cc src/model/RegisterUemDeviceRequest.cc src/model/RegisterUemDeviceResult.cc + src/model/RemoveMeetingRequest.cc + src/model/RemoveMeetingResult.cc src/model/StartLiveRequest.cc src/model/StartLiveResult.cc src/model/UpdateDeviceHeartBeatRequest.cc diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h index c94bbc1d1..264dd254e 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h @@ -26,12 +26,16 @@ #include "model/ActiveDeviceResult.h" #include "model/ActiveMeetingRequest.h" #include "model/ActiveMeetingResult.h" +#include "model/ActiveMeetingCodeRequest.h" +#include "model/ActiveMeetingCodeResult.h" #include "model/BatchCreateDeviceRequest.h" #include "model/BatchCreateDeviceResult.h" #include "model/BatchDeleteDevicesRequest.h" #include "model/BatchDeleteDevicesResult.h" #include "model/CallDeviceRequest.h" #include "model/CallDeviceResult.h" +#include "model/CheckMeetingCodeRequest.h" +#include "model/CheckMeetingCodeResult.h" #include "model/CreateDeviceMeetingRequest.h" #include "model/CreateDeviceMeetingResult.h" #include "model/CreateEvaluationRequest.h" @@ -44,6 +48,8 @@ #include "model/CreateMeetingInternationalResult.h" #include "model/CreateUserRequest.h" #include "model/CreateUserResult.h" +#include "model/CreateUserEvaluationsRequest.h" +#include "model/CreateUserEvaluationsResult.h" #include "model/CreateUserInternationalRequest.h" #include "model/CreateUserInternationalResult.h" #include "model/DeleteDeviceRequest.h" @@ -80,8 +86,12 @@ #include "model/JoinMeetingResult.h" #include "model/JoinMeetingInternationalRequest.h" #include "model/JoinMeetingInternationalResult.h" +#include "model/ListCommoditiesRequest.h" +#include "model/ListCommoditiesResult.h" #include "model/ListDeviceIpRequest.h" #include "model/ListDeviceIpResult.h" +#include "model/ListDevicesRequest.h" +#include "model/ListDevicesResult.h" #include "model/ListEvaluationsRequest.h" #include "model/ListEvaluationsResult.h" #include "model/ListIsvStatisticsRequest.h" @@ -94,10 +104,28 @@ #include "model/ModifyMeetingPasswordResult.h" #include "model/ModifyMeetingPasswordInternationalRequest.h" #include "model/ModifyMeetingPasswordInternationalResult.h" +#include "model/QueryIsvUserInfoRequest.h" +#include "model/QueryIsvUserInfoResult.h" +#include "model/QueryMeetingInfoRequest.h" +#include "model/QueryMeetingInfoResult.h" +#include "model/QueryMemberRecordRequest.h" +#include "model/QueryMemberRecordResult.h" +#include "model/QueryStatisticsRequest.h" +#include "model/QueryStatisticsResult.h" +#include "model/QueryUserBuyAttributeRequest.h" +#include "model/QueryUserBuyAttributeResult.h" +#include "model/QueryUserEvaluationRequest.h" +#include "model/QueryUserEvaluationResult.h" +#include "model/QueryUserInfoRequest.h" +#include "model/QueryUserInfoResult.h" +#include "model/QueryUserListRequest.h" +#include "model/QueryUserListResult.h" #include "model/RegisterDeviceRequest.h" #include "model/RegisterDeviceResult.h" #include "model/RegisterUemDeviceRequest.h" #include "model/RegisterUemDeviceResult.h" +#include "model/RemoveMeetingRequest.h" +#include "model/RemoveMeetingResult.h" #include "model/StartLiveRequest.h" #include "model/StartLiveResult.h" #include "model/UpdateDeviceHeartBeatRequest.h" @@ -121,6 +149,9 @@ namespace AlibabaCloud typedef Outcome ActiveMeetingOutcome; typedef std::future ActiveMeetingOutcomeCallable; typedef std::function&)> ActiveMeetingAsyncHandler; + typedef Outcome ActiveMeetingCodeOutcome; + typedef std::future ActiveMeetingCodeOutcomeCallable; + typedef std::function&)> ActiveMeetingCodeAsyncHandler; typedef Outcome BatchCreateDeviceOutcome; typedef std::future BatchCreateDeviceOutcomeCallable; typedef std::function&)> BatchCreateDeviceAsyncHandler; @@ -130,6 +161,9 @@ namespace AlibabaCloud typedef Outcome CallDeviceOutcome; typedef std::future CallDeviceOutcomeCallable; typedef std::function&)> CallDeviceAsyncHandler; + typedef Outcome CheckMeetingCodeOutcome; + typedef std::future CheckMeetingCodeOutcomeCallable; + typedef std::function&)> CheckMeetingCodeAsyncHandler; typedef Outcome CreateDeviceMeetingOutcome; typedef std::future CreateDeviceMeetingOutcomeCallable; typedef std::function&)> CreateDeviceMeetingAsyncHandler; @@ -148,6 +182,9 @@ namespace AlibabaCloud typedef Outcome CreateUserOutcome; typedef std::future CreateUserOutcomeCallable; typedef std::function&)> CreateUserAsyncHandler; + typedef Outcome CreateUserEvaluationsOutcome; + typedef std::future CreateUserEvaluationsOutcomeCallable; + typedef std::function&)> CreateUserEvaluationsAsyncHandler; typedef Outcome CreateUserInternationalOutcome; typedef std::future CreateUserInternationalOutcomeCallable; typedef std::function&)> CreateUserInternationalAsyncHandler; @@ -202,9 +239,15 @@ namespace AlibabaCloud typedef Outcome JoinMeetingInternationalOutcome; typedef std::future JoinMeetingInternationalOutcomeCallable; typedef std::function&)> JoinMeetingInternationalAsyncHandler; + typedef Outcome ListCommoditiesOutcome; + typedef std::future ListCommoditiesOutcomeCallable; + typedef std::function&)> ListCommoditiesAsyncHandler; typedef Outcome ListDeviceIpOutcome; typedef std::future ListDeviceIpOutcomeCallable; typedef std::function&)> ListDeviceIpAsyncHandler; + typedef Outcome ListDevicesOutcome; + typedef std::future ListDevicesOutcomeCallable; + typedef std::function&)> ListDevicesAsyncHandler; typedef Outcome ListEvaluationsOutcome; typedef std::future ListEvaluationsOutcomeCallable; typedef std::function&)> ListEvaluationsAsyncHandler; @@ -223,12 +266,39 @@ namespace AlibabaCloud typedef Outcome ModifyMeetingPasswordInternationalOutcome; typedef std::future ModifyMeetingPasswordInternationalOutcomeCallable; typedef std::function&)> ModifyMeetingPasswordInternationalAsyncHandler; + typedef Outcome QueryIsvUserInfoOutcome; + typedef std::future QueryIsvUserInfoOutcomeCallable; + typedef std::function&)> QueryIsvUserInfoAsyncHandler; + typedef Outcome QueryMeetingInfoOutcome; + typedef std::future QueryMeetingInfoOutcomeCallable; + typedef std::function&)> QueryMeetingInfoAsyncHandler; + typedef Outcome QueryMemberRecordOutcome; + typedef std::future QueryMemberRecordOutcomeCallable; + typedef std::function&)> QueryMemberRecordAsyncHandler; + typedef Outcome QueryStatisticsOutcome; + typedef std::future QueryStatisticsOutcomeCallable; + typedef std::function&)> QueryStatisticsAsyncHandler; + typedef Outcome QueryUserBuyAttributeOutcome; + typedef std::future QueryUserBuyAttributeOutcomeCallable; + typedef std::function&)> QueryUserBuyAttributeAsyncHandler; + typedef Outcome QueryUserEvaluationOutcome; + typedef std::future QueryUserEvaluationOutcomeCallable; + typedef std::function&)> QueryUserEvaluationAsyncHandler; + typedef Outcome QueryUserInfoOutcome; + typedef std::future QueryUserInfoOutcomeCallable; + typedef std::function&)> QueryUserInfoAsyncHandler; + typedef Outcome QueryUserListOutcome; + typedef std::future QueryUserListOutcomeCallable; + typedef std::function&)> QueryUserListAsyncHandler; typedef Outcome RegisterDeviceOutcome; typedef std::future RegisterDeviceOutcomeCallable; typedef std::function&)> RegisterDeviceAsyncHandler; typedef Outcome RegisterUemDeviceOutcome; typedef std::future RegisterUemDeviceOutcomeCallable; typedef std::function&)> RegisterUemDeviceAsyncHandler; + typedef Outcome RemoveMeetingOutcome; + typedef std::future RemoveMeetingOutcomeCallable; + typedef std::function&)> RemoveMeetingAsyncHandler; typedef Outcome StartLiveOutcome; typedef std::future StartLiveOutcomeCallable; typedef std::function&)> StartLiveAsyncHandler; @@ -252,6 +322,9 @@ namespace AlibabaCloud ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const; void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const; + ActiveMeetingCodeOutcome activeMeetingCode(const Model::ActiveMeetingCodeRequest &request)const; + void activeMeetingCodeAsync(const Model::ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ActiveMeetingCodeOutcomeCallable activeMeetingCodeCallable(const Model::ActiveMeetingCodeRequest& request) const; BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const; void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const; @@ -261,6 +334,9 @@ namespace AlibabaCloud CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const; void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const; + CheckMeetingCodeOutcome checkMeetingCode(const Model::CheckMeetingCodeRequest &request)const; + void checkMeetingCodeAsync(const Model::CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckMeetingCodeOutcomeCallable checkMeetingCodeCallable(const Model::CheckMeetingCodeRequest& request) const; CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const; void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const; @@ -279,6 +355,9 @@ namespace AlibabaCloud CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; + CreateUserEvaluationsOutcome createUserEvaluations(const Model::CreateUserEvaluationsRequest &request)const; + void createUserEvaluationsAsync(const Model::CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserEvaluationsOutcomeCallable createUserEvaluationsCallable(const Model::CreateUserEvaluationsRequest& request) const; CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const; void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const; @@ -333,9 +412,15 @@ namespace AlibabaCloud JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const; void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const; + ListCommoditiesOutcome listCommodities(const Model::ListCommoditiesRequest &request)const; + void listCommoditiesAsync(const Model::ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCommoditiesOutcomeCallable listCommoditiesCallable(const Model::ListCommoditiesRequest& request) const; ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const; void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const; + ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const; + void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const; ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const; void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const; @@ -354,12 +439,39 @@ namespace AlibabaCloud ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const; void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const; + QueryIsvUserInfoOutcome queryIsvUserInfo(const Model::QueryIsvUserInfoRequest &request)const; + void queryIsvUserInfoAsync(const Model::QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryIsvUserInfoOutcomeCallable queryIsvUserInfoCallable(const Model::QueryIsvUserInfoRequest& request) const; + QueryMeetingInfoOutcome queryMeetingInfo(const Model::QueryMeetingInfoRequest &request)const; + void queryMeetingInfoAsync(const Model::QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryMeetingInfoOutcomeCallable queryMeetingInfoCallable(const Model::QueryMeetingInfoRequest& request) const; + QueryMemberRecordOutcome queryMemberRecord(const Model::QueryMemberRecordRequest &request)const; + void queryMemberRecordAsync(const Model::QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryMemberRecordOutcomeCallable queryMemberRecordCallable(const Model::QueryMemberRecordRequest& request) const; + QueryStatisticsOutcome queryStatistics(const Model::QueryStatisticsRequest &request)const; + void queryStatisticsAsync(const Model::QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryStatisticsOutcomeCallable queryStatisticsCallable(const Model::QueryStatisticsRequest& request) const; + QueryUserBuyAttributeOutcome queryUserBuyAttribute(const Model::QueryUserBuyAttributeRequest &request)const; + void queryUserBuyAttributeAsync(const Model::QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserBuyAttributeOutcomeCallable queryUserBuyAttributeCallable(const Model::QueryUserBuyAttributeRequest& request) const; + QueryUserEvaluationOutcome queryUserEvaluation(const Model::QueryUserEvaluationRequest &request)const; + void queryUserEvaluationAsync(const Model::QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserEvaluationOutcomeCallable queryUserEvaluationCallable(const Model::QueryUserEvaluationRequest& request) const; + QueryUserInfoOutcome queryUserInfo(const Model::QueryUserInfoRequest &request)const; + void queryUserInfoAsync(const Model::QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserInfoOutcomeCallable queryUserInfoCallable(const Model::QueryUserInfoRequest& request) const; + QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const; + void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const; RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const; void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const; RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const; void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const; + RemoveMeetingOutcome removeMeeting(const Model::RemoveMeetingRequest &request)const; + void removeMeetingAsync(const Model::RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveMeetingOutcomeCallable removeMeetingCallable(const Model::RemoveMeetingRequest& request) const; StartLiveOutcome startLive(const Model::StartLiveRequest &request)const; void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h new file mode 100644 index 000000000..1214836eb --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.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_ACTIVEMEETINGCODEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest + { + + public: + ActiveMeetingCodeRequest(); + ~ActiveMeetingCodeRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + + private: + std::string meetingUUID_; + std::string meetingCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h new file mode 100644 index 000000000..db3696802 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h @@ -0,0 +1,62 @@ +/* + * 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_ACTIVEMEETINGCODERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult + { + public: + struct MeetingInfo + { + std::string meetingCode; + long validDate; + }; + + + ActiveMeetingCodeResult(); + explicit ActiveMeetingCodeResult(const std::string &payload); + ~ActiveMeetingCodeResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h new file mode 100644 index 000000000..30d7e1b7c --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.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_CHECKMEETINGCODEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest + { + + public: + CheckMeetingCodeRequest(); + ~CheckMeetingCodeRequest(); + + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string meetingCode_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h new file mode 100644 index 000000000..4f8c11b65 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h @@ -0,0 +1,74 @@ +/* + * 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_CHECKMEETINGCODERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct SlsInfo + { + std::string project; + std::string logstore; + std::string logServiceEndpoint; + }; + SlsInfo slsInfo; + std::string meetingDomain; + std::string meetingCode; + std::string memberUUID; + std::string meetingUUID; + std::string clientAppId; + std::string meetingAppId; + std::string meetingToken; + }; + + + CheckMeetingCodeResult(); + explicit CheckMeetingCodeResult(const std::string &payload); + ~CheckMeetingCodeResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h index 6b84bfe34..06a14dfb3 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h @@ -39,22 +39,10 @@ namespace AlibabaCloud void setMeetingName(const std::string& meetingName); std::string getUserId()const; void setUserId(const std::string& userId); - bool getOpenPasswordFlag()const; - void setOpenPasswordFlag(bool openPasswordFlag); - std::string getPassword()const; - void setPassword(const std::string& password); - bool getMasterEnableFlag()const; - void setMasterEnableFlag(bool masterEnableFlag); - std::string getMeetingMode()const; - void setMeetingMode(const std::string& meetingMode); private: std::string meetingName_; std::string userId_; - bool openPasswordFlag_; - std::string password_; - bool masterEnableFlag_; - std::string meetingMode_; }; } diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h new file mode 100644 index 000000000..70b47c4fd --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest + { + + public: + CreateUserEvaluationsRequest(); + ~CreateUserEvaluationsRequest(); + + std::string getMemo()const; + void setMemo(const std::string& memo); + std::string getDescription()const; + void setDescription(const std::string& description); + long getCreateDate()const; + void setCreateDate(long createDate); + std::string getMemberUUID()const; + void setMemberUUID(const std::string& memberUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getEvaluation()const; + void setEvaluation(const std::string& evaluation); + std::string getScore()const; + void setScore(const std::string& score); + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + std::string memo_; + std::string description_; + long createDate_; + std::string memberUUID_; + std::string userId_; + std::string evaluation_; + std::string score_; + std::string meetingUUID_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h new file mode 100644 index 000000000..a0fc0b610 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h @@ -0,0 +1,55 @@ +/* + * 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_CREATEUSEREVALUATIONSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult + { + public: + + + CreateUserEvaluationsResult(); + explicit CreateUserEvaluationsResult(const std::string &payload); + ~CreateUserEvaluationsResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h index 2e041d4e9..feab60c40 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h @@ -38,7 +38,6 @@ namespace AlibabaCloud explicit CreateUserResult(const std::string &payload); ~CreateUserResult(); std::string getMessage()const; - std::string getUserId()const; int getErrorCode()const; bool getSuccess()const; @@ -46,7 +45,6 @@ namespace AlibabaCloud void parse(const std::string &payload); private: std::string message_; - std::string userId_; int errorCode_; bool success_; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h new file mode 100644 index 000000000..63c625bcd --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.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_LISTCOMMODITIESREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesRequest : public RpcServiceRequest + { + + public: + ListCommoditiesRequest(); + ~ListCommoditiesRequest(); + + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string endTime_; + std::string startTime_; + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h new file mode 100644 index 000000000..273024f24 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.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_LISTCOMMODITIESRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesResult : public ServiceResult + { + public: + struct Data + { + struct Commodity + { + std::string endTime; + std::string startTime; + std::string instancepropertyvalue; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector commodities; + }; + + + ListCommoditiesResult(); + explicit ListCommoditiesResult(const std::string &payload); + ~ListCommoditiesResult(); + 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_LISTCOMMODITIESRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h new file mode 100644 index 000000000..245cc43ae --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesRequest.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_LISTDEVICESREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesRequest : public RpcServiceRequest + { + + public: + ListDevicesRequest(); + ~ListDevicesRequest(); + + std::string getCastScreenCode()const; + void setCastScreenCode(const std::string& castScreenCode); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string castScreenCode_; + int pageNumber_; + int pageSize_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesResult.h new file mode 100644 index 000000000..407077182 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDevicesResult.h @@ -0,0 +1,75 @@ +/* + * 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_LISTDEVICESRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesResult : public ServiceResult + { + public: + struct Data + { + struct Data + { + std::string status; + std::string castScreenCode; + std::string createTime; + std::string pictureUrl; + std::string sN; + std::string conferenceName; + std::string activationCode; + std::string conferenceCode; + }; + int pageSize; + int pageNumber; + int total; + std::vector devices; + }; + + + ListDevicesResult(); + explicit ListDevicesResult(const std::string &payload); + ~ListDevicesResult(); + 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_LISTDEVICESRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h new file mode 100644 index 000000000..1b5306426 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h @@ -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_QUERYISVUSERINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest + { + + public: + QueryIsvUserInfoRequest(); + ~QueryIsvUserInfoRequest(); + + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h new file mode 100644 index 000000000..0a9f1d541 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h @@ -0,0 +1,71 @@ +/* + * 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_QUERYISVUSERINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult + { + public: + struct UserInfo + { + std::string groupName; + std::string userMobile; + std::string userName; + std::string userTel; + std::string userId; + long createTime; + std::string userAvatarUrl; + std::string userEmail; + std::string departName; + std::string groupId; + std::string departId; + }; + + + QueryIsvUserInfoResult(); + explicit QueryIsvUserInfoResult(const std::string &payload); + ~QueryIsvUserInfoResult(); + std::string getMessage()const; + UserInfo getUserInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + UserInfo userInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h new file mode 100644 index 000000000..89cf050c7 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h @@ -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_QUERYMEETINGINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest + { + + public: + QueryMeetingInfoRequest(); + ~QueryMeetingInfoRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h new file mode 100644 index 000000000..9191ea420 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h @@ -0,0 +1,75 @@ +/* + * 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_QUERYMEETINGINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct MemberListItem + { + std::string status; + std::string userName; + std::string memberUUID; + std::string userId; + std::string userAvatarUrl; + }; + std::string meetingCode; + long validDate; + std::string meetingUUID; + std::vector memberList; + std::string userId; + std::string meetingName; + long createDate; + }; + + + QueryMeetingInfoResult(); + explicit QueryMeetingInfoResult(const std::string &payload); + ~QueryMeetingInfoResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h new file mode 100644 index 000000000..e546596fd --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h @@ -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_QUERYMEMBERRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest + { + + public: + QueryMemberRecordRequest(); + ~QueryMemberRecordRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h new file mode 100644 index 000000000..b7e43b267 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h @@ -0,0 +1,74 @@ +/* + * 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_QUERYMEMBERRECORDRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct MemberRecord + { + std::string status; + std::string memberUUID; + std::string userId; + }; + std::string meetingCode; + std::string userName; + std::string meetingUUID; + std::string userId; + std::string meetingName; + std::vector memberRecordsList; + long createDate; + std::string memo; + }; + + + QueryMemberRecordResult(); + explicit QueryMemberRecordResult(const std::string &payload); + ~QueryMemberRecordResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h new file mode 100644 index 000000000..beb071142 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.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_QUERYSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsRequest : public RpcServiceRequest + { + + public: + QueryStatisticsRequest(); + ~QueryStatisticsRequest(); + + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + + private: + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h new file mode 100644 index 000000000..3ec4392cf --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h @@ -0,0 +1,75 @@ +/* + * 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_QUERYSTATISTICSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsResult : public ServiceResult + { + public: + struct Data + { + struct Total + { + int meetingNum; + int meetingLength; + int memberNum; + }; + struct DayInfoItem + { + std::string meetingNum; + std::string meetingLength; + std::string day; + std::string memberNum; + }; + std::vector dayInfo; + Total total; + }; + + + QueryStatisticsResult(); + explicit QueryStatisticsResult(const std::string &payload); + ~QueryStatisticsResult(); + 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_QUERYSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h new file mode 100644 index 000000000..091857b16 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h @@ -0,0 +1,45 @@ +/* + * 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_QUERYUSERBUYATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeRequest : public RpcServiceRequest + { + + public: + QueryUserBuyAttributeRequest(); + ~QueryUserBuyAttributeRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h new file mode 100644 index 000000000..d3ade924f --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.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_QUERYUSERBUYATTRIBUTERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult + { + public: + + + QueryUserBuyAttributeResult(); + explicit QueryUserBuyAttributeResult(const std::string &payload); + ~QueryUserBuyAttributeResult(); + std::string getMessage()const; + bool getUserBuyAttribute()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool userBuyAttribute_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h new file mode 100644 index 000000000..24d2c9c88 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h @@ -0,0 +1,45 @@ +/* + * 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_QUERYUSEREVALUATIONREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest + { + + public: + QueryUserEvaluationRequest(); + ~QueryUserEvaluationRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h new file mode 100644 index 000000000..ed81ae0c6 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.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_QUERYUSEREVALUATIONRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult + { + public: + + + QueryUserEvaluationResult(); + explicit QueryUserEvaluationResult(const std::string &payload); + ~QueryUserEvaluationResult(); + std::string getMessage()const; + int getErrorCode()const; + std::string getUserEvaluation()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::string userEvaluation_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h new file mode 100644 index 000000000..e76b368e9 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h @@ -0,0 +1,45 @@ +/* + * 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_QUERYUSERINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest + { + + public: + QueryUserInfoRequest(); + ~QueryUserInfoRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h new file mode 100644 index 000000000..b27ba9d7b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.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_QUERYUSERINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoResult : public ServiceResult + { + public: + struct UserInfo + { + int maxNum; + int memberConcurrentMax; + int curNum; + }; + + + QueryUserInfoResult(); + explicit QueryUserInfoResult(const std::string &payload); + ~QueryUserInfoResult(); + std::string getMessage()const; + UserInfo getUserInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + UserInfo userInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h new file mode 100644 index 000000000..5693f25ac --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.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_QUERYUSERLISTREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest + { + + public: + QueryUserListRequest(); + ~QueryUserListRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNum()const; + void setPageNum(int pageNum); + + private: + int pageSize_; + int pageNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h new file mode 100644 index 000000000..590c7d3c4 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h @@ -0,0 +1,78 @@ +/* + * 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_QUERYUSERLISTRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult + { + public: + struct Data + { + struct UserInfo + { + std::string groupName; + std::string userMobile; + std::string userName; + std::string userTel; + long createTime; + std::string userAvatarUrl; + std::string groupName1; + std::string userEmail; + std::string departName; + std::string groupId; + std::string departId; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector userInfos; + }; + + + QueryUserListResult(); + explicit QueryUserListResult(const std::string &payload); + ~QueryUserListResult(); + 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_QUERYUSERLISTRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h new file mode 100644 index 000000000..14e9cfd0b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h @@ -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_REMOVEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest + { + + public: + RemoveMeetingRequest(); + ~RemoveMeetingRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h new file mode 100644 index 000000000..4e55380b3 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h @@ -0,0 +1,55 @@ +/* + * 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_REMOVEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult + { + public: + + + RemoveMeetingResult(); + explicit RemoveMeetingResult(const std::string &payload); + ~RemoveMeetingResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/src/AliyuncvcClient.cc b/aliyuncvc/src/AliyuncvcClient.cc index f84948e6c..c27fa11f5 100644 --- a/aliyuncvc/src/AliyuncvcClient.cc +++ b/aliyuncvc/src/AliyuncvcClient.cc @@ -123,6 +123,42 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall return task->get_future(); } +AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ActiveMeetingCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result())); + else + return ActiveMeetingCodeOutcome(outcome.error()); +} + +void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, activeMeetingCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->activeMeetingCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +267,42 @@ AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(c return task->get_future(); } +AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckMeetingCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result())); + else + return CheckMeetingCodeOutcome(outcome.error()); +} + +void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkMeetingCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkMeetingCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +519,42 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c return task->get_future(); } +AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserEvaluationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result())); + else + return CreateUserEvaluationsOutcome(outcome.error()); +} + +void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserEvaluations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserEvaluations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +1203,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe return task->get_future(); } +AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCommoditiesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result())); + else + return ListCommoditiesOutcome(outcome.error()); +} + +void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCommodities(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCommodities(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1131,6 +1275,42 @@ AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallab return task->get_future(); } +AliyuncvcClient::ListDevicesOutcome AliyuncvcClient::listDevices(const ListDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDevicesOutcome(ListDevicesResult(outcome.result())); + else + return ListDevicesOutcome(outcome.error()); +} + +void AliyuncvcClient::listDevicesAsync(const ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ListDevicesOutcomeCallable AliyuncvcClient::listDevicesCallable(const ListDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,6 +1527,294 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie return task->get_future(); } +AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryIsvUserInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result())); + else + return QueryIsvUserInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryIsvUserInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryIsvUserInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMeetingInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result())); + else + return QueryMeetingInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMeetingInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMeetingInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMemberRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result())); + else + return QueryMemberRecordOutcome(outcome.error()); +} + +void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMemberRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMemberRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result())); + else + return QueryStatisticsOutcome(outcome.error()); +} + +void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserBuyAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result())); + else + return QueryUserBuyAttributeOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserBuyAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserBuyAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserEvaluationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result())); + else + return QueryUserEvaluationOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserEvaluation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserEvaluation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result())); + else + return QueryUserInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserListOutcome(QueryUserListResult(outcome.result())); + else + return QueryUserListOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1419,6 +1887,42 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe return task->get_future(); } +AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result())); + else + return RemoveMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc b/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc new file mode 100644 index 000000000..bdb239ee7 --- /dev/null +++ b/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest; + +ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode") +{ + setMethod(HttpRequest::Method::Post); +} + +ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest() +{} + +std::string ActiveMeetingCodeRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setParameter("MeetingUUID", meetingUUID); +} + +std::string ActiveMeetingCodeRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setParameter("MeetingCode", meetingCode); +} + diff --git a/aliyuncvc/src/model/ActiveMeetingCodeResult.cc b/aliyuncvc/src/model/ActiveMeetingCodeResult.cc new file mode 100644 index 000000000..320d1b0aa --- /dev/null +++ b/aliyuncvc/src/model/ActiveMeetingCodeResult.cc @@ -0,0 +1,75 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ActiveMeetingCodeResult::ActiveMeetingCodeResult() : + ServiceResult() +{} + +ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ActiveMeetingCodeResult::~ActiveMeetingCodeResult() +{} + +void ActiveMeetingCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["ValidDate"].isNull()) + meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString()); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].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"; + +} + +ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string ActiveMeetingCodeResult::getMessage()const +{ + return message_; +} + +int ActiveMeetingCodeResult::getErrorCode()const +{ + return errorCode_; +} + +bool ActiveMeetingCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CheckMeetingCodeRequest.cc b/aliyuncvc/src/model/CheckMeetingCodeRequest.cc new file mode 100644 index 000000000..516ccdf02 --- /dev/null +++ b/aliyuncvc/src/model/CheckMeetingCodeRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest; + +CheckMeetingCodeRequest::CheckMeetingCodeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckMeetingCodeRequest::~CheckMeetingCodeRequest() +{} + +std::string CheckMeetingCodeRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setBodyParameter("MeetingCode", meetingCode); +} + +std::string CheckMeetingCodeRequest::getUserId()const +{ + return userId_; +} + +void CheckMeetingCodeRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/CheckMeetingCodeResult.cc b/aliyuncvc/src/model/CheckMeetingCodeResult.cc new file mode 100644 index 000000000..cf83cd281 --- /dev/null +++ b/aliyuncvc/src/model/CheckMeetingCodeResult.cc @@ -0,0 +1,92 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CheckMeetingCodeResult::CheckMeetingCodeResult() : + ServiceResult() +{} + +CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckMeetingCodeResult::~CheckMeetingCodeResult() +{} + +void CheckMeetingCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingDomain"].isNull()) + meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString(); + if(!meetingInfoNode["MeetingToken"].isNull()) + meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MemberUUID"].isNull()) + meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString(); + if(!meetingInfoNode["ClientAppId"].isNull()) + meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["MeetingAppId"].isNull()) + meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString(); + auto slsInfoNode = meetingInfoNode["SlsInfo"]; + if(!slsInfoNode["LogServiceEndpoint"].isNull()) + meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString(); + if(!slsInfoNode["Logstore"].isNull()) + meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString(); + if(!slsInfoNode["Project"].isNull()) + meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string CheckMeetingCodeResult::getMessage()const +{ + return message_; +} + +int CheckMeetingCodeResult::getErrorCode()const +{ + return errorCode_; +} + +bool CheckMeetingCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateMeetingRequest.cc b/aliyuncvc/src/model/CreateMeetingRequest.cc index a4b84cdb2..952f80120 100644 --- a/aliyuncvc/src/model/CreateMeetingRequest.cc +++ b/aliyuncvc/src/model/CreateMeetingRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest; CreateMeetingRequest::CreateMeetingRequest() : - RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeeting") + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting") { setMethod(HttpRequest::Method::Post); } @@ -49,47 +49,3 @@ void CreateMeetingRequest::setUserId(const std::string& userId) setBodyParameter("UserId", userId); } -bool CreateMeetingRequest::getOpenPasswordFlag()const -{ - return openPasswordFlag_; -} - -void CreateMeetingRequest::setOpenPasswordFlag(bool openPasswordFlag) -{ - openPasswordFlag_ = openPasswordFlag; - setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); -} - -std::string CreateMeetingRequest::getPassword()const -{ - return password_; -} - -void CreateMeetingRequest::setPassword(const std::string& password) -{ - password_ = password; - setBodyParameter("Password", password); -} - -bool CreateMeetingRequest::getMasterEnableFlag()const -{ - return masterEnableFlag_; -} - -void CreateMeetingRequest::setMasterEnableFlag(bool masterEnableFlag) -{ - masterEnableFlag_ = masterEnableFlag; - setBodyParameter("MasterEnableFlag", masterEnableFlag ? "true" : "false"); -} - -std::string CreateMeetingRequest::getMeetingMode()const -{ - return meetingMode_; -} - -void CreateMeetingRequest::setMeetingMode(const std::string& meetingMode) -{ - meetingMode_ = meetingMode; - setBodyParameter("MeetingMode", meetingMode); -} - diff --git a/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc b/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc new file mode 100644 index 000000000..de15caac5 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc @@ -0,0 +1,128 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::CreateUserEvaluationsRequest; + +CreateUserEvaluationsRequest::CreateUserEvaluationsRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUserEvaluations") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserEvaluationsRequest::~CreateUserEvaluationsRequest() +{} + +std::string CreateUserEvaluationsRequest::getMemo()const +{ + return memo_; +} + +void CreateUserEvaluationsRequest::setMemo(const std::string& memo) +{ + memo_ = memo; + setParameter("Memo", memo); +} + +std::string CreateUserEvaluationsRequest::getDescription()const +{ + return description_; +} + +void CreateUserEvaluationsRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +long CreateUserEvaluationsRequest::getCreateDate()const +{ + return createDate_; +} + +void CreateUserEvaluationsRequest::setCreateDate(long createDate) +{ + createDate_ = createDate; + setParameter("CreateDate", std::to_string(createDate)); +} + +std::string CreateUserEvaluationsRequest::getMemberUUID()const +{ + return memberUUID_; +} + +void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID) +{ + memberUUID_ = memberUUID; + setParameter("MemberUUID", memberUUID); +} + +std::string CreateUserEvaluationsRequest::getUserId()const +{ + return userId_; +} + +void CreateUserEvaluationsRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + +std::string CreateUserEvaluationsRequest::getEvaluation()const +{ + return evaluation_; +} + +void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation) +{ + evaluation_ = evaluation; + setParameter("Evaluation", evaluation); +} + +std::string CreateUserEvaluationsRequest::getScore()const +{ + return score_; +} + +void CreateUserEvaluationsRequest::setScore(const std::string& score) +{ + score_ = score; + setParameter("Score", score); +} + +std::string CreateUserEvaluationsRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setParameter("MeetingUUID", meetingUUID); +} + +std::string CreateUserEvaluationsRequest::getAppId()const +{ + return appId_; +} + +void CreateUserEvaluationsRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); +} + diff --git a/aliyuncvc/src/model/CreateUserEvaluationsResult.cc b/aliyuncvc/src/model/CreateUserEvaluationsResult.cc new file mode 100644 index 000000000..63b87ffff --- /dev/null +++ b/aliyuncvc/src/model/CreateUserEvaluationsResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateUserEvaluationsResult::CreateUserEvaluationsResult() : + ServiceResult() +{} + +CreateUserEvaluationsResult::CreateUserEvaluationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserEvaluationsResult::~CreateUserEvaluationsResult() +{} + +void CreateUserEvaluationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateUserEvaluationsResult::getMessage()const +{ + return message_; +} + +std::string CreateUserEvaluationsResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateUserEvaluationsResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateUserRequest.cc b/aliyuncvc/src/model/CreateUserRequest.cc index c970c6b39..afc9c4179 100644 --- a/aliyuncvc/src/model/CreateUserRequest.cc +++ b/aliyuncvc/src/model/CreateUserRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Aliyuncvc::Model::CreateUserRequest; CreateUserRequest::CreateUserRequest() : - RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUser") + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUser") { setMethod(HttpRequest::Method::Post); } diff --git a/aliyuncvc/src/model/CreateUserResult.cc b/aliyuncvc/src/model/CreateUserResult.cc index 977477dd5..193a354e2 100644 --- a/aliyuncvc/src/model/CreateUserResult.cc +++ b/aliyuncvc/src/model/CreateUserResult.cc @@ -45,8 +45,6 @@ void CreateUserResult::parse(const std::string &payload) message_ = value["Message"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; - if(!value["UserId"].isNull()) - userId_ = value["UserId"].asString(); } @@ -55,11 +53,6 @@ std::string CreateUserResult::getMessage()const return message_; } -std::string CreateUserResult::getUserId()const -{ - return userId_; -} - int CreateUserResult::getErrorCode()const { return errorCode_; diff --git a/aliyuncvc/src/model/DeleteUserRequest.cc b/aliyuncvc/src/model/DeleteUserRequest.cc index 22c7392fe..3fae3fbfc 100644 --- a/aliyuncvc/src/model/DeleteUserRequest.cc +++ b/aliyuncvc/src/model/DeleteUserRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Aliyuncvc::Model::DeleteUserRequest; DeleteUserRequest::DeleteUserRequest() : - RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteUser") + RpcServiceRequest("aliyuncvc", "2019-09-19", "DeleteUser") { setMethod(HttpRequest::Method::Post); } diff --git a/aliyuncvc/src/model/ListCommoditiesRequest.cc b/aliyuncvc/src/model/ListCommoditiesRequest.cc new file mode 100644 index 000000000..03ced56f6 --- /dev/null +++ b/aliyuncvc/src/model/ListCommoditiesRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::ListCommoditiesRequest; + +ListCommoditiesRequest::ListCommoditiesRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "ListCommodities") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCommoditiesRequest::~ListCommoditiesRequest() +{} + +std::string ListCommoditiesRequest::getEndTime()const +{ + return endTime_; +} + +void ListCommoditiesRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string ListCommoditiesRequest::getStartTime()const +{ + return startTime_; +} + +void ListCommoditiesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +int ListCommoditiesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListCommoditiesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListCommoditiesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListCommoditiesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/aliyuncvc/src/model/ListCommoditiesResult.cc b/aliyuncvc/src/model/ListCommoditiesResult.cc new file mode 100644 index 000000000..fbd55b6eb --- /dev/null +++ b/aliyuncvc/src/model/ListCommoditiesResult.cc @@ -0,0 +1,89 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ListCommoditiesResult::ListCommoditiesResult() : + ServiceResult() +{} + +ListCommoditiesResult::ListCommoditiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCommoditiesResult::~ListCommoditiesResult() +{} + +void ListCommoditiesResult::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["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + auto allCommoditiesNode = dataNode["Commodities"]["Commodity"]; + for (auto dataNodeCommoditiesCommodity : allCommoditiesNode) + { + Data::Commodity commodityObject; + if(!dataNodeCommoditiesCommodity["EndTime"].isNull()) + commodityObject.endTime = dataNodeCommoditiesCommodity["EndTime"].asString(); + if(!dataNodeCommoditiesCommodity["Instancepropertyvalue"].isNull()) + commodityObject.instancepropertyvalue = dataNodeCommoditiesCommodity["Instancepropertyvalue"].asString(); + if(!dataNodeCommoditiesCommodity["StartTime"].isNull()) + commodityObject.startTime = dataNodeCommoditiesCommodity["StartTime"].asString(); + data_.commodities.push_back(commodityObject); + } + 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 ListCommoditiesResult::getMessage()const +{ + return message_; +} + +ListCommoditiesResult::Data ListCommoditiesResult::getData()const +{ + return data_; +} + +int ListCommoditiesResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListCommoditiesResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/ListDevicesRequest.cc b/aliyuncvc/src/model/ListDevicesRequest.cc new file mode 100644 index 000000000..ebb80ee5c --- /dev/null +++ b/aliyuncvc/src/model/ListDevicesRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::ListDevicesRequest; + +ListDevicesRequest::ListDevicesRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "ListDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDevicesRequest::~ListDevicesRequest() +{} + +std::string ListDevicesRequest::getCastScreenCode()const +{ + return castScreenCode_; +} + +void ListDevicesRequest::setCastScreenCode(const std::string& castScreenCode) +{ + castScreenCode_ = castScreenCode; + setParameter("CastScreenCode", castScreenCode); +} + +int ListDevicesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListDevicesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListDevicesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListDevicesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListDevicesRequest::getSN()const +{ + return sN_; +} + +void ListDevicesRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/ListDevicesResult.cc b/aliyuncvc/src/model/ListDevicesResult.cc new file mode 100644 index 000000000..8caafdf0e --- /dev/null +++ b/aliyuncvc/src/model/ListDevicesResult.cc @@ -0,0 +1,99 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ListDevicesResult::ListDevicesResult() : + ServiceResult() +{} + +ListDevicesResult::ListDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDevicesResult::~ListDevicesResult() +{} + +void ListDevicesResult::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["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + auto allDevicesNode = dataNode["Devices"]["data"]; + for (auto dataNodeDevicesdata : allDevicesNode) + { + Data::Data dataObject; + if(!dataNodeDevicesdata["ActivationCode"].isNull()) + dataObject.activationCode = dataNodeDevicesdata["ActivationCode"].asString(); + if(!dataNodeDevicesdata["ConferenceCode"].isNull()) + dataObject.conferenceCode = dataNodeDevicesdata["ConferenceCode"].asString(); + if(!dataNodeDevicesdata["ConferenceName"].isNull()) + dataObject.conferenceName = dataNodeDevicesdata["ConferenceName"].asString(); + if(!dataNodeDevicesdata["CreateTime"].isNull()) + dataObject.createTime = dataNodeDevicesdata["CreateTime"].asString(); + if(!dataNodeDevicesdata["PictureUrl"].isNull()) + dataObject.pictureUrl = dataNodeDevicesdata["PictureUrl"].asString(); + if(!dataNodeDevicesdata["SN"].isNull()) + dataObject.sN = dataNodeDevicesdata["SN"].asString(); + if(!dataNodeDevicesdata["Status"].isNull()) + dataObject.status = dataNodeDevicesdata["Status"].asString(); + if(!dataNodeDevicesdata["CastScreenCode"].isNull()) + dataObject.castScreenCode = dataNodeDevicesdata["CastScreenCode"].asString(); + data_.devices.push_back(dataObject); + } + 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 ListDevicesResult::getMessage()const +{ + return message_; +} + +ListDevicesResult::Data ListDevicesResult::getData()const +{ + return data_; +} + +int ListDevicesResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListDevicesResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc b/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc new file mode 100644 index 000000000..f13a5bd12 --- /dev/null +++ b/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest; + +QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest() +{} + +std::string QueryIsvUserInfoRequest::getUserId()const +{ + return userId_; +} + +void QueryIsvUserInfoRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/QueryIsvUserInfoResult.cc b/aliyuncvc/src/model/QueryIsvUserInfoResult.cc new file mode 100644 index 000000000..e1b855d61 --- /dev/null +++ b/aliyuncvc/src/model/QueryIsvUserInfoResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryIsvUserInfoResult::QueryIsvUserInfoResult() : + ServiceResult() +{} + +QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryIsvUserInfoResult::~QueryIsvUserInfoResult() +{} + +void QueryIsvUserInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto userInfoNode = value["UserInfo"]; + if(!userInfoNode["UserName"].isNull()) + userInfo_.userName = userInfoNode["UserName"].asString(); + if(!userInfoNode["CreateTime"].isNull()) + userInfo_.createTime = std::stol(userInfoNode["CreateTime"].asString()); + if(!userInfoNode["GroupId"].isNull()) + userInfo_.groupId = userInfoNode["GroupId"].asString(); + if(!userInfoNode["GroupName"].isNull()) + userInfo_.groupName = userInfoNode["GroupName"].asString(); + if(!userInfoNode["UserId"].isNull()) + userInfo_.userId = userInfoNode["UserId"].asString(); + if(!userInfoNode["UserTel"].isNull()) + userInfo_.userTel = userInfoNode["UserTel"].asString(); + if(!userInfoNode["UserEmail"].isNull()) + userInfo_.userEmail = userInfoNode["UserEmail"].asString(); + if(!userInfoNode["UserMobile"].isNull()) + userInfo_.userMobile = userInfoNode["UserMobile"].asString(); + if(!userInfoNode["UserAvatarUrl"].isNull()) + userInfo_.userAvatarUrl = userInfoNode["UserAvatarUrl"].asString(); + if(!userInfoNode["DepartId"].isNull()) + userInfo_.departId = userInfoNode["DepartId"].asString(); + if(!userInfoNode["DepartName"].isNull()) + userInfo_.departName = userInfoNode["DepartName"].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 QueryIsvUserInfoResult::getMessage()const +{ + return message_; +} + +QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const +{ + return userInfo_; +} + +int QueryIsvUserInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryIsvUserInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryMeetingInfoRequest.cc b/aliyuncvc/src/model/QueryMeetingInfoRequest.cc new file mode 100644 index 000000000..660e97603 --- /dev/null +++ b/aliyuncvc/src/model/QueryMeetingInfoRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest; + +QueryMeetingInfoRequest::QueryMeetingInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryMeetingInfoRequest::~QueryMeetingInfoRequest() +{} + +std::string QueryMeetingInfoRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/QueryMeetingInfoResult.cc b/aliyuncvc/src/model/QueryMeetingInfoResult.cc new file mode 100644 index 000000000..3fee93e16 --- /dev/null +++ b/aliyuncvc/src/model/QueryMeetingInfoResult.cc @@ -0,0 +1,99 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryMeetingInfoResult::QueryMeetingInfoResult() : + ServiceResult() +{} + +QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMeetingInfoResult::~QueryMeetingInfoResult() +{} + +void QueryMeetingInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingName"].isNull()) + meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString(); + if(!meetingInfoNode["ValidDate"].isNull()) + meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString()); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["CreateDate"].isNull()) + meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString()); + if(!meetingInfoNode["UserId"].isNull()) + meetingInfo_.userId = meetingInfoNode["UserId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"]; + for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode) + { + 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()) + memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString(); + meetingInfo_.memberList.push_back(memberListItemObject); + } + 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"; + +} + +QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string QueryMeetingInfoResult::getMessage()const +{ + return message_; +} + +int QueryMeetingInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryMeetingInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryMemberRecordRequest.cc b/aliyuncvc/src/model/QueryMemberRecordRequest.cc new file mode 100644 index 000000000..2d1b61e9b --- /dev/null +++ b/aliyuncvc/src/model/QueryMemberRecordRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest; + +QueryMemberRecordRequest::QueryMemberRecordRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryMemberRecordRequest::~QueryMemberRecordRequest() +{} + +std::string QueryMemberRecordRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/QueryMemberRecordResult.cc b/aliyuncvc/src/model/QueryMemberRecordResult.cc new file mode 100644 index 000000000..901fbcb4c --- /dev/null +++ b/aliyuncvc/src/model/QueryMemberRecordResult.cc @@ -0,0 +1,97 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryMemberRecordResult::QueryMemberRecordResult() : + ServiceResult() +{} + +QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMemberRecordResult::~QueryMemberRecordResult() +{} + +void QueryMemberRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingName"].isNull()) + meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["Memo"].isNull()) + meetingInfo_.memo = meetingInfoNode["Memo"].asString(); + if(!meetingInfoNode["UserName"].isNull()) + meetingInfo_.userName = meetingInfoNode["UserName"].asString(); + if(!meetingInfoNode["CreateDate"].isNull()) + meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString()); + if(!meetingInfoNode["UserId"].isNull()) + meetingInfo_.userId = meetingInfoNode["UserId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"]; + for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode) + { + MeetingInfo::MemberRecord memberRecordObject; + if(!meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].isNull()) + memberRecordObject.memberUUID = meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].asString(); + if(!meetingInfoNodeMemberRecordsListMemberRecord["UserId"].isNull()) + memberRecordObject.userId = meetingInfoNodeMemberRecordsListMemberRecord["UserId"].asString(); + if(!meetingInfoNodeMemberRecordsListMemberRecord["Status"].isNull()) + memberRecordObject.status = meetingInfoNodeMemberRecordsListMemberRecord["Status"].asString(); + meetingInfo_.memberRecordsList.push_back(memberRecordObject); + } + 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"; + +} + +QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string QueryMemberRecordResult::getMessage()const +{ + return message_; +} + +int QueryMemberRecordResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryMemberRecordResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryStatisticsRequest.cc b/aliyuncvc/src/model/QueryStatisticsRequest.cc new file mode 100644 index 000000000..ad8b90a78 --- /dev/null +++ b/aliyuncvc/src/model/QueryStatisticsRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::QueryStatisticsRequest; + +QueryStatisticsRequest::QueryStatisticsRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryStatisticsRequest::~QueryStatisticsRequest() +{} + +std::string QueryStatisticsRequest::getEndTime()const +{ + return endTime_; +} + +void QueryStatisticsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string QueryStatisticsRequest::getStartTime()const +{ + return startTime_; +} + +void QueryStatisticsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + diff --git a/aliyuncvc/src/model/QueryStatisticsResult.cc b/aliyuncvc/src/model/QueryStatisticsResult.cc new file mode 100644 index 000000000..87abeb452 --- /dev/null +++ b/aliyuncvc/src/model/QueryStatisticsResult.cc @@ -0,0 +1,92 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryStatisticsResult::QueryStatisticsResult() : + ServiceResult() +{} + +QueryStatisticsResult::QueryStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryStatisticsResult::~QueryStatisticsResult() +{} + +void QueryStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allDayInfoNode = dataNode["DayInfo"]["DayInfoItem"]; + for (auto dataNodeDayInfoDayInfoItem : allDayInfoNode) + { + Data::DayInfoItem dayInfoItemObject; + if(!dataNodeDayInfoDayInfoItem["MeetingNum"].isNull()) + dayInfoItemObject.meetingNum = dataNodeDayInfoDayInfoItem["MeetingNum"].asString(); + if(!dataNodeDayInfoDayInfoItem["MeetingLength"].isNull()) + dayInfoItemObject.meetingLength = dataNodeDayInfoDayInfoItem["MeetingLength"].asString(); + if(!dataNodeDayInfoDayInfoItem["MemberNum"].isNull()) + dayInfoItemObject.memberNum = dataNodeDayInfoDayInfoItem["MemberNum"].asString(); + if(!dataNodeDayInfoDayInfoItem["Day"].isNull()) + dayInfoItemObject.day = dataNodeDayInfoDayInfoItem["Day"].asString(); + data_.dayInfo.push_back(dayInfoItemObject); + } + auto totalNode = dataNode["Total"]; + if(!totalNode["MeetingNum"].isNull()) + data_.total.meetingNum = std::stoi(totalNode["MeetingNum"].asString()); + if(!totalNode["MeetingLength"].isNull()) + data_.total.meetingLength = std::stoi(totalNode["MeetingLength"].asString()); + if(!totalNode["MemberNum"].isNull()) + data_.total.memberNum = std::stoi(totalNode["MemberNum"].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 QueryStatisticsResult::getMessage()const +{ + return message_; +} + +QueryStatisticsResult::Data QueryStatisticsResult::getData()const +{ + return data_; +} + +int QueryStatisticsResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryStatisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc b/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc new file mode 100644 index 000000000..98466991e --- /dev/null +++ b/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc @@ -0,0 +1,29 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::QueryUserBuyAttributeRequest; + +QueryUserBuyAttributeRequest::QueryUserBuyAttributeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserBuyAttribute") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserBuyAttributeRequest::~QueryUserBuyAttributeRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc b/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc new file mode 100644 index 000000000..ac736f21d --- /dev/null +++ b/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserBuyAttributeResult::QueryUserBuyAttributeResult() : + ServiceResult() +{} + +QueryUserBuyAttributeResult::QueryUserBuyAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserBuyAttributeResult::~QueryUserBuyAttributeResult() +{} + +void QueryUserBuyAttributeResult::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["UserBuyAttribute"].isNull()) + userBuyAttribute_ = value["UserBuyAttribute"].asString() == "true"; + +} + +std::string QueryUserBuyAttributeResult::getMessage()const +{ + return message_; +} + +bool QueryUserBuyAttributeResult::getUserBuyAttribute()const +{ + return userBuyAttribute_; +} + +int QueryUserBuyAttributeResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserBuyAttributeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserEvaluationRequest.cc b/aliyuncvc/src/model/QueryUserEvaluationRequest.cc new file mode 100644 index 000000000..87bbd5daf --- /dev/null +++ b/aliyuncvc/src/model/QueryUserEvaluationRequest.cc @@ -0,0 +1,29 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::QueryUserEvaluationRequest; + +QueryUserEvaluationRequest::QueryUserEvaluationRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserEvaluation") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserEvaluationRequest::~QueryUserEvaluationRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserEvaluationResult.cc b/aliyuncvc/src/model/QueryUserEvaluationResult.cc new file mode 100644 index 000000000..ae260d15b --- /dev/null +++ b/aliyuncvc/src/model/QueryUserEvaluationResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserEvaluationResult::QueryUserEvaluationResult() : + ServiceResult() +{} + +QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserEvaluationResult::~QueryUserEvaluationResult() +{} + +void QueryUserEvaluationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["UserEvaluation"].isNull()) + userEvaluation_ = value["UserEvaluation"].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 QueryUserEvaluationResult::getMessage()const +{ + return message_; +} + +int QueryUserEvaluationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryUserEvaluationResult::getUserEvaluation()const +{ + return userEvaluation_; +} + +bool QueryUserEvaluationResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserInfoRequest.cc b/aliyuncvc/src/model/QueryUserInfoRequest.cc new file mode 100644 index 000000000..4f2d5c3d6 --- /dev/null +++ b/aliyuncvc/src/model/QueryUserInfoRequest.cc @@ -0,0 +1,29 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest; + +QueryUserInfoRequest::QueryUserInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserInfoRequest::~QueryUserInfoRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserInfoResult.cc b/aliyuncvc/src/model/QueryUserInfoResult.cc new file mode 100644 index 000000000..bda569e41 --- /dev/null +++ b/aliyuncvc/src/model/QueryUserInfoResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserInfoResult::QueryUserInfoResult() : + ServiceResult() +{} + +QueryUserInfoResult::QueryUserInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserInfoResult::~QueryUserInfoResult() +{} + +void QueryUserInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto userInfoNode = value["UserInfo"]; + if(!userInfoNode["CurNum"].isNull()) + userInfo_.curNum = std::stoi(userInfoNode["CurNum"].asString()); + if(!userInfoNode["MemberConcurrentMax"].isNull()) + userInfo_.memberConcurrentMax = std::stoi(userInfoNode["MemberConcurrentMax"].asString()); + if(!userInfoNode["MaxNum"].isNull()) + userInfo_.maxNum = std::stoi(userInfoNode["MaxNum"].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 QueryUserInfoResult::getMessage()const +{ + return message_; +} + +QueryUserInfoResult::UserInfo QueryUserInfoResult::getUserInfo()const +{ + return userInfo_; +} + +int QueryUserInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserListRequest.cc b/aliyuncvc/src/model/QueryUserListRequest.cc new file mode 100644 index 000000000..b7df8edfe --- /dev/null +++ b/aliyuncvc/src/model/QueryUserListRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest; + +QueryUserListRequest::QueryUserListRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserListRequest::~QueryUserListRequest() +{} + +int QueryUserListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int QueryUserListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + diff --git a/aliyuncvc/src/model/QueryUserListResult.cc b/aliyuncvc/src/model/QueryUserListResult.cc new file mode 100644 index 000000000..a722eb2ee --- /dev/null +++ b/aliyuncvc/src/model/QueryUserListResult.cc @@ -0,0 +1,105 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserListResult::QueryUserListResult() : + ServiceResult() +{} + +QueryUserListResult::QueryUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserListResult::~QueryUserListResult() +{} + +void QueryUserListResult::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["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + auto allUserInfosNode = dataNode["UserInfos"]["UserInfo"]; + for (auto dataNodeUserInfosUserInfo : allUserInfosNode) + { + Data::UserInfo userInfoObject; + if(!dataNodeUserInfosUserInfo["CreateTime"].isNull()) + userInfoObject.createTime = std::stol(dataNodeUserInfosUserInfo["CreateTime"].asString()); + if(!dataNodeUserInfosUserInfo["GroupName"].isNull()) + userInfoObject.groupName = dataNodeUserInfosUserInfo["GroupName"].asString(); + if(!dataNodeUserInfosUserInfo["UserName"].isNull()) + userInfoObject.userName = dataNodeUserInfosUserInfo["UserName"].asString(); + if(!dataNodeUserInfosUserInfo["GroupId"].isNull()) + userInfoObject.groupId = dataNodeUserInfosUserInfo["GroupId"].asString(); + if(!dataNodeUserInfosUserInfo["GroupName"].isNull()) + userInfoObject.groupName1 = dataNodeUserInfosUserInfo["GroupName"].asString(); + if(!dataNodeUserInfosUserInfo["DepartName"].isNull()) + userInfoObject.departName = dataNodeUserInfosUserInfo["DepartName"].asString(); + if(!dataNodeUserInfosUserInfo["DepartId"].isNull()) + userInfoObject.departId = dataNodeUserInfosUserInfo["DepartId"].asString(); + if(!dataNodeUserInfosUserInfo["UserEmail"].isNull()) + userInfoObject.userEmail = dataNodeUserInfosUserInfo["UserEmail"].asString(); + if(!dataNodeUserInfosUserInfo["UserTel"].isNull()) + userInfoObject.userTel = dataNodeUserInfosUserInfo["UserTel"].asString(); + if(!dataNodeUserInfosUserInfo["UserMobile"].isNull()) + userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString(); + if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull()) + userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString(); + data_.userInfos.push_back(userInfoObject); + } + 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 QueryUserListResult::getMessage()const +{ + return message_; +} + +QueryUserListResult::Data QueryUserListResult::getData()const +{ + return data_; +} + +int QueryUserListResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserListResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/RemoveMeetingRequest.cc b/aliyuncvc/src/model/RemoveMeetingRequest.cc new file mode 100644 index 000000000..793d2f9d8 --- /dev/null +++ b/aliyuncvc/src/model/RemoveMeetingRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest; + +RemoveMeetingRequest::RemoveMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +RemoveMeetingRequest::~RemoveMeetingRequest() +{} + +std::string RemoveMeetingRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/RemoveMeetingResult.cc b/aliyuncvc/src/model/RemoveMeetingResult.cc new file mode 100644 index 000000000..23f0e85c6 --- /dev/null +++ b/aliyuncvc/src/model/RemoveMeetingResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +RemoveMeetingResult::RemoveMeetingResult() : + ServiceResult() +{} + +RemoveMeetingResult::RemoveMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveMeetingResult::~RemoveMeetingResult() +{} + +void RemoveMeetingResult::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"; + +} + +std::string RemoveMeetingResult::getMessage()const +{ + return message_; +} + +int RemoveMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +bool RemoveMeetingResult::getSuccess()const +{ + return success_; +} +