diff --git a/CHANGELOG b/CHANGELOG index 44696b50a..40b02be0d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +2019-10-25 Version 1.36.161 +- Initial construction. +- Public beta version. +- Supported AliyunController for Interface. +- Supported ConsoleController for Interface. +- Supported AccountController for Interface. + 2019-10-25 Version 1.36.160 - Supported query push records. diff --git a/VERSION b/VERSION index 4129660f2..d552fdf2a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.160 \ No newline at end of file +1.36.161 \ No newline at end of file diff --git a/aliyuncvc/CMakeLists.txt b/aliyuncvc/CMakeLists.txt new file mode 100644 index 000000000..983c18745 --- /dev/null +++ b/aliyuncvc/CMakeLists.txt @@ -0,0 +1,146 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(aliyuncvc_public_header + include/alibabacloud/aliyuncvc/AliyuncvcClient.h + 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/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/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 ) + +set(aliyuncvc_src + src/AliyuncvcClient.cc + src/model/ActiveMeetingCodeRequest.cc + src/model/ActiveMeetingCodeResult.cc + src/model/CheckMeetingCodeRequest.cc + src/model/CheckMeetingCodeResult.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/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 ) + +add_library(aliyuncvc ${LIB_TYPE} + ${aliyuncvc_public_header} + ${aliyuncvc_public_header_model} + ${aliyuncvc_src}) + +set_target_properties(aliyuncvc + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}aliyuncvc + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(aliyuncvc + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_ALIYUNCVC_LIBRARY) +endif() + +target_include_directories(aliyuncvc + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(aliyuncvc + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(aliyuncvc + jsoncpp) + target_include_directories(aliyuncvc + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(aliyuncvc + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(aliyuncvc + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(aliyuncvc + PRIVATE /usr/include/jsoncpp) + target_link_libraries(aliyuncvc + jsoncpp) +endif() + +install(FILES ${aliyuncvc_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aliyuncvc) +install(FILES ${aliyuncvc_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aliyuncvc/model) +install(TARGETS aliyuncvc + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h new file mode 100644 index 000000000..a9dd7f7a0 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h @@ -0,0 +1,174 @@ +/* + * 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_ALIYUNCVCCLIENT_H_ +#define ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCCLIENT_H_ + +#include +#include +#include +#include +#include "AliyuncvcExport.h" +#include "model/ActiveMeetingCodeRequest.h" +#include "model/ActiveMeetingCodeResult.h" +#include "model/CheckMeetingCodeRequest.h" +#include "model/CheckMeetingCodeResult.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/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" + + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + 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 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 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; + + 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; + 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; + 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; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCCLIENT_H_ diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcExport.h b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcExport.h new file mode 100644 index 000000000..c43abe3ae --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcExport.h @@ -0,0 +1,32 @@ +/* + * 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_ALIYUNCVCEXPORT_H_ +#define ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_ALIYUNCVC_LIBRARY) +# define ALIBABACLOUD_ALIYUNCVC_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_ALIYUNCVC_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_ALIYUNCVC_EXPORT +#endif + +#endif // !ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCEXPORT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h new file mode 100644 index 000000000..1214836eb --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest + { + + public: + ActiveMeetingCodeRequest(); + ~ActiveMeetingCodeRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + + private: + std::string meetingUUID_; + std::string meetingCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h new file mode 100644 index 000000000..db3696802 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult + { + public: + struct MeetingInfo + { + std::string meetingCode; + long validDate; + }; + + + ActiveMeetingCodeResult(); + explicit ActiveMeetingCodeResult(const std::string &payload); + ~ActiveMeetingCodeResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h new file mode 100644 index 000000000..30d7e1b7c --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest + { + + public: + CheckMeetingCodeRequest(); + ~CheckMeetingCodeRequest(); + + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string meetingCode_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h new file mode 100644 index 000000000..4f8c11b65 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct SlsInfo + { + std::string project; + std::string logstore; + std::string logServiceEndpoint; + }; + SlsInfo slsInfo; + std::string meetingDomain; + std::string meetingCode; + std::string memberUUID; + std::string meetingUUID; + std::string clientAppId; + std::string meetingAppId; + std::string meetingToken; + }; + + + CheckMeetingCodeResult(); + explicit CheckMeetingCodeResult(const std::string &payload); + ~CheckMeetingCodeResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h new file mode 100644 index 000000000..06a14dfb3 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateMeetingRequest : public RpcServiceRequest + { + + public: + CreateMeetingRequest(); + ~CreateMeetingRequest(); + + std::string getMeetingName()const; + void setMeetingName(const std::string& meetingName); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string meetingName_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h new file mode 100644 index 000000000..a9bb3b97d --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateMeetingResult : public ServiceResult + { + public: + struct MeetingInfo + { + std::string meetingCode; + std::string meetingUUID; + }; + + + CreateMeetingResult(); + explicit CreateMeetingResult(const std::string &payload); + ~CreateMeetingResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h new file mode 100644 index 000000000..70b47c4fd --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest + { + + public: + CreateUserEvaluationsRequest(); + ~CreateUserEvaluationsRequest(); + + std::string getMemo()const; + void setMemo(const std::string& memo); + std::string getDescription()const; + void setDescription(const std::string& description); + long getCreateDate()const; + void setCreateDate(long createDate); + std::string getMemberUUID()const; + void setMemberUUID(const std::string& memberUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getEvaluation()const; + void setEvaluation(const std::string& evaluation); + std::string getScore()const; + void setScore(const std::string& score); + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getAppId()const; + void setAppId(const std::string& appId); + + private: + std::string memo_; + std::string description_; + long createDate_; + std::string memberUUID_; + std::string userId_; + std::string evaluation_; + std::string score_; + std::string meetingUUID_; + std::string appId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h new file mode 100644 index 000000000..a0fc0b610 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult + { + public: + + + CreateUserEvaluationsResult(); + explicit CreateUserEvaluationsResult(const std::string &payload); + ~CreateUserEvaluationsResult(); + std::string getMessage()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserRequest.h new file mode 100644 index 000000000..259ed5e0c --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserRequest : public RpcServiceRequest + { + + public: + CreateUserRequest(); + ~CreateUserRequest(); + + int getCount()const; + void setCount(int count); + std::string getUserInfo()const; + void setUserInfo(const std::string& userInfo); + + private: + int count_; + std::string userInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_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 new file mode 100644 index 000000000..feab60c40 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserResult : public ServiceResult + { + public: + + + CreateUserResult(); + explicit CreateUserResult(const std::string &payload); + ~CreateUserResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h new file mode 100644 index 000000000..43c5db68a --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteUserRequest : public RpcServiceRequest + { + + public: + DeleteUserRequest(); + ~DeleteUserRequest(); + + int getCount()const; + void setCount(int count); + std::string getUserInfo()const; + void setUserInfo(const std::string& userInfo); + + private: + int count_; + std::string userInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserResult.h new file mode 100644 index 000000000..5f45d54d4 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteUserResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteUserResult : public ServiceResult + { + public: + + + DeleteUserResult(); + explicit DeleteUserResult(const std::string &payload); + ~DeleteUserResult(); + std::string getMessage()const; + int getErrorCode()const; + std::string getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::string success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERRESULT_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 new file mode 100644 index 000000000..293713792 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesRequest : public RpcServiceRequest + { + + public: + ListCommoditiesRequest(); + ~ListCommoditiesRequest(); + + 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 new file mode 100644 index 000000000..273024f24 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesResult : public ServiceResult + { + public: + struct Data + { + struct Commodity + { + std::string endTime; + std::string startTime; + std::string instancepropertyvalue; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector commodities; + }; + + + ListCommoditiesResult(); + explicit ListCommoditiesResult(const std::string &payload); + ~ListCommoditiesResult(); + std::string getMessage()const; + Data getData()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h new file mode 100644 index 000000000..1b5306426 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest + { + + public: + QueryIsvUserInfoRequest(); + ~QueryIsvUserInfoRequest(); + + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h new file mode 100644 index 000000000..0a9f1d541 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult + { + public: + struct UserInfo + { + std::string groupName; + std::string userMobile; + std::string userName; + std::string userTel; + std::string userId; + long createTime; + std::string userAvatarUrl; + std::string userEmail; + std::string departName; + std::string groupId; + std::string departId; + }; + + + QueryIsvUserInfoResult(); + explicit QueryIsvUserInfoResult(const std::string &payload); + ~QueryIsvUserInfoResult(); + std::string getMessage()const; + UserInfo getUserInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + UserInfo userInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h new file mode 100644 index 000000000..89cf050c7 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest + { + + public: + QueryMeetingInfoRequest(); + ~QueryMeetingInfoRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h new file mode 100644 index 000000000..9191ea420 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct MemberListItem + { + std::string status; + std::string userName; + std::string memberUUID; + std::string userId; + std::string userAvatarUrl; + }; + std::string meetingCode; + long validDate; + std::string meetingUUID; + std::vector memberList; + std::string userId; + std::string meetingName; + long createDate; + }; + + + QueryMeetingInfoResult(); + explicit QueryMeetingInfoResult(const std::string &payload); + ~QueryMeetingInfoResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h new file mode 100644 index 000000000..e546596fd --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest + { + + public: + QueryMemberRecordRequest(); + ~QueryMemberRecordRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h new file mode 100644 index 000000000..b7e43b267 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct MemberRecord + { + std::string status; + std::string memberUUID; + std::string userId; + }; + std::string meetingCode; + std::string userName; + std::string meetingUUID; + std::string userId; + std::string meetingName; + std::vector memberRecordsList; + long createDate; + std::string memo; + }; + + + QueryMemberRecordResult(); + explicit QueryMemberRecordResult(const std::string &payload); + ~QueryMemberRecordResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h new file mode 100644 index 000000000..beb071142 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsRequest : public RpcServiceRequest + { + + public: + QueryStatisticsRequest(); + ~QueryStatisticsRequest(); + + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + + private: + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h new file mode 100644 index 000000000..3ec4392cf --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsResult : public ServiceResult + { + public: + struct Data + { + struct Total + { + int meetingNum; + int meetingLength; + int memberNum; + }; + struct DayInfoItem + { + std::string meetingNum; + std::string meetingLength; + std::string day; + std::string memberNum; + }; + std::vector dayInfo; + Total total; + }; + + + QueryStatisticsResult(); + explicit QueryStatisticsResult(const std::string &payload); + ~QueryStatisticsResult(); + std::string getMessage()const; + Data getData()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h new file mode 100644 index 000000000..091857b16 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeRequest : public RpcServiceRequest + { + + public: + QueryUserBuyAttributeRequest(); + ~QueryUserBuyAttributeRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h new file mode 100644 index 000000000..d3ade924f --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult + { + public: + + + QueryUserBuyAttributeResult(); + explicit QueryUserBuyAttributeResult(const std::string &payload); + ~QueryUserBuyAttributeResult(); + std::string getMessage()const; + bool getUserBuyAttribute()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + bool userBuyAttribute_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h new file mode 100644 index 000000000..24d2c9c88 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest + { + + public: + QueryUserEvaluationRequest(); + ~QueryUserEvaluationRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h new file mode 100644 index 000000000..ed81ae0c6 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult + { + public: + + + QueryUserEvaluationResult(); + explicit QueryUserEvaluationResult(const std::string &payload); + ~QueryUserEvaluationResult(); + std::string getMessage()const; + int getErrorCode()const; + std::string getUserEvaluation()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::string userEvaluation_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h new file mode 100644 index 000000000..e76b368e9 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest + { + + public: + QueryUserInfoRequest(); + ~QueryUserInfoRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h new file mode 100644 index 000000000..b27ba9d7b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoResult : public ServiceResult + { + public: + struct UserInfo + { + int maxNum; + int memberConcurrentMax; + int curNum; + }; + + + QueryUserInfoResult(); + explicit QueryUserInfoResult(const std::string &payload); + ~QueryUserInfoResult(); + std::string getMessage()const; + UserInfo getUserInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + UserInfo userInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h new file mode 100644 index 000000000..5693f25ac --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest + { + + public: + QueryUserListRequest(); + ~QueryUserListRequest(); + + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNum()const; + void setPageNum(int pageNum); + + private: + int pageSize_; + int pageNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h new file mode 100644 index 000000000..590c7d3c4 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/QueryUserListResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult + { + public: + struct Data + { + struct UserInfo + { + std::string groupName; + std::string userMobile; + std::string userName; + std::string userTel; + long createTime; + std::string userAvatarUrl; + std::string groupName1; + std::string userEmail; + std::string departName; + std::string groupId; + std::string departId; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector userInfos; + }; + + + QueryUserListResult(); + explicit QueryUserListResult(const std::string &payload); + ~QueryUserListResult(); + std::string getMessage()const; + Data getData()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Data data_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h new file mode 100644 index 000000000..14e9cfd0b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest + { + + public: + RemoveMeetingRequest(); + ~RemoveMeetingRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h new file mode 100644 index 000000000..4e55380b3 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult + { + public: + + + RemoveMeetingResult(); + explicit RemoveMeetingResult(const std::string &payload); + ~RemoveMeetingResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/src/AliyuncvcClient.cc b/aliyuncvc/src/AliyuncvcClient.cc new file mode 100644 index 000000000..1b1d7d6f8 --- /dev/null +++ b/aliyuncvc/src/AliyuncvcClient.cc @@ -0,0 +1,629 @@ +/* + * 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; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +namespace +{ + const std::string SERVICE_NAME = "aliyuncvc"; +} + +AliyuncvcClient::AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc"); +} + +AliyuncvcClient::AliyuncvcClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc"); +} + +AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc"); +} + +AliyuncvcClient::~AliyuncvcClient() +{} + +AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ActiveMeetingCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result())); + else + return ActiveMeetingCodeOutcome(outcome.error()); +} + +void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, activeMeetingCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->activeMeetingCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckMeetingCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result())); + else + return CheckMeetingCodeOutcome(outcome.error()); +} + +void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkMeetingCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkMeetingCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::CreateMeetingOutcome AliyuncvcClient::createMeeting(const CreateMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMeetingOutcome(CreateMeetingResult(outcome.result())); + else + return CreateMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::createMeetingAsync(const CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateMeetingOutcomeCallable AliyuncvcClient::createMeetingCallable(const CreateMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::CreateUserOutcome AliyuncvcClient::createUser(const CreateUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserOutcome(CreateUserResult(outcome.result())); + else + return CreateUserOutcome(outcome.error()); +} + +void AliyuncvcClient::createUserAsync(const CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(const CreateUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserEvaluationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result())); + else + return CreateUserEvaluationsOutcome(outcome.error()); +} + +void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserEvaluations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserEvaluations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::DeleteUserOutcome AliyuncvcClient::deleteUser(const DeleteUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteUserOutcome(DeleteUserResult(outcome.result())); + else + return DeleteUserOutcome(outcome.error()); +} + +void AliyuncvcClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(const DeleteUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCommoditiesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result())); + else + return ListCommoditiesOutcome(outcome.error()); +} + +void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCommodities(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCommodities(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryIsvUserInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result())); + else + return QueryIsvUserInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryIsvUserInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryIsvUserInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMeetingInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result())); + else + return QueryMeetingInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMeetingInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMeetingInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMemberRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result())); + else + return QueryMemberRecordOutcome(outcome.error()); +} + +void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMemberRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMemberRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result())); + else + return QueryStatisticsOutcome(outcome.error()); +} + +void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserBuyAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result())); + else + return QueryUserBuyAttributeOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserBuyAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserBuyAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserEvaluationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result())); + else + return QueryUserEvaluationOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserEvaluation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserEvaluation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result())); + else + return QueryUserInfoOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryUserListOutcome(QueryUserListResult(outcome.result())); + else + return QueryUserListOutcome(outcome.error()); +} + +void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result())); + else + return RemoveMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc b/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc new file mode 100644 index 000000000..9bbe4749e --- /dev/null +++ b/aliyuncvc/src/model/ActiveMeetingCodeRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest; + +ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode") +{ + setMethod(HttpRequest::Method::Post); +} + +ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest() +{} + +std::string ActiveMeetingCodeRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setCoreParameter("MeetingUUID", meetingUUID); +} + +std::string ActiveMeetingCodeRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setCoreParameter("MeetingCode", meetingCode); +} + diff --git a/aliyuncvc/src/model/ActiveMeetingCodeResult.cc b/aliyuncvc/src/model/ActiveMeetingCodeResult.cc new file mode 100644 index 000000000..320d1b0aa --- /dev/null +++ b/aliyuncvc/src/model/ActiveMeetingCodeResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ActiveMeetingCodeResult::ActiveMeetingCodeResult() : + ServiceResult() +{} + +ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ActiveMeetingCodeResult::~ActiveMeetingCodeResult() +{} + +void ActiveMeetingCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["ValidDate"].isNull()) + meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString()); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string ActiveMeetingCodeResult::getMessage()const +{ + return message_; +} + +int ActiveMeetingCodeResult::getErrorCode()const +{ + return errorCode_; +} + +bool ActiveMeetingCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CheckMeetingCodeRequest.cc b/aliyuncvc/src/model/CheckMeetingCodeRequest.cc new file mode 100644 index 000000000..49d667d53 --- /dev/null +++ b/aliyuncvc/src/model/CheckMeetingCodeRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest; + +CheckMeetingCodeRequest::CheckMeetingCodeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckMeetingCodeRequest::~CheckMeetingCodeRequest() +{} + +std::string CheckMeetingCodeRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setCoreParameter("MeetingCode", meetingCode); +} + +std::string CheckMeetingCodeRequest::getUserId()const +{ + return userId_; +} + +void CheckMeetingCodeRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setCoreParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/CheckMeetingCodeResult.cc b/aliyuncvc/src/model/CheckMeetingCodeResult.cc new file mode 100644 index 000000000..cf83cd281 --- /dev/null +++ b/aliyuncvc/src/model/CheckMeetingCodeResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CheckMeetingCodeResult::CheckMeetingCodeResult() : + ServiceResult() +{} + +CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckMeetingCodeResult::~CheckMeetingCodeResult() +{} + +void CheckMeetingCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingDomain"].isNull()) + meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString(); + if(!meetingInfoNode["MeetingToken"].isNull()) + meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MemberUUID"].isNull()) + meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString(); + if(!meetingInfoNode["ClientAppId"].isNull()) + meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["MeetingAppId"].isNull()) + meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString(); + auto slsInfoNode = meetingInfoNode["SlsInfo"]; + if(!slsInfoNode["LogServiceEndpoint"].isNull()) + meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString(); + if(!slsInfoNode["Logstore"].isNull()) + meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString(); + if(!slsInfoNode["Project"].isNull()) + meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string CheckMeetingCodeResult::getMessage()const +{ + return message_; +} + +int CheckMeetingCodeResult::getErrorCode()const +{ + return errorCode_; +} + +bool CheckMeetingCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateMeetingRequest.cc b/aliyuncvc/src/model/CreateMeetingRequest.cc new file mode 100644 index 000000000..7f655a492 --- /dev/null +++ b/aliyuncvc/src/model/CreateMeetingRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest; + +CreateMeetingRequest::CreateMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateMeetingRequest::~CreateMeetingRequest() +{} + +std::string CreateMeetingRequest::getMeetingName()const +{ + return meetingName_; +} + +void CreateMeetingRequest::setMeetingName(const std::string& meetingName) +{ + meetingName_ = meetingName; + setCoreParameter("MeetingName", meetingName); +} + +std::string CreateMeetingRequest::getUserId()const +{ + return userId_; +} + +void CreateMeetingRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setCoreParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/CreateMeetingResult.cc b/aliyuncvc/src/model/CreateMeetingResult.cc new file mode 100644 index 000000000..b494fc111 --- /dev/null +++ b/aliyuncvc/src/model/CreateMeetingResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateMeetingResult::CreateMeetingResult() : + ServiceResult() +{} + +CreateMeetingResult::CreateMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMeetingResult::~CreateMeetingResult() +{} + +void CreateMeetingResult::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["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].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"; + +} + +CreateMeetingResult::MeetingInfo CreateMeetingResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string CreateMeetingResult::getMessage()const +{ + return message_; +} + +int CreateMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateMeetingResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc b/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc new file mode 100644 index 000000000..285194776 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserEvaluationsRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::CreateUserEvaluationsRequest; + +CreateUserEvaluationsRequest::CreateUserEvaluationsRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUserEvaluations") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserEvaluationsRequest::~CreateUserEvaluationsRequest() +{} + +std::string CreateUserEvaluationsRequest::getMemo()const +{ + return memo_; +} + +void CreateUserEvaluationsRequest::setMemo(const std::string& memo) +{ + memo_ = memo; + 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/CreateUserEvaluationsResult.cc b/aliyuncvc/src/model/CreateUserEvaluationsResult.cc new file mode 100644 index 000000000..63b87ffff --- /dev/null +++ b/aliyuncvc/src/model/CreateUserEvaluationsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateUserEvaluationsResult::CreateUserEvaluationsResult() : + ServiceResult() +{} + +CreateUserEvaluationsResult::CreateUserEvaluationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserEvaluationsResult::~CreateUserEvaluationsResult() +{} + +void CreateUserEvaluationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateUserEvaluationsResult::getMessage()const +{ + return message_; +} + +std::string CreateUserEvaluationsResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateUserEvaluationsResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateUserRequest.cc b/aliyuncvc/src/model/CreateUserRequest.cc new file mode 100644 index 000000000..3ef2e7d95 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::CreateUserRequest; + +CreateUserRequest::CreateUserRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUser") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserRequest::~CreateUserRequest() +{} + +int CreateUserRequest::getCount()const +{ + return count_; +} + +void CreateUserRequest::setCount(int count) +{ + count_ = count; + setCoreParameter("Count", std::to_string(count)); +} + +std::string CreateUserRequest::getUserInfo()const +{ + return userInfo_; +} + +void CreateUserRequest::setUserInfo(const std::string& userInfo) +{ + userInfo_ = userInfo; + setCoreParameter("UserInfo", userInfo); +} + diff --git a/aliyuncvc/src/model/CreateUserResult.cc b/aliyuncvc/src/model/CreateUserResult.cc new file mode 100644 index 000000000..193a354e2 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateUserResult::CreateUserResult() : + ServiceResult() +{} + +CreateUserResult::CreateUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserResult::~CreateUserResult() +{} + +void CreateUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateUserResult::getMessage()const +{ + return message_; +} + +int CreateUserResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateUserResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/DeleteUserRequest.cc b/aliyuncvc/src/model/DeleteUserRequest.cc new file mode 100644 index 000000000..7afe1b794 --- /dev/null +++ b/aliyuncvc/src/model/DeleteUserRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::DeleteUserRequest; + +DeleteUserRequest::DeleteUserRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "DeleteUser") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteUserRequest::~DeleteUserRequest() +{} + +int DeleteUserRequest::getCount()const +{ + return count_; +} + +void DeleteUserRequest::setCount(int count) +{ + count_ = count; + setCoreParameter("Count", std::to_string(count)); +} + +std::string DeleteUserRequest::getUserInfo()const +{ + return userInfo_; +} + +void DeleteUserRequest::setUserInfo(const std::string& userInfo) +{ + userInfo_ = userInfo; + setCoreParameter("UserInfo", userInfo); +} + diff --git a/aliyuncvc/src/model/DeleteUserResult.cc b/aliyuncvc/src/model/DeleteUserResult.cc new file mode 100644 index 000000000..3323286a2 --- /dev/null +++ b/aliyuncvc/src/model/DeleteUserResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +DeleteUserResult::DeleteUserResult() : + ServiceResult() +{} + +DeleteUserResult::DeleteUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteUserResult::~DeleteUserResult() +{} + +void DeleteUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DeleteUserResult::getMessage()const +{ + return message_; +} + +int DeleteUserResult::getErrorCode()const +{ + return errorCode_; +} + +std::string DeleteUserResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/ListCommoditiesRequest.cc b/aliyuncvc/src/model/ListCommoditiesRequest.cc new file mode 100644 index 000000000..401f2f4f1 --- /dev/null +++ b/aliyuncvc/src/model/ListCommoditiesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::ListCommoditiesRequest; + +ListCommoditiesRequest::ListCommoditiesRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "ListCommodities") +{ + setMethod(HttpRequest::Method::Post); +} + +ListCommoditiesRequest::~ListCommoditiesRequest() +{} + +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 new file mode 100644 index 000000000..fbd55b6eb --- /dev/null +++ b/aliyuncvc/src/model/ListCommoditiesResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ListCommoditiesResult::ListCommoditiesResult() : + ServiceResult() +{} + +ListCommoditiesResult::ListCommoditiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCommoditiesResult::~ListCommoditiesResult() +{} + +void ListCommoditiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + auto allCommoditiesNode = dataNode["Commodities"]["Commodity"]; + for (auto dataNodeCommoditiesCommodity : allCommoditiesNode) + { + Data::Commodity commodityObject; + if(!dataNodeCommoditiesCommodity["EndTime"].isNull()) + commodityObject.endTime = dataNodeCommoditiesCommodity["EndTime"].asString(); + if(!dataNodeCommoditiesCommodity["Instancepropertyvalue"].isNull()) + commodityObject.instancepropertyvalue = dataNodeCommoditiesCommodity["Instancepropertyvalue"].asString(); + if(!dataNodeCommoditiesCommodity["StartTime"].isNull()) + commodityObject.startTime = dataNodeCommoditiesCommodity["StartTime"].asString(); + data_.commodities.push_back(commodityObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListCommoditiesResult::getMessage()const +{ + return message_; +} + +ListCommoditiesResult::Data ListCommoditiesResult::getData()const +{ + return data_; +} + +int ListCommoditiesResult::getErrorCode()const +{ + return errorCode_; +} + +bool ListCommoditiesResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc b/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc new file mode 100644 index 000000000..834bf1fec --- /dev/null +++ b/aliyuncvc/src/model/QueryIsvUserInfoRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest; + +QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest() +{} + +std::string QueryIsvUserInfoRequest::getUserId()const +{ + return userId_; +} + +void QueryIsvUserInfoRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setCoreParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/QueryIsvUserInfoResult.cc b/aliyuncvc/src/model/QueryIsvUserInfoResult.cc new file mode 100644 index 000000000..e1b855d61 --- /dev/null +++ b/aliyuncvc/src/model/QueryIsvUserInfoResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryIsvUserInfoResult::QueryIsvUserInfoResult() : + ServiceResult() +{} + +QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryIsvUserInfoResult::~QueryIsvUserInfoResult() +{} + +void QueryIsvUserInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto userInfoNode = value["UserInfo"]; + if(!userInfoNode["UserName"].isNull()) + userInfo_.userName = userInfoNode["UserName"].asString(); + if(!userInfoNode["CreateTime"].isNull()) + userInfo_.createTime = std::stol(userInfoNode["CreateTime"].asString()); + if(!userInfoNode["GroupId"].isNull()) + userInfo_.groupId = userInfoNode["GroupId"].asString(); + if(!userInfoNode["GroupName"].isNull()) + userInfo_.groupName = userInfoNode["GroupName"].asString(); + if(!userInfoNode["UserId"].isNull()) + userInfo_.userId = userInfoNode["UserId"].asString(); + if(!userInfoNode["UserTel"].isNull()) + userInfo_.userTel = userInfoNode["UserTel"].asString(); + if(!userInfoNode["UserEmail"].isNull()) + userInfo_.userEmail = userInfoNode["UserEmail"].asString(); + if(!userInfoNode["UserMobile"].isNull()) + userInfo_.userMobile = userInfoNode["UserMobile"].asString(); + if(!userInfoNode["UserAvatarUrl"].isNull()) + userInfo_.userAvatarUrl = userInfoNode["UserAvatarUrl"].asString(); + if(!userInfoNode["DepartId"].isNull()) + userInfo_.departId = userInfoNode["DepartId"].asString(); + if(!userInfoNode["DepartName"].isNull()) + userInfo_.departName = userInfoNode["DepartName"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryIsvUserInfoResult::getMessage()const +{ + return message_; +} + +QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const +{ + return userInfo_; +} + +int QueryIsvUserInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryIsvUserInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryMeetingInfoRequest.cc b/aliyuncvc/src/model/QueryMeetingInfoRequest.cc new file mode 100644 index 000000000..c6cf4a2af --- /dev/null +++ b/aliyuncvc/src/model/QueryMeetingInfoRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest; + +QueryMeetingInfoRequest::QueryMeetingInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryMeetingInfoRequest::~QueryMeetingInfoRequest() +{} + +std::string QueryMeetingInfoRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setCoreParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/QueryMeetingInfoResult.cc b/aliyuncvc/src/model/QueryMeetingInfoResult.cc new file mode 100644 index 000000000..3fee93e16 --- /dev/null +++ b/aliyuncvc/src/model/QueryMeetingInfoResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryMeetingInfoResult::QueryMeetingInfoResult() : + ServiceResult() +{} + +QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMeetingInfoResult::~QueryMeetingInfoResult() +{} + +void QueryMeetingInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingName"].isNull()) + meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString(); + if(!meetingInfoNode["ValidDate"].isNull()) + meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString()); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["CreateDate"].isNull()) + meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString()); + if(!meetingInfoNode["UserId"].isNull()) + meetingInfo_.userId = meetingInfoNode["UserId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"]; + for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode) + { + MeetingInfo::MemberListItem memberListItemObject; + if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull()) + memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull()) + memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull()) + memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull()) + memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull()) + memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString(); + meetingInfo_.memberList.push_back(memberListItemObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string QueryMeetingInfoResult::getMessage()const +{ + return message_; +} + +int QueryMeetingInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryMeetingInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryMemberRecordRequest.cc b/aliyuncvc/src/model/QueryMemberRecordRequest.cc new file mode 100644 index 000000000..9065e2d47 --- /dev/null +++ b/aliyuncvc/src/model/QueryMemberRecordRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest; + +QueryMemberRecordRequest::QueryMemberRecordRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryMemberRecordRequest::~QueryMemberRecordRequest() +{} + +std::string QueryMemberRecordRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setCoreParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/QueryMemberRecordResult.cc b/aliyuncvc/src/model/QueryMemberRecordResult.cc new file mode 100644 index 000000000..901fbcb4c --- /dev/null +++ b/aliyuncvc/src/model/QueryMemberRecordResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryMemberRecordResult::QueryMemberRecordResult() : + ServiceResult() +{} + +QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMemberRecordResult::~QueryMemberRecordResult() +{} + +void QueryMemberRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingName"].isNull()) + meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["Memo"].isNull()) + meetingInfo_.memo = meetingInfoNode["Memo"].asString(); + if(!meetingInfoNode["UserName"].isNull()) + meetingInfo_.userName = meetingInfoNode["UserName"].asString(); + if(!meetingInfoNode["CreateDate"].isNull()) + meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString()); + if(!meetingInfoNode["UserId"].isNull()) + meetingInfo_.userId = meetingInfoNode["UserId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"]; + for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode) + { + MeetingInfo::MemberRecord memberRecordObject; + if(!meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].isNull()) + memberRecordObject.memberUUID = meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].asString(); + if(!meetingInfoNodeMemberRecordsListMemberRecord["UserId"].isNull()) + memberRecordObject.userId = meetingInfoNodeMemberRecordsListMemberRecord["UserId"].asString(); + if(!meetingInfoNodeMemberRecordsListMemberRecord["Status"].isNull()) + memberRecordObject.status = meetingInfoNodeMemberRecordsListMemberRecord["Status"].asString(); + meetingInfo_.memberRecordsList.push_back(memberRecordObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string QueryMemberRecordResult::getMessage()const +{ + return message_; +} + +int QueryMemberRecordResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryMemberRecordResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryStatisticsRequest.cc b/aliyuncvc/src/model/QueryStatisticsRequest.cc new file mode 100644 index 000000000..f1fecd1e9 --- /dev/null +++ b/aliyuncvc/src/model/QueryStatisticsRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryStatisticsRequest; + +QueryStatisticsRequest::QueryStatisticsRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryStatisticsRequest::~QueryStatisticsRequest() +{} + +std::string QueryStatisticsRequest::getEndTime()const +{ + return endTime_; +} + +void QueryStatisticsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + 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 new file mode 100644 index 000000000..87abeb452 --- /dev/null +++ b/aliyuncvc/src/model/QueryStatisticsResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryStatisticsResult::QueryStatisticsResult() : + ServiceResult() +{} + +QueryStatisticsResult::QueryStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryStatisticsResult::~QueryStatisticsResult() +{} + +void QueryStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allDayInfoNode = dataNode["DayInfo"]["DayInfoItem"]; + for (auto dataNodeDayInfoDayInfoItem : allDayInfoNode) + { + Data::DayInfoItem dayInfoItemObject; + if(!dataNodeDayInfoDayInfoItem["MeetingNum"].isNull()) + dayInfoItemObject.meetingNum = dataNodeDayInfoDayInfoItem["MeetingNum"].asString(); + if(!dataNodeDayInfoDayInfoItem["MeetingLength"].isNull()) + dayInfoItemObject.meetingLength = dataNodeDayInfoDayInfoItem["MeetingLength"].asString(); + if(!dataNodeDayInfoDayInfoItem["MemberNum"].isNull()) + dayInfoItemObject.memberNum = dataNodeDayInfoDayInfoItem["MemberNum"].asString(); + if(!dataNodeDayInfoDayInfoItem["Day"].isNull()) + dayInfoItemObject.day = dataNodeDayInfoDayInfoItem["Day"].asString(); + data_.dayInfo.push_back(dayInfoItemObject); + } + auto totalNode = dataNode["Total"]; + if(!totalNode["MeetingNum"].isNull()) + data_.total.meetingNum = std::stoi(totalNode["MeetingNum"].asString()); + if(!totalNode["MeetingLength"].isNull()) + data_.total.meetingLength = std::stoi(totalNode["MeetingLength"].asString()); + if(!totalNode["MemberNum"].isNull()) + data_.total.memberNum = std::stoi(totalNode["MemberNum"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryStatisticsResult::getMessage()const +{ + return message_; +} + +QueryStatisticsResult::Data QueryStatisticsResult::getData()const +{ + return data_; +} + +int QueryStatisticsResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryStatisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc b/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc new file mode 100644 index 000000000..98466991e --- /dev/null +++ b/aliyuncvc/src/model/QueryUserBuyAttributeRequest.cc @@ -0,0 +1,29 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryUserBuyAttributeRequest; + +QueryUserBuyAttributeRequest::QueryUserBuyAttributeRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserBuyAttribute") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserBuyAttributeRequest::~QueryUserBuyAttributeRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc b/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc new file mode 100644 index 000000000..ac736f21d --- /dev/null +++ b/aliyuncvc/src/model/QueryUserBuyAttributeResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserBuyAttributeResult::QueryUserBuyAttributeResult() : + ServiceResult() +{} + +QueryUserBuyAttributeResult::QueryUserBuyAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserBuyAttributeResult::~QueryUserBuyAttributeResult() +{} + +void QueryUserBuyAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["UserBuyAttribute"].isNull()) + userBuyAttribute_ = value["UserBuyAttribute"].asString() == "true"; + +} + +std::string QueryUserBuyAttributeResult::getMessage()const +{ + return message_; +} + +bool QueryUserBuyAttributeResult::getUserBuyAttribute()const +{ + return userBuyAttribute_; +} + +int QueryUserBuyAttributeResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserBuyAttributeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserEvaluationRequest.cc b/aliyuncvc/src/model/QueryUserEvaluationRequest.cc new file mode 100644 index 000000000..87bbd5daf --- /dev/null +++ b/aliyuncvc/src/model/QueryUserEvaluationRequest.cc @@ -0,0 +1,29 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryUserEvaluationRequest; + +QueryUserEvaluationRequest::QueryUserEvaluationRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserEvaluation") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserEvaluationRequest::~QueryUserEvaluationRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserEvaluationResult.cc b/aliyuncvc/src/model/QueryUserEvaluationResult.cc new file mode 100644 index 000000000..ae260d15b --- /dev/null +++ b/aliyuncvc/src/model/QueryUserEvaluationResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserEvaluationResult::QueryUserEvaluationResult() : + ServiceResult() +{} + +QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserEvaluationResult::~QueryUserEvaluationResult() +{} + +void QueryUserEvaluationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["UserEvaluation"].isNull()) + userEvaluation_ = value["UserEvaluation"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryUserEvaluationResult::getMessage()const +{ + return message_; +} + +int QueryUserEvaluationResult::getErrorCode()const +{ + return errorCode_; +} + +std::string QueryUserEvaluationResult::getUserEvaluation()const +{ + return userEvaluation_; +} + +bool QueryUserEvaluationResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserInfoRequest.cc b/aliyuncvc/src/model/QueryUserInfoRequest.cc new file mode 100644 index 000000000..4f2d5c3d6 --- /dev/null +++ b/aliyuncvc/src/model/QueryUserInfoRequest.cc @@ -0,0 +1,29 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest; + +QueryUserInfoRequest::QueryUserInfoRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserInfoRequest::~QueryUserInfoRequest() +{} + diff --git a/aliyuncvc/src/model/QueryUserInfoResult.cc b/aliyuncvc/src/model/QueryUserInfoResult.cc new file mode 100644 index 000000000..bda569e41 --- /dev/null +++ b/aliyuncvc/src/model/QueryUserInfoResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserInfoResult::QueryUserInfoResult() : + ServiceResult() +{} + +QueryUserInfoResult::QueryUserInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserInfoResult::~QueryUserInfoResult() +{} + +void QueryUserInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto userInfoNode = value["UserInfo"]; + if(!userInfoNode["CurNum"].isNull()) + userInfo_.curNum = std::stoi(userInfoNode["CurNum"].asString()); + if(!userInfoNode["MemberConcurrentMax"].isNull()) + userInfo_.memberConcurrentMax = std::stoi(userInfoNode["MemberConcurrentMax"].asString()); + if(!userInfoNode["MaxNum"].isNull()) + userInfo_.maxNum = std::stoi(userInfoNode["MaxNum"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryUserInfoResult::getMessage()const +{ + return message_; +} + +QueryUserInfoResult::UserInfo QueryUserInfoResult::getUserInfo()const +{ + return userInfo_; +} + +int QueryUserInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/QueryUserListRequest.cc b/aliyuncvc/src/model/QueryUserListRequest.cc new file mode 100644 index 000000000..71b8007cd --- /dev/null +++ b/aliyuncvc/src/model/QueryUserListRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest; + +QueryUserListRequest::QueryUserListRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList") +{ + setMethod(HttpRequest::Method::Post); +} + +QueryUserListRequest::~QueryUserListRequest() +{} + +int QueryUserListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int QueryUserListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + diff --git a/aliyuncvc/src/model/QueryUserListResult.cc b/aliyuncvc/src/model/QueryUserListResult.cc new file mode 100644 index 000000000..a722eb2ee --- /dev/null +++ b/aliyuncvc/src/model/QueryUserListResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +QueryUserListResult::QueryUserListResult() : + ServiceResult() +{} + +QueryUserListResult::QueryUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryUserListResult::~QueryUserListResult() +{} + +void QueryUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + auto allUserInfosNode = dataNode["UserInfos"]["UserInfo"]; + for (auto dataNodeUserInfosUserInfo : allUserInfosNode) + { + Data::UserInfo userInfoObject; + if(!dataNodeUserInfosUserInfo["CreateTime"].isNull()) + userInfoObject.createTime = std::stol(dataNodeUserInfosUserInfo["CreateTime"].asString()); + if(!dataNodeUserInfosUserInfo["GroupName"].isNull()) + userInfoObject.groupName = dataNodeUserInfosUserInfo["GroupName"].asString(); + if(!dataNodeUserInfosUserInfo["UserName"].isNull()) + userInfoObject.userName = dataNodeUserInfosUserInfo["UserName"].asString(); + if(!dataNodeUserInfosUserInfo["GroupId"].isNull()) + userInfoObject.groupId = dataNodeUserInfosUserInfo["GroupId"].asString(); + if(!dataNodeUserInfosUserInfo["GroupName"].isNull()) + userInfoObject.groupName1 = dataNodeUserInfosUserInfo["GroupName"].asString(); + if(!dataNodeUserInfosUserInfo["DepartName"].isNull()) + userInfoObject.departName = dataNodeUserInfosUserInfo["DepartName"].asString(); + if(!dataNodeUserInfosUserInfo["DepartId"].isNull()) + userInfoObject.departId = dataNodeUserInfosUserInfo["DepartId"].asString(); + if(!dataNodeUserInfosUserInfo["UserEmail"].isNull()) + userInfoObject.userEmail = dataNodeUserInfosUserInfo["UserEmail"].asString(); + if(!dataNodeUserInfosUserInfo["UserTel"].isNull()) + userInfoObject.userTel = dataNodeUserInfosUserInfo["UserTel"].asString(); + if(!dataNodeUserInfosUserInfo["UserMobile"].isNull()) + userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString(); + if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull()) + userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString(); + data_.userInfos.push_back(userInfoObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string QueryUserListResult::getMessage()const +{ + return message_; +} + +QueryUserListResult::Data QueryUserListResult::getData()const +{ + return data_; +} + +int QueryUserListResult::getErrorCode()const +{ + return errorCode_; +} + +bool QueryUserListResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/RemoveMeetingRequest.cc b/aliyuncvc/src/model/RemoveMeetingRequest.cc new file mode 100644 index 000000000..4036af75a --- /dev/null +++ b/aliyuncvc/src/model/RemoveMeetingRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest; + +RemoveMeetingRequest::RemoveMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +RemoveMeetingRequest::~RemoveMeetingRequest() +{} + +std::string RemoveMeetingRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setCoreParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/RemoveMeetingResult.cc b/aliyuncvc/src/model/RemoveMeetingResult.cc new file mode 100644 index 000000000..23f0e85c6 --- /dev/null +++ b/aliyuncvc/src/model/RemoveMeetingResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +RemoveMeetingResult::RemoveMeetingResult() : + ServiceResult() +{} + +RemoveMeetingResult::RemoveMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveMeetingResult::~RemoveMeetingResult() +{} + +void RemoveMeetingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string RemoveMeetingResult::getMessage()const +{ + return message_; +} + +int RemoveMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +bool RemoveMeetingResult::getSuccess()const +{ + return success_; +} +