diff --git a/CHANGELOG b/CHANGELOG index 9f7e94648..cee0de75a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +2019-10-31 Version 1.36.163 +- Initial construction. +- Public beta version. +- Supported AliyunController for Interface. +- Supported ConsoleController for Interface. +- Supported AccountController for Interface. + 2019-10-29 Version 1.36.162 - Add a new Alibaba Cloud Bill API named QueryAccountBill. diff --git a/VERSION b/VERSION index cd1f2deba..f9ed172e9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.162 \ No newline at end of file +1.36.163 \ No newline at end of file diff --git a/aliyuncvc/CMakeLists.txt b/aliyuncvc/CMakeLists.txt index 983c18745..a814144b6 100644 --- a/aliyuncvc/CMakeLists.txt +++ b/aliyuncvc/CMakeLists.txt @@ -21,73 +21,57 @@ set(aliyuncvc_public_header include/alibabacloud/aliyuncvc/AliyuncvcExport.h ) set(aliyuncvc_public_header_model - include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h - include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h - include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h - include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h + include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h + include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h + include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h + include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h include/alibabacloud/aliyuncvc/model/CreateMeetingResult.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/DeleteMeetingRequest.h + include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h include/alibabacloud/aliyuncvc/model/DeleteUserResult.h - include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h - include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.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/RemoveMeetingRequest.h - include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h ) + include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h + include/alibabacloud/aliyuncvc/model/GetMeetingResult.h + include/alibabacloud/aliyuncvc/model/GetUserRequest.h + include/alibabacloud/aliyuncvc/model/GetUserResult.h + include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h + include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h + include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h + include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h + include/alibabacloud/aliyuncvc/model/ListMembersRequest.h + include/alibabacloud/aliyuncvc/model/ListMembersResult.h + include/alibabacloud/aliyuncvc/model/ListUsersRequest.h + include/alibabacloud/aliyuncvc/model/ListUsersResult.h ) set(aliyuncvc_src src/AliyuncvcClient.cc - src/model/ActiveMeetingCodeRequest.cc - src/model/ActiveMeetingCodeResult.cc - src/model/CheckMeetingCodeRequest.cc - src/model/CheckMeetingCodeResult.cc + src/model/ActiveMeetingRequest.cc + src/model/ActiveMeetingResult.cc + src/model/CreateEvaluationRequest.cc + src/model/CreateEvaluationResult.cc src/model/CreateMeetingRequest.cc src/model/CreateMeetingResult.cc src/model/CreateUserRequest.cc src/model/CreateUserResult.cc - src/model/CreateUserEvaluationsRequest.cc - src/model/CreateUserEvaluationsResult.cc + src/model/DeleteMeetingRequest.cc + src/model/DeleteMeetingResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc - src/model/ListCommoditiesRequest.cc - src/model/ListCommoditiesResult.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/RemoveMeetingRequest.cc - src/model/RemoveMeetingResult.cc ) + src/model/GetMeetingRequest.cc + src/model/GetMeetingResult.cc + src/model/GetUserRequest.cc + src/model/GetUserResult.cc + src/model/JoinMeetingRequest.cc + src/model/JoinMeetingResult.cc + src/model/ListEvaluationsRequest.cc + src/model/ListEvaluationsResult.cc + src/model/ListMembersRequest.cc + src/model/ListMembersResult.cc + src/model/ListUsersRequest.cc + src/model/ListUsersResult.cc ) add_library(aliyuncvc ${LIB_TYPE} ${aliyuncvc_public_header} diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h index a9dd7f7a0..f5adb85f0 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h @@ -22,38 +22,30 @@ #include #include #include "AliyuncvcExport.h" -#include "model/ActiveMeetingCodeRequest.h" -#include "model/ActiveMeetingCodeResult.h" -#include "model/CheckMeetingCodeRequest.h" -#include "model/CheckMeetingCodeResult.h" +#include "model/ActiveMeetingRequest.h" +#include "model/ActiveMeetingResult.h" +#include "model/CreateEvaluationRequest.h" +#include "model/CreateEvaluationResult.h" #include "model/CreateMeetingRequest.h" #include "model/CreateMeetingResult.h" #include "model/CreateUserRequest.h" #include "model/CreateUserResult.h" -#include "model/CreateUserEvaluationsRequest.h" -#include "model/CreateUserEvaluationsResult.h" +#include "model/DeleteMeetingRequest.h" +#include "model/DeleteMeetingResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" -#include "model/ListCommoditiesRequest.h" -#include "model/ListCommoditiesResult.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/RemoveMeetingRequest.h" -#include "model/RemoveMeetingResult.h" +#include "model/GetMeetingRequest.h" +#include "model/GetMeetingResult.h" +#include "model/GetUserRequest.h" +#include "model/GetUserResult.h" +#include "model/JoinMeetingRequest.h" +#include "model/JoinMeetingResult.h" +#include "model/ListEvaluationsRequest.h" +#include "model/ListEvaluationsResult.h" +#include "model/ListMembersRequest.h" +#include "model/ListMembersResult.h" +#include "model/ListUsersRequest.h" +#include "model/ListUsersResult.h" namespace AlibabaCloud @@ -63,107 +55,83 @@ namespace AlibabaCloud class ALIBABACLOUD_ALIYUNCVC_EXPORT AliyuncvcClient : public RpcServiceClient { public: - typedef Outcome ActiveMeetingCodeOutcome; - typedef std::future ActiveMeetingCodeOutcomeCallable; - typedef std::function&)> ActiveMeetingCodeAsyncHandler; - typedef Outcome CheckMeetingCodeOutcome; - typedef std::future CheckMeetingCodeOutcomeCallable; - typedef std::function&)> CheckMeetingCodeAsyncHandler; + typedef Outcome ActiveMeetingOutcome; + typedef std::future ActiveMeetingOutcomeCallable; + typedef std::function&)> ActiveMeetingAsyncHandler; + typedef Outcome CreateEvaluationOutcome; + typedef std::future CreateEvaluationOutcomeCallable; + typedef std::function&)> CreateEvaluationAsyncHandler; typedef Outcome CreateMeetingOutcome; typedef std::future CreateMeetingOutcomeCallable; typedef std::function&)> CreateMeetingAsyncHandler; typedef Outcome CreateUserOutcome; typedef std::future CreateUserOutcomeCallable; typedef std::function&)> CreateUserAsyncHandler; - typedef Outcome CreateUserEvaluationsOutcome; - typedef std::future CreateUserEvaluationsOutcomeCallable; - typedef std::function&)> CreateUserEvaluationsAsyncHandler; + typedef Outcome DeleteMeetingOutcome; + typedef std::future DeleteMeetingOutcomeCallable; + typedef std::function&)> DeleteMeetingAsyncHandler; typedef Outcome DeleteUserOutcome; typedef std::future DeleteUserOutcomeCallable; typedef std::function&)> DeleteUserAsyncHandler; - typedef Outcome ListCommoditiesOutcome; - typedef std::future ListCommoditiesOutcomeCallable; - typedef std::function&)> ListCommoditiesAsyncHandler; - 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 RemoveMeetingOutcome; - typedef std::future RemoveMeetingOutcomeCallable; - typedef std::function&)> RemoveMeetingAsyncHandler; + typedef Outcome GetMeetingOutcome; + typedef std::future GetMeetingOutcomeCallable; + typedef std::function&)> GetMeetingAsyncHandler; + typedef Outcome GetUserOutcome; + typedef std::future GetUserOutcomeCallable; + typedef std::function&)> GetUserAsyncHandler; + typedef Outcome JoinMeetingOutcome; + typedef std::future JoinMeetingOutcomeCallable; + typedef std::function&)> JoinMeetingAsyncHandler; + typedef Outcome ListEvaluationsOutcome; + typedef std::future ListEvaluationsOutcomeCallable; + typedef std::function&)> ListEvaluationsAsyncHandler; + typedef Outcome ListMembersOutcome; + typedef std::future ListMembersOutcomeCallable; + typedef std::function&)> ListMembersAsyncHandler; + typedef Outcome ListUsersOutcome; + typedef std::future ListUsersOutcomeCallable; + typedef std::function&)> ListUsersAsyncHandler; AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration); AliyuncvcClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); AliyuncvcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~AliyuncvcClient(); - 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; - 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; + 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; + CreateEvaluationOutcome createEvaluation(const Model::CreateEvaluationRequest &request)const; + void createEvaluationAsync(const Model::CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateEvaluationOutcomeCallable createEvaluationCallable(const Model::CreateEvaluationRequest& request) const; CreateMeetingOutcome createMeeting(const Model::CreateMeetingRequest &request)const; void createMeetingAsync(const Model::CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMeetingOutcomeCallable createMeetingCallable(const Model::CreateMeetingRequest& request) const; 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; + DeleteMeetingOutcome deleteMeeting(const Model::DeleteMeetingRequest &request)const; + void deleteMeetingAsync(const Model::DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteMeetingOutcomeCallable deleteMeetingCallable(const Model::DeleteMeetingRequest& request) const; DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& 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; - 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; - 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; + GetMeetingOutcome getMeeting(const Model::GetMeetingRequest &request)const; + void getMeetingAsync(const Model::GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMeetingOutcomeCallable getMeetingCallable(const Model::GetMeetingRequest& request) const; + GetUserOutcome getUser(const Model::GetUserRequest &request)const; + void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const; + JoinMeetingOutcome joinMeeting(const Model::JoinMeetingRequest &request)const; + void joinMeetingAsync(const Model::JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinMeetingOutcomeCallable joinMeetingCallable(const Model::JoinMeetingRequest& 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; + ListMembersOutcome listMembers(const Model::ListMembersRequest &request)const; + void listMembersAsync(const Model::ListMembersRequest& request, const ListMembersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMembersOutcomeCallable listMembersCallable(const Model::ListMembersRequest& request) const; + ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const; + void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h similarity index 76% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h index 1214836eb..a5da975e0 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingRequest : public RpcServiceRequest { public: - ActiveMeetingCodeRequest(); - ~ActiveMeetingCodeRequest(); + ActiveMeetingRequest(); + ~ActiveMeetingRequest(); std::string getMeetingUUID()const; void setMeetingUUID(const std::string& meetingUUID); @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h similarity index 74% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h index db3696802..1ff8b9569 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_ #include #include @@ -29,19 +29,19 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingResult : public ServiceResult { public: struct MeetingInfo { std::string meetingCode; - long validDate; + long validTime; }; - ActiveMeetingCodeResult(); - explicit ActiveMeetingCodeResult(const std::string &payload); - ~ActiveMeetingCodeResult(); + ActiveMeetingResult(); + explicit ActiveMeetingResult(const std::string &payload); + ~ActiveMeetingResult(); MeetingInfo getMeetingInfo()const; std::string getMessage()const; int getErrorCode()const; @@ -59,4 +59,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h similarity index 78% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h index 70b47c4fd..8f9afc13a 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_ #include #include @@ -28,19 +28,19 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateEvaluationRequest : public RpcServiceRequest { public: - CreateUserEvaluationsRequest(); - ~CreateUserEvaluationsRequest(); + CreateEvaluationRequest(); + ~CreateEvaluationRequest(); + long getCreateTime()const; + void setCreateTime(long createTime); 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; @@ -55,9 +55,9 @@ namespace AlibabaCloud void setAppId(const std::string& appId); private: + long createTime_; std::string memo_; std::string description_; - long createDate_; std::string memberUUID_; std::string userId_; std::string evaluation_; @@ -69,4 +69,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h similarity index 72% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h index a0fc0b610..58af85a35 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateEvaluationResult : public ServiceResult { public: - CreateUserEvaluationsResult(); - explicit CreateUserEvaluationsResult(const std::string &payload); - ~CreateUserEvaluationsResult(); + CreateEvaluationResult(); + explicit CreateEvaluationResult(const std::string &payload); + ~CreateEvaluationResult(); std::string getMessage()const; std::string getErrorCode()const; bool getSuccess()const; @@ -52,4 +52,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_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 feab60c40..2e041d4e9 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud explicit CreateUserResult(const std::string &payload); ~CreateUserResult(); std::string getMessage()const; + std::string getUserId()const; int getErrorCode()const; bool getSuccess()const; @@ -45,6 +46,7 @@ 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/RemoveMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h similarity index 77% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h index 14e9cfd0b..c8cfbd229 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteMeetingRequest : public RpcServiceRequest { public: - RemoveMeetingRequest(); - ~RemoveMeetingRequest(); + DeleteMeetingRequest(); + ~DeleteMeetingRequest(); std::string getMeetingUUID()const; void setMeetingUUID(const std::string& meetingUUID); @@ -45,4 +45,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h similarity index 75% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h index 4e55380b3..d86174a57 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteMeetingResult : public ServiceResult { public: - RemoveMeetingResult(); - explicit RemoveMeetingResult(const std::string &payload); - ~RemoveMeetingResult(); + DeleteMeetingResult(); + explicit DeleteMeetingResult(const std::string &payload); + ~DeleteMeetingResult(); std::string getMessage()const; int getErrorCode()const; bool getSuccess()const; @@ -52,4 +52,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h similarity index 74% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h index 89cf050c7..46a4eefad 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingRequest : public RpcServiceRequest { public: - QueryMeetingInfoRequest(); - ~QueryMeetingInfoRequest(); + GetMeetingRequest(); + ~GetMeetingRequest(); std::string getMeetingUUID()const; void setMeetingUUID(const std::string& meetingUUID); @@ -45,4 +45,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h similarity index 77% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h index 9191ea420..af840197e 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingResult : public ServiceResult { public: struct MeetingInfo @@ -43,18 +43,18 @@ namespace AlibabaCloud std::string userAvatarUrl; }; std::string meetingCode; - long validDate; std::string meetingUUID; std::vector memberList; std::string userId; + long createTime; std::string meetingName; - long createDate; + long validTime; }; - QueryMeetingInfoResult(); - explicit QueryMeetingInfoResult(const std::string &payload); - ~QueryMeetingInfoResult(); + GetMeetingResult(); + explicit GetMeetingResult(const std::string &payload); + ~GetMeetingResult(); MeetingInfo getMeetingInfo()const; std::string getMessage()const; int getErrorCode()const; @@ -72,4 +72,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserRequest.h similarity index 74% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserRequest.h index 1b5306426..9b5b8d986 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetUserRequest : public RpcServiceRequest { public: - QueryIsvUserInfoRequest(); - ~QueryIsvUserInfoRequest(); + GetUserRequest(); + ~GetUserRequest(); std::string getUserId()const; void setUserId(const std::string& userId); @@ -45,4 +45,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserResult.h similarity index 78% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserResult.h index 0a9f1d541..1b96730c1 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetUserResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetUserResult : public ServiceResult { public: struct UserInfo @@ -48,9 +48,9 @@ namespace AlibabaCloud }; - QueryIsvUserInfoResult(); - explicit QueryIsvUserInfoResult(const std::string &payload); - ~QueryIsvUserInfoResult(); + GetUserResult(); + explicit GetUserResult(const std::string &payload); + ~GetUserResult(); std::string getMessage()const; UserInfo getUserInfo()const; int getErrorCode()const; @@ -68,4 +68,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h similarity index 76% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h index 30d7e1b7c..513c06dab 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingRequest : public RpcServiceRequest { public: - CheckMeetingCodeRequest(); - ~CheckMeetingCodeRequest(); + JoinMeetingRequest(); + ~JoinMeetingRequest(); std::string getMeetingCode()const; void setMeetingCode(const std::string& meetingCode); @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h similarity index 79% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h index 4f8c11b65..8c467fd68 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingResult : public ServiceResult { public: struct MeetingInfo @@ -51,9 +51,9 @@ namespace AlibabaCloud }; - CheckMeetingCodeResult(); - explicit CheckMeetingCodeResult(const std::string &payload); - ~CheckMeetingCodeResult(); + JoinMeetingResult(); + explicit JoinMeetingResult(const std::string &payload); + ~JoinMeetingResult(); MeetingInfo getMeetingInfo()const; std::string getMessage()const; int getErrorCode()const; @@ -71,4 +71,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h deleted file mode 100644 index 293713792..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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(); - - int getPageSize()const; - void setPageSize(int pageSize); - 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); - - private: - int pageSize_; - std::string endTime_; - std::string startTime_; - int pageNumber_; - - }; - } - } -} -#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 deleted file mode 100644 index 273024f24..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * 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/QueryUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h similarity index 72% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h index e76b368e9..a24dff7e3 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListEvaluationsRequest : public RpcServiceRequest { public: - QueryUserInfoRequest(); - ~QueryUserInfoRequest(); + ListEvaluationsRequest(); + ~ListEvaluationsRequest(); private: @@ -42,4 +42,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h similarity index 73% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h index ed81ae0c6..751c85ee2 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListEvaluationsResult : public ServiceResult { public: - QueryUserEvaluationResult(); - explicit QueryUserEvaluationResult(const std::string &payload); - ~QueryUserEvaluationResult(); + ListEvaluationsResult(); + explicit ListEvaluationsResult(const std::string &payload); + ~ListEvaluationsResult(); std::string getMessage()const; int getErrorCode()const; std::string getUserEvaluation()const; @@ -54,4 +54,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersRequest.h similarity index 74% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersRequest.h index e546596fd..7763e23e9 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListMembersRequest : public RpcServiceRequest { public: - QueryMemberRecordRequest(); - ~QueryMemberRecordRequest(); + ListMembersRequest(); + ~ListMembersRequest(); std::string getMeetingUUID()const; void setMeetingUUID(const std::string& meetingUUID); @@ -45,4 +45,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersResult.h similarity index 74% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersResult.h index b7e43b267..cd1ae0097 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListMembersResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListMembersResult : public ServiceResult { public: struct MeetingInfo @@ -37,23 +37,26 @@ namespace AlibabaCloud struct MemberRecord { std::string status; + std::string userName; std::string memberUUID; + long endTime; std::string userId; + long beginTime; }; std::string meetingCode; std::string userName; + std::vector memberInfos; std::string meetingUUID; std::string userId; + long createTime; std::string meetingName; - std::vector memberRecordsList; - long createDate; std::string memo; }; - QueryMemberRecordResult(); - explicit QueryMemberRecordResult(const std::string &payload); - ~QueryMemberRecordResult(); + ListMembersResult(); + explicit ListMembersResult(const std::string &payload); + ~ListMembersResult(); MeetingInfo getMeetingInfo()const; std::string getMessage()const; int getErrorCode()const; @@ -71,4 +74,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersRequest.h similarity index 70% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersRequest.h index 5693f25ac..ffe92bfd8 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_ #include #include @@ -28,24 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListUsersRequest : public RpcServiceRequest { public: - QueryUserListRequest(); - ~QueryUserListRequest(); + ListUsersRequest(); + ~ListUsersRequest(); int getPageSize()const; void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); + int getPageNumber()const; + void setPageNumber(int pageNumber); private: int pageSize_; - int pageNum_; + int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersResult.h similarity index 79% rename from aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h rename to aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersResult.h index 590c7d3c4..fd86ea184 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListUsersResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ -#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListUsersResult : public ServiceResult { public: struct Data @@ -42,7 +42,6 @@ namespace AlibabaCloud std::string userTel; long createTime; std::string userAvatarUrl; - std::string groupName1; std::string userEmail; std::string departName; std::string groupId; @@ -55,9 +54,9 @@ namespace AlibabaCloud }; - QueryUserListResult(); - explicit QueryUserListResult(const std::string &payload); - ~QueryUserListResult(); + ListUsersResult(); + explicit ListUsersResult(const std::string &payload); + ~ListUsersResult(); std::string getMessage()const; Data getData()const; int getErrorCode()const; @@ -75,4 +74,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_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 deleted file mode 100644 index beb071142..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 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 deleted file mode 100644 index 3ec4392cf..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 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 deleted file mode 100644 index 091857b16..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 deleted file mode 100644 index d3ade924f..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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 deleted file mode 100644 index 24d2c9c88..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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/QueryUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h deleted file mode 100644 index b27ba9d7b..000000000 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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/src/AliyuncvcClient.cc b/aliyuncvc/src/AliyuncvcClient.cc index 1b1d7d6f8..b86d3f8a0 100644 --- a/aliyuncvc/src/AliyuncvcClient.cc +++ b/aliyuncvc/src/AliyuncvcClient.cc @@ -51,72 +51,72 @@ AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::str AliyuncvcClient::~AliyuncvcClient() {} -AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const +AliyuncvcClient::ActiveMeetingOutcome AliyuncvcClient::activeMeeting(const ActiveMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ActiveMeetingCodeOutcome(endpointOutcome.error()); + return ActiveMeetingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result())); + return ActiveMeetingOutcome(ActiveMeetingResult(outcome.result())); else - return ActiveMeetingCodeOutcome(outcome.error()); + return ActiveMeetingOutcome(outcome.error()); } -void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::activeMeetingAsync(const ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, activeMeetingCode(request), context); + handler(this, request, activeMeeting(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const +AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCallable(const ActiveMeetingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->activeMeetingCode(request); + return this->activeMeeting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const +AliyuncvcClient::CreateEvaluationOutcome AliyuncvcClient::createEvaluation(const CreateEvaluationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CheckMeetingCodeOutcome(endpointOutcome.error()); + return CreateEvaluationOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result())); + return CreateEvaluationOutcome(CreateEvaluationResult(outcome.result())); else - return CheckMeetingCodeOutcome(outcome.error()); + return CreateEvaluationOutcome(outcome.error()); } -void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::createEvaluationAsync(const CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, checkMeetingCode(request), context); + handler(this, request, createEvaluation(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const +AliyuncvcClient::CreateEvaluationOutcomeCallable AliyuncvcClient::createEvaluationCallable(const CreateEvaluationRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->checkMeetingCode(request); + return this->createEvaluation(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -195,36 +195,36 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c return task->get_future(); } -AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const +AliyuncvcClient::DeleteMeetingOutcome AliyuncvcClient::deleteMeeting(const DeleteMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateUserEvaluationsOutcome(endpointOutcome.error()); + return DeleteMeetingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result())); + return DeleteMeetingOutcome(DeleteMeetingResult(outcome.result())); else - return CreateUserEvaluationsOutcome(outcome.error()); + return DeleteMeetingOutcome(outcome.error()); } -void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::deleteMeetingAsync(const DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createUserEvaluations(request), context); + handler(this, request, deleteMeeting(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const +AliyuncvcClient::DeleteMeetingOutcomeCallable AliyuncvcClient::deleteMeetingCallable(const DeleteMeetingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createUserEvaluations(request); + return this->deleteMeeting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -267,360 +267,216 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c return task->get_future(); } -AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const +AliyuncvcClient::GetMeetingOutcome AliyuncvcClient::getMeeting(const GetMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListCommoditiesOutcome(endpointOutcome.error()); + return GetMeetingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result())); + return GetMeetingOutcome(GetMeetingResult(outcome.result())); else - return ListCommoditiesOutcome(outcome.error()); + return GetMeetingOutcome(outcome.error()); } -void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::getMeetingAsync(const GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listCommodities(request), context); + handler(this, request, getMeeting(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const +AliyuncvcClient::GetMeetingOutcomeCallable AliyuncvcClient::getMeetingCallable(const GetMeetingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listCommodities(request); + return this->getMeeting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const +AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryIsvUserInfoOutcome(endpointOutcome.error()); + return GetUserOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result())); + return GetUserOutcome(GetUserResult(outcome.result())); else - return QueryIsvUserInfoOutcome(outcome.error()); + return GetUserOutcome(outcome.error()); } -void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::getUserAsync(const GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryIsvUserInfo(request), context); + handler(this, request, getUser(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const +AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const GetUserRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryIsvUserInfo(request); + return this->getUser(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const +AliyuncvcClient::JoinMeetingOutcome AliyuncvcClient::joinMeeting(const JoinMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryMeetingInfoOutcome(endpointOutcome.error()); + return JoinMeetingOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result())); + return JoinMeetingOutcome(JoinMeetingResult(outcome.result())); else - return QueryMeetingInfoOutcome(outcome.error()); + return JoinMeetingOutcome(outcome.error()); } -void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::joinMeetingAsync(const JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryMeetingInfo(request), context); + handler(this, request, joinMeeting(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const +AliyuncvcClient::JoinMeetingOutcomeCallable AliyuncvcClient::joinMeetingCallable(const JoinMeetingRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryMeetingInfo(request); + return this->joinMeeting(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const +AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryMemberRecordOutcome(endpointOutcome.error()); + return ListEvaluationsOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result())); + return ListEvaluationsOutcome(ListEvaluationsResult(outcome.result())); else - return QueryMemberRecordOutcome(outcome.error()); + return ListEvaluationsOutcome(outcome.error()); } -void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::listEvaluationsAsync(const ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryMemberRecord(request), context); + handler(this, request, listEvaluations(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const +AliyuncvcClient::ListEvaluationsOutcomeCallable AliyuncvcClient::listEvaluationsCallable(const ListEvaluationsRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryMemberRecord(request); + return this->listEvaluations(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const +AliyuncvcClient::ListMembersOutcome AliyuncvcClient::listMembers(const ListMembersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryStatisticsOutcome(endpointOutcome.error()); + return ListMembersOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result())); + return ListMembersOutcome(ListMembersResult(outcome.result())); else - return QueryStatisticsOutcome(outcome.error()); + return ListMembersOutcome(outcome.error()); } -void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::listMembersAsync(const ListMembersRequest& request, const ListMembersAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryStatistics(request), context); + handler(this, request, listMembers(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const +AliyuncvcClient::ListMembersOutcomeCallable AliyuncvcClient::listMembersCallable(const ListMembersRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryStatistics(request); + return this->listMembers(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const +AliyuncvcClient::ListUsersOutcome AliyuncvcClient::listUsers(const ListUsersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryUserBuyAttributeOutcome(endpointOutcome.error()); + return ListUsersOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result())); + return ListUsersOutcome(ListUsersResult(outcome.result())); else - return QueryUserBuyAttributeOutcome(outcome.error()); + return ListUsersOutcome(outcome.error()); } -void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr& context) const +void AliyuncvcClient::listUsersAsync(const ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryUserBuyAttribute(request), context); + handler(this, request, listUsers(request), context); }; asyncExecute(new Runnable(fn)); } -AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const +AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(const ListUsersRequest &request) const { - auto task = std::make_shared>( + 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::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); + return this->listUsers(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc b/aliyuncvc/src/model/ActiveMeetingRequest.cc similarity index 59% rename from aliyuncvc/src/model/ActiveMeetingCodeRequest.cc rename to aliyuncvc/src/model/ActiveMeetingRequest.cc index 9bbe4749e..428ffdd1e 100644 --- a/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc +++ b/aliyuncvc/src/model/ActiveMeetingRequest.cc @@ -14,36 +14,36 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest; +using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingRequest; -ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode") +ActiveMeetingRequest::ActiveMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ActiveMeeting") { setMethod(HttpRequest::Method::Post); } -ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest() +ActiveMeetingRequest::~ActiveMeetingRequest() {} -std::string ActiveMeetingCodeRequest::getMeetingUUID()const +std::string ActiveMeetingRequest::getMeetingUUID()const { return meetingUUID_; } -void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID) +void ActiveMeetingRequest::setMeetingUUID(const std::string& meetingUUID) { meetingUUID_ = meetingUUID; setCoreParameter("MeetingUUID", meetingUUID); } -std::string ActiveMeetingCodeRequest::getMeetingCode()const +std::string ActiveMeetingRequest::getMeetingCode()const { return meetingCode_; } -void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +void ActiveMeetingRequest::setMeetingCode(const std::string& meetingCode) { meetingCode_ = meetingCode; setCoreParameter("MeetingCode", meetingCode); diff --git a/aliyuncvc/src/model/ActiveMeetingCodeResult.cc b/aliyuncvc/src/model/ActiveMeetingResult.cc similarity index 68% rename from aliyuncvc/src/model/ActiveMeetingCodeResult.cc rename to aliyuncvc/src/model/ActiveMeetingResult.cc index 320d1b0aa..5d39d55ec 100644 --- a/aliyuncvc/src/model/ActiveMeetingCodeResult.cc +++ b/aliyuncvc/src/model/ActiveMeetingResult.cc @@ -14,34 +14,34 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -ActiveMeetingCodeResult::ActiveMeetingCodeResult() : +ActiveMeetingResult::ActiveMeetingResult() : ServiceResult() {} -ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) : +ActiveMeetingResult::ActiveMeetingResult(const std::string &payload) : ServiceResult() { parse(payload); } -ActiveMeetingCodeResult::~ActiveMeetingCodeResult() +ActiveMeetingResult::~ActiveMeetingResult() {} -void ActiveMeetingCodeResult::parse(const std::string &payload) +void ActiveMeetingResult::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["ValidTime"].isNull()) + meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString()); if(!meetingInfoNode["MeetingCode"].isNull()) meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); if(!value["ErrorCode"].isNull()) @@ -53,22 +53,22 @@ void ActiveMeetingCodeResult::parse(const std::string &payload) } -ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const +ActiveMeetingResult::MeetingInfo ActiveMeetingResult::getMeetingInfo()const { return meetingInfo_; } -std::string ActiveMeetingCodeResult::getMessage()const +std::string ActiveMeetingResult::getMessage()const { return message_; } -int ActiveMeetingCodeResult::getErrorCode()const +int ActiveMeetingResult::getErrorCode()const { return errorCode_; } -bool ActiveMeetingCodeResult::getSuccess()const +bool ActiveMeetingResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/CreateEvaluationRequest.cc b/aliyuncvc/src/model/CreateEvaluationRequest.cc new file mode 100644 index 000000000..015856925 --- /dev/null +++ b/aliyuncvc/src/model/CreateEvaluationRequest.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::CreateEvaluationRequest; + +CreateEvaluationRequest::CreateEvaluationRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateEvaluation") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateEvaluationRequest::~CreateEvaluationRequest() +{} + +long CreateEvaluationRequest::getCreateTime()const +{ + return createTime_; +} + +void CreateEvaluationRequest::setCreateTime(long createTime) +{ + createTime_ = createTime; + setCoreParameter("CreateTime", std::to_string(createTime)); +} + +std::string CreateEvaluationRequest::getMemo()const +{ + return memo_; +} + +void CreateEvaluationRequest::setMemo(const std::string& memo) +{ + memo_ = memo; + setCoreParameter("Memo", memo); +} + +std::string CreateEvaluationRequest::getDescription()const +{ + return description_; +} + +void CreateEvaluationRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateEvaluationRequest::getMemberUUID()const +{ + return memberUUID_; +} + +void CreateEvaluationRequest::setMemberUUID(const std::string& memberUUID) +{ + memberUUID_ = memberUUID; + setCoreParameter("MemberUUID", memberUUID); +} + +std::string CreateEvaluationRequest::getUserId()const +{ + return userId_; +} + +void CreateEvaluationRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setCoreParameter("UserId", userId); +} + +std::string CreateEvaluationRequest::getEvaluation()const +{ + return evaluation_; +} + +void CreateEvaluationRequest::setEvaluation(const std::string& evaluation) +{ + evaluation_ = evaluation; + setCoreParameter("Evaluation", evaluation); +} + +std::string CreateEvaluationRequest::getScore()const +{ + return score_; +} + +void CreateEvaluationRequest::setScore(const std::string& score) +{ + score_ = score; + setCoreParameter("Score", score); +} + +std::string CreateEvaluationRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void CreateEvaluationRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setCoreParameter("MeetingUUID", meetingUUID); +} + +std::string CreateEvaluationRequest::getAppId()const +{ + return appId_; +} + +void CreateEvaluationRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setCoreParameter("AppId", appId); +} + diff --git a/aliyuncvc/src/model/CreateUserEvaluationsResult.cc b/aliyuncvc/src/model/CreateEvaluationResult.cc similarity index 70% rename from aliyuncvc/src/model/CreateUserEvaluationsResult.cc rename to aliyuncvc/src/model/CreateEvaluationResult.cc index 63b87ffff..c864cd9aa 100644 --- a/aliyuncvc/src/model/CreateUserEvaluationsResult.cc +++ b/aliyuncvc/src/model/CreateEvaluationResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -CreateUserEvaluationsResult::CreateUserEvaluationsResult() : +CreateEvaluationResult::CreateEvaluationResult() : ServiceResult() {} -CreateUserEvaluationsResult::CreateUserEvaluationsResult(const std::string &payload) : +CreateEvaluationResult::CreateEvaluationResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateUserEvaluationsResult::~CreateUserEvaluationsResult() +CreateEvaluationResult::~CreateEvaluationResult() {} -void CreateUserEvaluationsResult::parse(const std::string &payload) +void CreateEvaluationResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -48,17 +48,17 @@ void CreateUserEvaluationsResult::parse(const std::string &payload) } -std::string CreateUserEvaluationsResult::getMessage()const +std::string CreateEvaluationResult::getMessage()const { return message_; } -std::string CreateUserEvaluationsResult::getErrorCode()const +std::string CreateEvaluationResult::getErrorCode()const { return errorCode_; } -bool CreateUserEvaluationsResult::getSuccess()const +bool CreateEvaluationResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/CreateMeetingRequest.cc b/aliyuncvc/src/model/CreateMeetingRequest.cc index 7f655a492..f3871b7a8 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-09-19", "CreateMeeting") + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeeting") { setMethod(HttpRequest::Method::Post); } diff --git a/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc b/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc deleted file mode 100644 index 285194776..000000000 --- a/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * 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; - setCoreParameter("Memo", memo); -} - -std::string CreateUserEvaluationsRequest::getDescription()const -{ - return description_; -} - -void CreateUserEvaluationsRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -long CreateUserEvaluationsRequest::getCreateDate()const -{ - return createDate_; -} - -void CreateUserEvaluationsRequest::setCreateDate(long createDate) -{ - createDate_ = createDate; - setCoreParameter("CreateDate", std::to_string(createDate)); -} - -std::string CreateUserEvaluationsRequest::getMemberUUID()const -{ - return memberUUID_; -} - -void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID) -{ - memberUUID_ = memberUUID; - setCoreParameter("MemberUUID", memberUUID); -} - -std::string CreateUserEvaluationsRequest::getUserId()const -{ - return userId_; -} - -void CreateUserEvaluationsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string CreateUserEvaluationsRequest::getEvaluation()const -{ - return evaluation_; -} - -void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation) -{ - evaluation_ = evaluation; - setCoreParameter("Evaluation", evaluation); -} - -std::string CreateUserEvaluationsRequest::getScore()const -{ - return score_; -} - -void CreateUserEvaluationsRequest::setScore(const std::string& score) -{ - score_ = score; - setCoreParameter("Score", score); -} - -std::string CreateUserEvaluationsRequest::getMeetingUUID()const -{ - return meetingUUID_; -} - -void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID) -{ - meetingUUID_ = meetingUUID; - setCoreParameter("MeetingUUID", meetingUUID); -} - -std::string CreateUserEvaluationsRequest::getAppId()const -{ - return appId_; -} - -void CreateUserEvaluationsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setCoreParameter("AppId", appId); -} - diff --git a/aliyuncvc/src/model/CreateUserRequest.cc b/aliyuncvc/src/model/CreateUserRequest.cc index 3ef2e7d95..a3cf0faad 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-09-19", "CreateUser") + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUser") { setMethod(HttpRequest::Method::Post); } diff --git a/aliyuncvc/src/model/CreateUserResult.cc b/aliyuncvc/src/model/CreateUserResult.cc index 193a354e2..977477dd5 100644 --- a/aliyuncvc/src/model/CreateUserResult.cc +++ b/aliyuncvc/src/model/CreateUserResult.cc @@ -45,6 +45,8 @@ 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(); } @@ -53,6 +55,11 @@ 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/RemoveMeetingRequest.cc b/aliyuncvc/src/model/DeleteMeetingRequest.cc similarity index 65% rename from aliyuncvc/src/model/RemoveMeetingRequest.cc rename to aliyuncvc/src/model/DeleteMeetingRequest.cc index 4036af75a..06229bf6c 100644 --- a/aliyuncvc/src/model/RemoveMeetingRequest.cc +++ b/aliyuncvc/src/model/DeleteMeetingRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest; +using AlibabaCloud::Aliyuncvc::Model::DeleteMeetingRequest; -RemoveMeetingRequest::RemoveMeetingRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting") +DeleteMeetingRequest::DeleteMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteMeeting") { setMethod(HttpRequest::Method::Post); } -RemoveMeetingRequest::~RemoveMeetingRequest() +DeleteMeetingRequest::~DeleteMeetingRequest() {} -std::string RemoveMeetingRequest::getMeetingUUID()const +std::string DeleteMeetingRequest::getMeetingUUID()const { return meetingUUID_; } -void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID) +void DeleteMeetingRequest::setMeetingUUID(const std::string& meetingUUID) { meetingUUID_ = meetingUUID; setCoreParameter("MeetingUUID", meetingUUID); diff --git a/aliyuncvc/src/model/RemoveMeetingResult.cc b/aliyuncvc/src/model/DeleteMeetingResult.cc similarity index 75% rename from aliyuncvc/src/model/RemoveMeetingResult.cc rename to aliyuncvc/src/model/DeleteMeetingResult.cc index 23f0e85c6..e558c434c 100644 --- a/aliyuncvc/src/model/RemoveMeetingResult.cc +++ b/aliyuncvc/src/model/DeleteMeetingResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -RemoveMeetingResult::RemoveMeetingResult() : +DeleteMeetingResult::DeleteMeetingResult() : ServiceResult() {} -RemoveMeetingResult::RemoveMeetingResult(const std::string &payload) : +DeleteMeetingResult::DeleteMeetingResult(const std::string &payload) : ServiceResult() { parse(payload); } -RemoveMeetingResult::~RemoveMeetingResult() +DeleteMeetingResult::~DeleteMeetingResult() {} -void RemoveMeetingResult::parse(const std::string &payload) +void DeleteMeetingResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -48,17 +48,17 @@ void RemoveMeetingResult::parse(const std::string &payload) } -std::string RemoveMeetingResult::getMessage()const +std::string DeleteMeetingResult::getMessage()const { return message_; } -int RemoveMeetingResult::getErrorCode()const +int DeleteMeetingResult::getErrorCode()const { return errorCode_; } -bool RemoveMeetingResult::getSuccess()const +bool DeleteMeetingResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/DeleteUserRequest.cc b/aliyuncvc/src/model/DeleteUserRequest.cc index 7afe1b794..07bac01c2 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-09-19", "DeleteUser") + RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteUser") { setMethod(HttpRequest::Method::Post); } diff --git a/aliyuncvc/src/model/QueryMeetingInfoRequest.cc b/aliyuncvc/src/model/GetMeetingRequest.cc similarity index 63% rename from aliyuncvc/src/model/QueryMeetingInfoRequest.cc rename to aliyuncvc/src/model/GetMeetingRequest.cc index c6cf4a2af..e3dc94415 100644 --- a/aliyuncvc/src/model/QueryMeetingInfoRequest.cc +++ b/aliyuncvc/src/model/GetMeetingRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest; +using AlibabaCloud::Aliyuncvc::Model::GetMeetingRequest; -QueryMeetingInfoRequest::QueryMeetingInfoRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo") +GetMeetingRequest::GetMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "GetMeeting") { setMethod(HttpRequest::Method::Post); } -QueryMeetingInfoRequest::~QueryMeetingInfoRequest() +GetMeetingRequest::~GetMeetingRequest() {} -std::string QueryMeetingInfoRequest::getMeetingUUID()const +std::string GetMeetingRequest::getMeetingUUID()const { return meetingUUID_; } -void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID) +void GetMeetingRequest::setMeetingUUID(const std::string& meetingUUID) { meetingUUID_ = meetingUUID; setCoreParameter("MeetingUUID", meetingUUID); diff --git a/aliyuncvc/src/model/QueryMeetingInfoResult.cc b/aliyuncvc/src/model/GetMeetingResult.cc similarity index 79% rename from aliyuncvc/src/model/QueryMeetingInfoResult.cc rename to aliyuncvc/src/model/GetMeetingResult.cc index 3fee93e16..ca4b41db2 100644 --- a/aliyuncvc/src/model/QueryMeetingInfoResult.cc +++ b/aliyuncvc/src/model/GetMeetingResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -QueryMeetingInfoResult::QueryMeetingInfoResult() : +GetMeetingResult::GetMeetingResult() : ServiceResult() {} -QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) : +GetMeetingResult::GetMeetingResult(const std::string &payload) : ServiceResult() { parse(payload); } -QueryMeetingInfoResult::~QueryMeetingInfoResult() +GetMeetingResult::~GetMeetingResult() {} -void QueryMeetingInfoResult::parse(const std::string &payload) +void GetMeetingResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -42,12 +42,12 @@ void QueryMeetingInfoResult::parse(const std::string &payload) 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["ValidTime"].isNull()) + meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString()); if(!meetingInfoNode["MeetingCode"].isNull()) meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); - if(!meetingInfoNode["CreateDate"].isNull()) - meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString()); + if(!meetingInfoNode["CreateTime"].isNull()) + meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString()); if(!meetingInfoNode["UserId"].isNull()) meetingInfo_.userId = meetingInfoNode["UserId"].asString(); if(!meetingInfoNode["MeetingUUID"].isNull()) @@ -77,22 +77,22 @@ void QueryMeetingInfoResult::parse(const std::string &payload) } -QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const +GetMeetingResult::MeetingInfo GetMeetingResult::getMeetingInfo()const { return meetingInfo_; } -std::string QueryMeetingInfoResult::getMessage()const +std::string GetMeetingResult::getMessage()const { return message_; } -int QueryMeetingInfoResult::getErrorCode()const +int GetMeetingResult::getErrorCode()const { return errorCode_; } -bool QueryMeetingInfoResult::getSuccess()const +bool GetMeetingResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc b/aliyuncvc/src/model/GetUserRequest.cc similarity index 63% rename from aliyuncvc/src/model/QueryIsvUserInfoRequest.cc rename to aliyuncvc/src/model/GetUserRequest.cc index 834bf1fec..d519e1444 100644 --- a/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc +++ b/aliyuncvc/src/model/GetUserRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest; +using AlibabaCloud::Aliyuncvc::Model::GetUserRequest; -QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo") +GetUserRequest::GetUserRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "GetUser") { setMethod(HttpRequest::Method::Post); } -QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest() +GetUserRequest::~GetUserRequest() {} -std::string QueryIsvUserInfoRequest::getUserId()const +std::string GetUserRequest::getUserId()const { return userId_; } -void QueryIsvUserInfoRequest::setUserId(const std::string& userId) +void GetUserRequest::setUserId(const std::string& userId) { userId_ = userId; setCoreParameter("UserId", userId); diff --git a/aliyuncvc/src/model/QueryIsvUserInfoResult.cc b/aliyuncvc/src/model/GetUserResult.cc similarity index 82% rename from aliyuncvc/src/model/QueryIsvUserInfoResult.cc rename to aliyuncvc/src/model/GetUserResult.cc index e1b855d61..76d1aafba 100644 --- a/aliyuncvc/src/model/QueryIsvUserInfoResult.cc +++ b/aliyuncvc/src/model/GetUserResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -QueryIsvUserInfoResult::QueryIsvUserInfoResult() : +GetUserResult::GetUserResult() : ServiceResult() {} -QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) : +GetUserResult::GetUserResult(const std::string &payload) : ServiceResult() { parse(payload); } -QueryIsvUserInfoResult::~QueryIsvUserInfoResult() +GetUserResult::~GetUserResult() {} -void QueryIsvUserInfoResult::parse(const std::string &payload) +void GetUserResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -71,22 +71,22 @@ void QueryIsvUserInfoResult::parse(const std::string &payload) } -std::string QueryIsvUserInfoResult::getMessage()const +std::string GetUserResult::getMessage()const { return message_; } -QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const +GetUserResult::UserInfo GetUserResult::getUserInfo()const { return userInfo_; } -int QueryIsvUserInfoResult::getErrorCode()const +int GetUserResult::getErrorCode()const { return errorCode_; } -bool QueryIsvUserInfoResult::getSuccess()const +bool GetUserResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/CheckMeetingCodeRequest.cc b/aliyuncvc/src/model/JoinMeetingRequest.cc similarity index 59% rename from aliyuncvc/src/model/CheckMeetingCodeRequest.cc rename to aliyuncvc/src/model/JoinMeetingRequest.cc index 49d667d53..c9ce285b7 100644 --- a/aliyuncvc/src/model/CheckMeetingCodeRequest.cc +++ b/aliyuncvc/src/model/JoinMeetingRequest.cc @@ -14,36 +14,36 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest; +using AlibabaCloud::Aliyuncvc::Model::JoinMeetingRequest; -CheckMeetingCodeRequest::CheckMeetingCodeRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode") +JoinMeetingRequest::JoinMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "JoinMeeting") { setMethod(HttpRequest::Method::Post); } -CheckMeetingCodeRequest::~CheckMeetingCodeRequest() +JoinMeetingRequest::~JoinMeetingRequest() {} -std::string CheckMeetingCodeRequest::getMeetingCode()const +std::string JoinMeetingRequest::getMeetingCode()const { return meetingCode_; } -void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +void JoinMeetingRequest::setMeetingCode(const std::string& meetingCode) { meetingCode_ = meetingCode; setCoreParameter("MeetingCode", meetingCode); } -std::string CheckMeetingCodeRequest::getUserId()const +std::string JoinMeetingRequest::getUserId()const { return userId_; } -void CheckMeetingCodeRequest::setUserId(const std::string& userId) +void JoinMeetingRequest::setUserId(const std::string& userId) { userId_ = userId; setCoreParameter("UserId", userId); diff --git a/aliyuncvc/src/model/CheckMeetingCodeResult.cc b/aliyuncvc/src/model/JoinMeetingResult.cc similarity index 82% rename from aliyuncvc/src/model/CheckMeetingCodeResult.cc rename to aliyuncvc/src/model/JoinMeetingResult.cc index cf83cd281..9bf36ee0a 100644 --- a/aliyuncvc/src/model/CheckMeetingCodeResult.cc +++ b/aliyuncvc/src/model/JoinMeetingResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -CheckMeetingCodeResult::CheckMeetingCodeResult() : +JoinMeetingResult::JoinMeetingResult() : ServiceResult() {} -CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) : +JoinMeetingResult::JoinMeetingResult(const std::string &payload) : ServiceResult() { parse(payload); } -CheckMeetingCodeResult::~CheckMeetingCodeResult() +JoinMeetingResult::~JoinMeetingResult() {} -void CheckMeetingCodeResult::parse(const std::string &payload) +void JoinMeetingResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -70,22 +70,22 @@ void CheckMeetingCodeResult::parse(const std::string &payload) } -CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const +JoinMeetingResult::MeetingInfo JoinMeetingResult::getMeetingInfo()const { return meetingInfo_; } -std::string CheckMeetingCodeResult::getMessage()const +std::string JoinMeetingResult::getMessage()const { return message_; } -int CheckMeetingCodeResult::getErrorCode()const +int JoinMeetingResult::getErrorCode()const { return errorCode_; } -bool CheckMeetingCodeResult::getSuccess()const +bool JoinMeetingResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/ListCommoditiesRequest.cc b/aliyuncvc/src/model/ListCommoditiesRequest.cc deleted file mode 100644 index 401f2f4f1..000000000 --- a/aliyuncvc/src/model/ListCommoditiesRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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() -{} - -int ListCommoditiesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListCommoditiesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListCommoditiesRequest::getEndTime()const -{ - return endTime_; -} - -void ListCommoditiesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setCoreParameter("EndTime", endTime); -} - -std::string ListCommoditiesRequest::getStartTime()const -{ - return startTime_; -} - -void ListCommoditiesRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setCoreParameter("StartTime", startTime); -} - -int ListCommoditiesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListCommoditiesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/aliyuncvc/src/model/ListCommoditiesResult.cc b/aliyuncvc/src/model/ListCommoditiesResult.cc deleted file mode 100644 index fbd55b6eb..000000000 --- a/aliyuncvc/src/model/ListCommoditiesResult.cc +++ /dev/null @@ -1,89 +0,0 @@ -/* - * 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/QueryUserInfoRequest.cc b/aliyuncvc/src/model/ListEvaluationsRequest.cc similarity index 69% rename from aliyuncvc/src/model/QueryUserInfoRequest.cc rename to aliyuncvc/src/model/ListEvaluationsRequest.cc index 4f2d5c3d6..205bd7d0f 100644 --- a/aliyuncvc/src/model/QueryUserInfoRequest.cc +++ b/aliyuncvc/src/model/ListEvaluationsRequest.cc @@ -14,16 +14,16 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest; +using AlibabaCloud::Aliyuncvc::Model::ListEvaluationsRequest; -QueryUserInfoRequest::QueryUserInfoRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo") +ListEvaluationsRequest::ListEvaluationsRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ListEvaluations") { setMethod(HttpRequest::Method::Post); } -QueryUserInfoRequest::~QueryUserInfoRequest() +ListEvaluationsRequest::~ListEvaluationsRequest() {} diff --git a/aliyuncvc/src/model/QueryUserEvaluationResult.cc b/aliyuncvc/src/model/ListEvaluationsResult.cc similarity index 71% rename from aliyuncvc/src/model/QueryUserEvaluationResult.cc rename to aliyuncvc/src/model/ListEvaluationsResult.cc index ae260d15b..29679a67a 100644 --- a/aliyuncvc/src/model/QueryUserEvaluationResult.cc +++ b/aliyuncvc/src/model/ListEvaluationsResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -QueryUserEvaluationResult::QueryUserEvaluationResult() : +ListEvaluationsResult::ListEvaluationsResult() : ServiceResult() {} -QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) : +ListEvaluationsResult::ListEvaluationsResult(const std::string &payload) : ServiceResult() { parse(payload); } -QueryUserEvaluationResult::~QueryUserEvaluationResult() +ListEvaluationsResult::~ListEvaluationsResult() {} -void QueryUserEvaluationResult::parse(const std::string &payload) +void ListEvaluationsResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -50,22 +50,22 @@ void QueryUserEvaluationResult::parse(const std::string &payload) } -std::string QueryUserEvaluationResult::getMessage()const +std::string ListEvaluationsResult::getMessage()const { return message_; } -int QueryUserEvaluationResult::getErrorCode()const +int ListEvaluationsResult::getErrorCode()const { return errorCode_; } -std::string QueryUserEvaluationResult::getUserEvaluation()const +std::string ListEvaluationsResult::getUserEvaluation()const { return userEvaluation_; } -bool QueryUserEvaluationResult::getSuccess()const +bool ListEvaluationsResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/QueryMemberRecordRequest.cc b/aliyuncvc/src/model/ListMembersRequest.cc similarity index 63% rename from aliyuncvc/src/model/QueryMemberRecordRequest.cc rename to aliyuncvc/src/model/ListMembersRequest.cc index 9065e2d47..2250b066a 100644 --- a/aliyuncvc/src/model/QueryMemberRecordRequest.cc +++ b/aliyuncvc/src/model/ListMembersRequest.cc @@ -14,25 +14,25 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest; +using AlibabaCloud::Aliyuncvc::Model::ListMembersRequest; -QueryMemberRecordRequest::QueryMemberRecordRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord") +ListMembersRequest::ListMembersRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ListMembers") { setMethod(HttpRequest::Method::Post); } -QueryMemberRecordRequest::~QueryMemberRecordRequest() +ListMembersRequest::~ListMembersRequest() {} -std::string QueryMemberRecordRequest::getMeetingUUID()const +std::string ListMembersRequest::getMeetingUUID()const { return meetingUUID_; } -void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID) +void ListMembersRequest::setMeetingUUID(const std::string& meetingUUID) { meetingUUID_ = meetingUUID; setCoreParameter("MeetingUUID", meetingUUID); diff --git a/aliyuncvc/src/model/QueryMemberRecordResult.cc b/aliyuncvc/src/model/ListMembersResult.cc similarity index 53% rename from aliyuncvc/src/model/QueryMemberRecordResult.cc rename to aliyuncvc/src/model/ListMembersResult.cc index 901fbcb4c..d06e7bc1b 100644 --- a/aliyuncvc/src/model/QueryMemberRecordResult.cc +++ b/aliyuncvc/src/model/ListMembersResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -QueryMemberRecordResult::QueryMemberRecordResult() : +ListMembersResult::ListMembersResult() : ServiceResult() {} -QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) : +ListMembersResult::ListMembersResult(const std::string &payload) : ServiceResult() { parse(payload); } -QueryMemberRecordResult::~QueryMemberRecordResult() +ListMembersResult::~ListMembersResult() {} -void QueryMemberRecordResult::parse(const std::string &payload) +void ListMembersResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -48,23 +48,29 @@ void QueryMemberRecordResult::parse(const std::string &payload) 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["CreateTime"].isNull()) + meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString()); if(!meetingInfoNode["UserId"].isNull()) meetingInfo_.userId = meetingInfoNode["UserId"].asString(); if(!meetingInfoNode["MeetingUUID"].isNull()) meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); - auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"]; - for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode) + auto allMemberInfosNode = meetingInfoNode["MemberInfos"]["MemberRecord"]; + for (auto meetingInfoNodeMemberInfosMemberRecord : allMemberInfosNode) { 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(!meetingInfoNodeMemberInfosMemberRecord["MemberUUID"].isNull()) + memberRecordObject.memberUUID = meetingInfoNodeMemberInfosMemberRecord["MemberUUID"].asString(); + if(!meetingInfoNodeMemberInfosMemberRecord["UserId"].isNull()) + memberRecordObject.userId = meetingInfoNodeMemberInfosMemberRecord["UserId"].asString(); + if(!meetingInfoNodeMemberInfosMemberRecord["Status"].isNull()) + memberRecordObject.status = meetingInfoNodeMemberInfosMemberRecord["Status"].asString(); + if(!meetingInfoNodeMemberInfosMemberRecord["BeginTime"].isNull()) + memberRecordObject.beginTime = std::stol(meetingInfoNodeMemberInfosMemberRecord["BeginTime"].asString()); + if(!meetingInfoNodeMemberInfosMemberRecord["EndTime"].isNull()) + memberRecordObject.endTime = std::stol(meetingInfoNodeMemberInfosMemberRecord["EndTime"].asString()); + if(!meetingInfoNodeMemberInfosMemberRecord["UserName"].isNull()) + memberRecordObject.userName = meetingInfoNodeMemberInfosMemberRecord["UserName"].asString(); + meetingInfo_.memberInfos.push_back(memberRecordObject); } if(!value["ErrorCode"].isNull()) errorCode_ = std::stoi(value["ErrorCode"].asString()); @@ -75,22 +81,22 @@ void QueryMemberRecordResult::parse(const std::string &payload) } -QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const +ListMembersResult::MeetingInfo ListMembersResult::getMeetingInfo()const { return meetingInfo_; } -std::string QueryMemberRecordResult::getMessage()const +std::string ListMembersResult::getMessage()const { return message_; } -int QueryMemberRecordResult::getErrorCode()const +int ListMembersResult::getErrorCode()const { return errorCode_; } -bool QueryMemberRecordResult::getSuccess()const +bool ListMembersResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/QueryUserListRequest.cc b/aliyuncvc/src/model/ListUsersRequest.cc similarity index 57% rename from aliyuncvc/src/model/QueryUserListRequest.cc rename to aliyuncvc/src/model/ListUsersRequest.cc index 71b8007cd..d9396deb1 100644 --- a/aliyuncvc/src/model/QueryUserListRequest.cc +++ b/aliyuncvc/src/model/ListUsersRequest.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest; +using AlibabaCloud::Aliyuncvc::Model::ListUsersRequest; -QueryUserListRequest::QueryUserListRequest() : - RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList") +ListUsersRequest::ListUsersRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ListUsers") { setMethod(HttpRequest::Method::Post); } -QueryUserListRequest::~QueryUserListRequest() +ListUsersRequest::~ListUsersRequest() {} -int QueryUserListRequest::getPageSize()const +int ListUsersRequest::getPageSize()const { return pageSize_; } -void QueryUserListRequest::setPageSize(int pageSize) +void ListUsersRequest::setPageSize(int pageSize) { pageSize_ = pageSize; setCoreParameter("PageSize", std::to_string(pageSize)); } -int QueryUserListRequest::getPageNum()const +int ListUsersRequest::getPageNumber()const { - return pageNum_; + return pageNumber_; } -void QueryUserListRequest::setPageNum(int pageNum) +void ListUsersRequest::setPageNumber(int pageNumber) { - pageNum_ = pageNum; - setCoreParameter("PageNum", std::to_string(pageNum)); + pageNumber_ = pageNumber; + setCoreParameter("PageNumber", std::to_string(pageNumber)); } diff --git a/aliyuncvc/src/model/QueryUserListResult.cc b/aliyuncvc/src/model/ListUsersResult.cc similarity index 83% rename from aliyuncvc/src/model/QueryUserListResult.cc rename to aliyuncvc/src/model/ListUsersResult.cc index a722eb2ee..4fa3585f7 100644 --- a/aliyuncvc/src/model/QueryUserListResult.cc +++ b/aliyuncvc/src/model/ListUsersResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Aliyuncvc; using namespace AlibabaCloud::Aliyuncvc::Model; -QueryUserListResult::QueryUserListResult() : +ListUsersResult::ListUsersResult() : ServiceResult() {} -QueryUserListResult::QueryUserListResult(const std::string &payload) : +ListUsersResult::ListUsersResult(const std::string &payload) : ServiceResult() { parse(payload); } -QueryUserListResult::~QueryUserListResult() +ListUsersResult::~ListUsersResult() {} -void QueryUserListResult::parse(const std::string &payload) +void ListUsersResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -58,8 +58,6 @@ void QueryUserListResult::parse(const std::string &payload) 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()) @@ -83,22 +81,22 @@ void QueryUserListResult::parse(const std::string &payload) } -std::string QueryUserListResult::getMessage()const +std::string ListUsersResult::getMessage()const { return message_; } -QueryUserListResult::Data QueryUserListResult::getData()const +ListUsersResult::Data ListUsersResult::getData()const { return data_; } -int QueryUserListResult::getErrorCode()const +int ListUsersResult::getErrorCode()const { return errorCode_; } -bool QueryUserListResult::getSuccess()const +bool ListUsersResult::getSuccess()const { return success_; } diff --git a/aliyuncvc/src/model/QueryStatisticsRequest.cc b/aliyuncvc/src/model/QueryStatisticsRequest.cc deleted file mode 100644 index f1fecd1e9..000000000 --- a/aliyuncvc/src/model/QueryStatisticsRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 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; - setCoreParameter("EndTime", endTime); -} - -std::string QueryStatisticsRequest::getStartTime()const -{ - return startTime_; -} - -void QueryStatisticsRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setCoreParameter("StartTime", startTime); -} - diff --git a/aliyuncvc/src/model/QueryStatisticsResult.cc b/aliyuncvc/src/model/QueryStatisticsResult.cc deleted file mode 100644 index 87abeb452..000000000 --- a/aliyuncvc/src/model/QueryStatisticsResult.cc +++ /dev/null @@ -1,92 +0,0 @@ -/* - * 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 deleted file mode 100644 index 98466991e..000000000 --- a/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 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 deleted file mode 100644 index ac736f21d..000000000 --- a/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * 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 deleted file mode 100644 index 87bbd5daf..000000000 --- a/aliyuncvc/src/model/QueryUserEvaluationRequest.cc +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 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/QueryUserInfoResult.cc b/aliyuncvc/src/model/QueryUserInfoResult.cc deleted file mode 100644 index bda569e41..000000000 --- a/aliyuncvc/src/model/QueryUserInfoResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * 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_; -} -