diff --git a/CHANGELOG b/CHANGELOG index 3150b2427..5f358e40e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-09-19 Version 1.36.138 +- Add bizSubCode and so on. + 2019-09-18 Version 1.36.137 - Supported Video Abstract for IMM. diff --git a/VERSION b/VERSION index eb6be9d26..a8be9624d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.137 \ No newline at end of file +1.36.138 \ No newline at end of file diff --git a/companyreg/CMakeLists.txt b/companyreg/CMakeLists.txt new file mode 100644 index 000000000..8d82fc945 --- /dev/null +++ b/companyreg/CMakeLists.txt @@ -0,0 +1,114 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(companyreg_public_header + include/alibabacloud/companyreg/CompanyregClient.h + include/alibabacloud/companyreg/CompanyregExport.h ) + +set(companyreg_public_header_model + include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h + include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h + include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h + include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h + include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h + include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h + include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h + include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.h + include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h + include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h + include/alibabacloud/companyreg/model/SendVcodeRequest.h + include/alibabacloud/companyreg/model/SendVcodeResult.h + include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.h + include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h + include/alibabacloud/companyreg/model/SubmitConsultationRequest.h + include/alibabacloud/companyreg/model/SubmitConsultationResult.h ) + +set(companyreg_src + src/CompanyregClient.cc + src/model/GenerateCompanyRegUploadPolicyRequest.cc + src/model/GenerateCompanyRegUploadPolicyResult.cc + src/model/GetCompanyRegOrderRequest.cc + src/model/GetCompanyRegOrderResult.cc + src/model/ListCompanyRegConsultationsRequest.cc + src/model/ListCompanyRegConsultationsResult.cc + src/model/ListCompanyRegOrdersRequest.cc + src/model/ListCompanyRegOrdersResult.cc + src/model/ProcessCompanyRegOrderRequest.cc + src/model/ProcessCompanyRegOrderResult.cc + src/model/SendVcodeRequest.cc + src/model/SendVcodeResult.cc + src/model/SubmitCommunicationNoteRequest.cc + src/model/SubmitCommunicationNoteResult.cc + src/model/SubmitConsultationRequest.cc + src/model/SubmitConsultationResult.cc ) + +add_library(companyreg ${LIB_TYPE} + ${companyreg_public_header} + ${companyreg_public_header_model} + ${companyreg_src}) + +set_target_properties(companyreg + 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}companyreg + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(companyreg + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_COMPANYREG_LIBRARY) +endif() + +target_include_directories(companyreg + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(companyreg + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(companyreg + jsoncpp) + target_include_directories(companyreg + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(companyreg + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(companyreg + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(companyreg + PRIVATE /usr/include/jsoncpp) + target_link_libraries(companyreg + jsoncpp) +endif() + +install(FILES ${companyreg_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/companyreg) +install(FILES ${companyreg_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/companyreg/model) +install(TARGETS companyreg + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/CompanyregClient.h b/companyreg/include/alibabacloud/companyreg/CompanyregClient.h new file mode 100644 index 000000000..05bf6981e --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/CompanyregClient.h @@ -0,0 +1,110 @@ +/* + * 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_COMPANYREG_COMPANYREGCLIENT_H_ +#define ALIBABACLOUD_COMPANYREG_COMPANYREGCLIENT_H_ + +#include +#include +#include +#include +#include "CompanyregExport.h" +#include "model/GenerateCompanyRegUploadPolicyRequest.h" +#include "model/GenerateCompanyRegUploadPolicyResult.h" +#include "model/GetCompanyRegOrderRequest.h" +#include "model/GetCompanyRegOrderResult.h" +#include "model/ListCompanyRegConsultationsRequest.h" +#include "model/ListCompanyRegConsultationsResult.h" +#include "model/ListCompanyRegOrdersRequest.h" +#include "model/ListCompanyRegOrdersResult.h" +#include "model/ProcessCompanyRegOrderRequest.h" +#include "model/ProcessCompanyRegOrderResult.h" +#include "model/SendVcodeRequest.h" +#include "model/SendVcodeResult.h" +#include "model/SubmitCommunicationNoteRequest.h" +#include "model/SubmitCommunicationNoteResult.h" +#include "model/SubmitConsultationRequest.h" +#include "model/SubmitConsultationResult.h" + + +namespace AlibabaCloud +{ + namespace Companyreg + { + class ALIBABACLOUD_COMPANYREG_EXPORT CompanyregClient : public RpcServiceClient + { + public: + typedef Outcome GenerateCompanyRegUploadPolicyOutcome; + typedef std::future GenerateCompanyRegUploadPolicyOutcomeCallable; + typedef std::function&)> GenerateCompanyRegUploadPolicyAsyncHandler; + typedef Outcome GetCompanyRegOrderOutcome; + typedef std::future GetCompanyRegOrderOutcomeCallable; + typedef std::function&)> GetCompanyRegOrderAsyncHandler; + typedef Outcome ListCompanyRegConsultationsOutcome; + typedef std::future ListCompanyRegConsultationsOutcomeCallable; + typedef std::function&)> ListCompanyRegConsultationsAsyncHandler; + typedef Outcome ListCompanyRegOrdersOutcome; + typedef std::future ListCompanyRegOrdersOutcomeCallable; + typedef std::function&)> ListCompanyRegOrdersAsyncHandler; + typedef Outcome ProcessCompanyRegOrderOutcome; + typedef std::future ProcessCompanyRegOrderOutcomeCallable; + typedef std::function&)> ProcessCompanyRegOrderAsyncHandler; + typedef Outcome SendVcodeOutcome; + typedef std::future SendVcodeOutcomeCallable; + typedef std::function&)> SendVcodeAsyncHandler; + typedef Outcome SubmitCommunicationNoteOutcome; + typedef std::future SubmitCommunicationNoteOutcomeCallable; + typedef std::function&)> SubmitCommunicationNoteAsyncHandler; + typedef Outcome SubmitConsultationOutcome; + typedef std::future SubmitConsultationOutcomeCallable; + typedef std::function&)> SubmitConsultationAsyncHandler; + + CompanyregClient(const Credentials &credentials, const ClientConfiguration &configuration); + CompanyregClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + CompanyregClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~CompanyregClient(); + GenerateCompanyRegUploadPolicyOutcome generateCompanyRegUploadPolicy(const Model::GenerateCompanyRegUploadPolicyRequest &request)const; + void generateCompanyRegUploadPolicyAsync(const Model::GenerateCompanyRegUploadPolicyRequest& request, const GenerateCompanyRegUploadPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GenerateCompanyRegUploadPolicyOutcomeCallable generateCompanyRegUploadPolicyCallable(const Model::GenerateCompanyRegUploadPolicyRequest& request) const; + GetCompanyRegOrderOutcome getCompanyRegOrder(const Model::GetCompanyRegOrderRequest &request)const; + void getCompanyRegOrderAsync(const Model::GetCompanyRegOrderRequest& request, const GetCompanyRegOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCompanyRegOrderOutcomeCallable getCompanyRegOrderCallable(const Model::GetCompanyRegOrderRequest& request) const; + ListCompanyRegConsultationsOutcome listCompanyRegConsultations(const Model::ListCompanyRegConsultationsRequest &request)const; + void listCompanyRegConsultationsAsync(const Model::ListCompanyRegConsultationsRequest& request, const ListCompanyRegConsultationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCompanyRegConsultationsOutcomeCallable listCompanyRegConsultationsCallable(const Model::ListCompanyRegConsultationsRequest& request) const; + ListCompanyRegOrdersOutcome listCompanyRegOrders(const Model::ListCompanyRegOrdersRequest &request)const; + void listCompanyRegOrdersAsync(const Model::ListCompanyRegOrdersRequest& request, const ListCompanyRegOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCompanyRegOrdersOutcomeCallable listCompanyRegOrdersCallable(const Model::ListCompanyRegOrdersRequest& request) const; + ProcessCompanyRegOrderOutcome processCompanyRegOrder(const Model::ProcessCompanyRegOrderRequest &request)const; + void processCompanyRegOrderAsync(const Model::ProcessCompanyRegOrderRequest& request, const ProcessCompanyRegOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ProcessCompanyRegOrderOutcomeCallable processCompanyRegOrderCallable(const Model::ProcessCompanyRegOrderRequest& request) const; + SendVcodeOutcome sendVcode(const Model::SendVcodeRequest &request)const; + void sendVcodeAsync(const Model::SendVcodeRequest& request, const SendVcodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendVcodeOutcomeCallable sendVcodeCallable(const Model::SendVcodeRequest& request) const; + SubmitCommunicationNoteOutcome submitCommunicationNote(const Model::SubmitCommunicationNoteRequest &request)const; + void submitCommunicationNoteAsync(const Model::SubmitCommunicationNoteRequest& request, const SubmitCommunicationNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitCommunicationNoteOutcomeCallable submitCommunicationNoteCallable(const Model::SubmitCommunicationNoteRequest& request) const; + SubmitConsultationOutcome submitConsultation(const Model::SubmitConsultationRequest &request)const; + void submitConsultationAsync(const Model::SubmitConsultationRequest& request, const SubmitConsultationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitConsultationOutcomeCallable submitConsultationCallable(const Model::SubmitConsultationRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_COMPANYREG_COMPANYREGCLIENT_H_ diff --git a/companyreg/include/alibabacloud/companyreg/CompanyregExport.h b/companyreg/include/alibabacloud/companyreg/CompanyregExport.h new file mode 100644 index 000000000..4107eca87 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/CompanyregExport.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_COMPANYREG_COMPANYREGEXPORT_H_ +#define ALIBABACLOUD_COMPANYREG_COMPANYREGEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_COMPANYREG_LIBRARY) +# define ALIBABACLOUD_COMPANYREG_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_COMPANYREG_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_COMPANYREG_EXPORT +#endif + +#endif // !ALIBABACLOUD_COMPANYREG_COMPANYREGEXPORT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h b/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h new file mode 100644 index 000000000..9a1926f71 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h @@ -0,0 +1,54 @@ +/* + * 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_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT GenerateCompanyRegUploadPolicyRequest : public RpcServiceRequest + { + + public: + GenerateCompanyRegUploadPolicyRequest(); + ~GenerateCompanyRegUploadPolicyRequest(); + + std::string getData()const; + void setData(const std::string& data); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getBizSubCode()const; + void setBizSubCode(const std::string& bizSubCode); + + private: + std::string data_; + std::string bizCode_; + std::string bizSubCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h b/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h new file mode 100644 index 000000000..31784672a --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT GenerateCompanyRegUploadPolicyResult : public ServiceResult + { + public: + + + GenerateCompanyRegUploadPolicyResult(); + explicit GenerateCompanyRegUploadPolicyResult(const std::string &payload); + ~GenerateCompanyRegUploadPolicyResult(); + std::string getFileDir()const; + std::string getEncodedPolicy()const; + long getMin()const; + std::string getAccessId()const; + long getMax()const; + std::string getSignature()const; + std::string getHost()const; + std::string getEncryption()const; + long getExpireTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string fileDir_; + std::string encodedPolicy_; + long min_; + std::string accessId_; + long max_; + std::string signature_; + std::string host_; + std::string encryption_; + long expireTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h b/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h new file mode 100644 index 000000000..9d572acc6 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT GetCompanyRegOrderRequest : public RpcServiceRequest + { + + public: + GetCompanyRegOrderRequest(); + ~GetCompanyRegOrderRequest(); + + std::string getActionTypes()const; + void setActionTypes(const std::string& actionTypes); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getBizId()const; + void setBizId(const std::string& bizId); + int getMaxOperationSize()const; + void setMaxOperationSize(int maxOperationSize); + std::string getBizSubCode()const; + void setBizSubCode(const std::string& bizSubCode); + + private: + std::string actionTypes_; + std::string bizCode_; + std::string bizId_; + int maxOperationSize_; + std::string bizSubCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h b/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h new file mode 100644 index 000000000..84eb34eb6 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT GetCompanyRegOrderResult : public ServiceResult + { + public: + struct BizOperation + { + std::string actionType; + long gmtAction; + std::string actionInfo; + }; + + + GetCompanyRegOrderResult(); + explicit GetCompanyRegOrderResult(const std::string &payload); + ~GetCompanyRegOrderResult(); + std::string getBizInfo()const; + std::string getOutboundPhone()const; + std::string getSupplementBizInfo()const; + long getGmtModified()const; + std::string getBizStatus()const; + std::string getBizStatusStage()const; + std::string getPlatformName()const; + std::string getCompanyName()const; + std::string getAliyunOrderId()const; + std::string getExtend()const; + float getOrderAmount()const; + long getGmtPaid()const; + std::string getBizSubCode()const; + std::vector getOperations()const; + std::string getBizId()const; + float getYunMarketOrderAmount()const; + std::string getInboundPhone()const; + + protected: + void parse(const std::string &payload); + private: + std::string bizInfo_; + std::string outboundPhone_; + std::string supplementBizInfo_; + long gmtModified_; + std::string bizStatus_; + std::string bizStatusStage_; + std::string platformName_; + std::string companyName_; + std::string aliyunOrderId_; + std::string extend_; + float orderAmount_; + long gmtPaid_; + std::string bizSubCode_; + std::vector operations_; + std::string bizId_; + float yunMarketOrderAmount_; + std::string inboundPhone_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h new file mode 100644 index 000000000..ee05d9390 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h @@ -0,0 +1,66 @@ +/* + * 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_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegConsultationsRequest : public RpcServiceRequest + { + + public: + ListCompanyRegConsultationsRequest(); + ~ListCompanyRegConsultationsRequest(); + + long getEndGmtCreate()const; + void setEndGmtCreate(long endGmtCreate); + std::string getCity()const; + void setCity(const std::string& city); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBizId()const; + void setBizId(const std::string& bizId); + long getStartGmtCreate()const; + void setStartGmtCreate(long startGmtCreate); + + private: + long endGmtCreate_; + std::string city_; + int pageNum_; + std::string bizCode_; + int pageSize_; + std::string bizId_; + long startGmtCreate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h new file mode 100644 index 000000000..64c612308 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegConsultationsResult : public ServiceResult + { + public: + struct CompanyRegConsultation + { + std::string platformName; + std::string consultInfo; + std::string outboundPhone; + long gmtModified; + std::string city; + std::string bizId; + std::string inboundPhone; + }; + + + ListCompanyRegConsultationsResult(); + explicit ListCompanyRegConsultationsResult(const std::string &payload); + ~ListCompanyRegConsultationsResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + bool getNextPage()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + bool nextPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h new file mode 100644 index 000000000..53ad37bf8 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h @@ -0,0 +1,66 @@ +/* + * 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_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegOrdersRequest : public RpcServiceRequest + { + + public: + ListCompanyRegOrdersRequest(); + ~ListCompanyRegOrdersRequest(); + + int getPageNum()const; + void setPageNum(int pageNum); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getBizStatus()const; + void setBizStatus(const std::string& bizStatus); + std::string getCompanyName()const; + void setCompanyName(const std::string& companyName); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getAliyunOrderId()const; + void setAliyunOrderId(const std::string& aliyunOrderId); + std::string getBizSubCode()const; + void setBizSubCode(const std::string& bizSubCode); + + private: + int pageNum_; + std::string bizCode_; + std::string bizStatus_; + std::string companyName_; + int pageSize_; + std::string aliyunOrderId_; + std::string bizSubCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.h b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.h new file mode 100644 index 000000000..c99464749 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.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_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegOrdersResult : public ServiceResult + { + public: + struct CompanyRegOrder + { + std::string companyName; + std::string aliyunOrderId; + std::string bizInfo; + std::string supplementBizInfo; + std::string extend; + long gmtModified; + std::string bizSubCode; + std::string bizId; + std::string bizStatus; + }; + + + ListCompanyRegOrdersResult(); + explicit ListCompanyRegOrdersResult(const std::string &payload); + ~ListCompanyRegOrdersResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + bool getNextPage()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + bool nextPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h b/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h new file mode 100644 index 000000000..123c959e8 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h @@ -0,0 +1,66 @@ +/* + * 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_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ProcessCompanyRegOrderRequest : public RpcServiceRequest + { + + public: + ProcessCompanyRegOrderRequest(); + ~ProcessCompanyRegOrderRequest(); + + std::string getActionType()const; + void setActionType(const std::string& actionType); + std::string getActionRequestId()const; + void setActionRequestId(const std::string& actionRequestId); + int getOperatorType()const; + void setOperatorType(int operatorType); + std::string getActionInfo()const; + void setActionInfo(const std::string& actionInfo); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getBizSubCode()const; + void setBizSubCode(const std::string& bizSubCode); + + private: + std::string actionType_; + std::string actionRequestId_; + int operatorType_; + std::string actionInfo_; + std::string bizCode_; + std::string bizId_; + std::string bizSubCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h b/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h new file mode 100644 index 000000000..587c7c1ac --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.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_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT ProcessCompanyRegOrderResult : public ServiceResult + { + public: + + + ProcessCompanyRegOrderResult(); + explicit ProcessCompanyRegOrderResult(const std::string &payload); + ~ProcessCompanyRegOrderResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SendVcodeRequest.h b/companyreg/include/alibabacloud/companyreg/model/SendVcodeRequest.h new file mode 100644 index 000000000..72dc39b7b --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SendVcodeRequest.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_COMPANYREG_MODEL_SENDVCODEREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SendVcodeRequest : public RpcServiceRequest + { + + public: + SendVcodeRequest(); + ~SendVcodeRequest(); + + std::string getMobile()const; + void setMobile(const std::string& mobile); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + + private: + std::string mobile_; + std::string bizCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODEREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SendVcodeResult.h b/companyreg/include/alibabacloud/companyreg/model/SendVcodeResult.h new file mode 100644 index 000000000..f4b59993d --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SendVcodeResult.h @@ -0,0 +1,49 @@ +/* + * 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_COMPANYREG_MODEL_SENDVCODERESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SendVcodeResult : public ServiceResult + { + public: + + + SendVcodeResult(); + explicit SendVcodeResult(const std::string &payload); + ~SendVcodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODERESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.h b/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.h new file mode 100644 index 000000000..5ff128453 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.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_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SubmitCommunicationNoteRequest : public RpcServiceRequest + { + + public: + SubmitCommunicationNoteRequest(); + ~SubmitCommunicationNoteRequest(); + + std::string getNote()const; + void setNote(const std::string& note); + int getType()const; + void setType(int type); + std::string getActionRequestId()const; + void setActionRequestId(const std::string& actionRequestId); + int getOperatorType()const; + void setOperatorType(int operatorType); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string note_; + int type_; + std::string actionRequestId_; + int operatorType_; + std::string bizCode_; + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h b/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h new file mode 100644 index 000000000..109d089c6 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h @@ -0,0 +1,49 @@ +/* + * 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_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SubmitCommunicationNoteResult : public ServiceResult + { + public: + + + SubmitCommunicationNoteResult(); + explicit SubmitCommunicationNoteResult(const std::string &payload); + ~SubmitCommunicationNoteResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationRequest.h b/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationRequest.h new file mode 100644 index 000000000..4f659701d --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SubmitConsultationRequest : public RpcServiceRequest + { + + public: + SubmitConsultationRequest(); + ~SubmitConsultationRequest(); + + std::string getData()const; + void setData(const std::string& data); + std::string getVcode()const; + void setVcode(const std::string& vcode); + std::string getBizCode()const; + void setBizCode(const std::string& bizCode); + std::string getConsultRequestId()const; + void setConsultRequestId(const std::string& consultRequestId); + std::string getBizSubCode()const; + void setBizSubCode(const std::string& bizSubCode); + + private: + std::string data_; + std::string vcode_; + std::string bizCode_; + std::string consultRequestId_; + std::string bizSubCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_ \ No newline at end of file diff --git a/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationResult.h b/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationResult.h new file mode 100644 index 000000000..d209dc473 --- /dev/null +++ b/companyreg/include/alibabacloud/companyreg/model/SubmitConsultationResult.h @@ -0,0 +1,49 @@ +/* + * 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_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_ +#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Companyreg + { + namespace Model + { + class ALIBABACLOUD_COMPANYREG_EXPORT SubmitConsultationResult : public ServiceResult + { + public: + + + SubmitConsultationResult(); + explicit SubmitConsultationResult(const std::string &payload); + ~SubmitConsultationResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_ \ No newline at end of file diff --git a/companyreg/src/CompanyregClient.cc b/companyreg/src/CompanyregClient.cc new file mode 100644 index 000000000..e255dd722 --- /dev/null +++ b/companyreg/src/CompanyregClient.cc @@ -0,0 +1,341 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +namespace +{ + const std::string SERVICE_NAME = "companyreg"; +} + +CompanyregClient::CompanyregClient(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, "companyreg"); +} + +CompanyregClient::CompanyregClient(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, "companyreg"); +} + +CompanyregClient::CompanyregClient(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, "companyreg"); +} + +CompanyregClient::~CompanyregClient() +{} + +CompanyregClient::GenerateCompanyRegUploadPolicyOutcome CompanyregClient::generateCompanyRegUploadPolicy(const GenerateCompanyRegUploadPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GenerateCompanyRegUploadPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GenerateCompanyRegUploadPolicyOutcome(GenerateCompanyRegUploadPolicyResult(outcome.result())); + else + return GenerateCompanyRegUploadPolicyOutcome(outcome.error()); +} + +void CompanyregClient::generateCompanyRegUploadPolicyAsync(const GenerateCompanyRegUploadPolicyRequest& request, const GenerateCompanyRegUploadPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, generateCompanyRegUploadPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::GenerateCompanyRegUploadPolicyOutcomeCallable CompanyregClient::generateCompanyRegUploadPolicyCallable(const GenerateCompanyRegUploadPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->generateCompanyRegUploadPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::GetCompanyRegOrderOutcome CompanyregClient::getCompanyRegOrder(const GetCompanyRegOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetCompanyRegOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetCompanyRegOrderOutcome(GetCompanyRegOrderResult(outcome.result())); + else + return GetCompanyRegOrderOutcome(outcome.error()); +} + +void CompanyregClient::getCompanyRegOrderAsync(const GetCompanyRegOrderRequest& request, const GetCompanyRegOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getCompanyRegOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::GetCompanyRegOrderOutcomeCallable CompanyregClient::getCompanyRegOrderCallable(const GetCompanyRegOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getCompanyRegOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::ListCompanyRegConsultationsOutcome CompanyregClient::listCompanyRegConsultations(const ListCompanyRegConsultationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCompanyRegConsultationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCompanyRegConsultationsOutcome(ListCompanyRegConsultationsResult(outcome.result())); + else + return ListCompanyRegConsultationsOutcome(outcome.error()); +} + +void CompanyregClient::listCompanyRegConsultationsAsync(const ListCompanyRegConsultationsRequest& request, const ListCompanyRegConsultationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCompanyRegConsultations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::ListCompanyRegConsultationsOutcomeCallable CompanyregClient::listCompanyRegConsultationsCallable(const ListCompanyRegConsultationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCompanyRegConsultations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::ListCompanyRegOrdersOutcome CompanyregClient::listCompanyRegOrders(const ListCompanyRegOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCompanyRegOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCompanyRegOrdersOutcome(ListCompanyRegOrdersResult(outcome.result())); + else + return ListCompanyRegOrdersOutcome(outcome.error()); +} + +void CompanyregClient::listCompanyRegOrdersAsync(const ListCompanyRegOrdersRequest& request, const ListCompanyRegOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCompanyRegOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::ListCompanyRegOrdersOutcomeCallable CompanyregClient::listCompanyRegOrdersCallable(const ListCompanyRegOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCompanyRegOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::ProcessCompanyRegOrderOutcome CompanyregClient::processCompanyRegOrder(const ProcessCompanyRegOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ProcessCompanyRegOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ProcessCompanyRegOrderOutcome(ProcessCompanyRegOrderResult(outcome.result())); + else + return ProcessCompanyRegOrderOutcome(outcome.error()); +} + +void CompanyregClient::processCompanyRegOrderAsync(const ProcessCompanyRegOrderRequest& request, const ProcessCompanyRegOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, processCompanyRegOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::ProcessCompanyRegOrderOutcomeCallable CompanyregClient::processCompanyRegOrderCallable(const ProcessCompanyRegOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->processCompanyRegOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::SendVcodeOutcome CompanyregClient::sendVcode(const SendVcodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendVcodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendVcodeOutcome(SendVcodeResult(outcome.result())); + else + return SendVcodeOutcome(outcome.error()); +} + +void CompanyregClient::sendVcodeAsync(const SendVcodeRequest& request, const SendVcodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendVcode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::SendVcodeOutcomeCallable CompanyregClient::sendVcodeCallable(const SendVcodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendVcode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::SubmitCommunicationNoteOutcome CompanyregClient::submitCommunicationNote(const SubmitCommunicationNoteRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitCommunicationNoteOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitCommunicationNoteOutcome(SubmitCommunicationNoteResult(outcome.result())); + else + return SubmitCommunicationNoteOutcome(outcome.error()); +} + +void CompanyregClient::submitCommunicationNoteAsync(const SubmitCommunicationNoteRequest& request, const SubmitCommunicationNoteAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitCommunicationNote(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::SubmitCommunicationNoteOutcomeCallable CompanyregClient::submitCommunicationNoteCallable(const SubmitCommunicationNoteRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitCommunicationNote(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CompanyregClient::SubmitConsultationOutcome CompanyregClient::submitConsultation(const SubmitConsultationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitConsultationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitConsultationOutcome(SubmitConsultationResult(outcome.result())); + else + return SubmitConsultationOutcome(outcome.error()); +} + +void CompanyregClient::submitConsultationAsync(const SubmitConsultationRequest& request, const SubmitConsultationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitConsultation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CompanyregClient::SubmitConsultationOutcomeCallable CompanyregClient::submitConsultationCallable(const SubmitConsultationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitConsultation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/companyreg/src/model/GenerateCompanyRegUploadPolicyRequest.cc b/companyreg/src/model/GenerateCompanyRegUploadPolicyRequest.cc new file mode 100644 index 000000000..b2a473a6a --- /dev/null +++ b/companyreg/src/model/GenerateCompanyRegUploadPolicyRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Companyreg::Model::GenerateCompanyRegUploadPolicyRequest; + +GenerateCompanyRegUploadPolicyRequest::GenerateCompanyRegUploadPolicyRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "GenerateCompanyRegUploadPolicy") +{} + +GenerateCompanyRegUploadPolicyRequest::~GenerateCompanyRegUploadPolicyRequest() +{} + +std::string GenerateCompanyRegUploadPolicyRequest::getData()const +{ + return data_; +} + +void GenerateCompanyRegUploadPolicyRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string GenerateCompanyRegUploadPolicyRequest::getBizCode()const +{ + return bizCode_; +} + +void GenerateCompanyRegUploadPolicyRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string GenerateCompanyRegUploadPolicyRequest::getBizSubCode()const +{ + return bizSubCode_; +} + +void GenerateCompanyRegUploadPolicyRequest::setBizSubCode(const std::string& bizSubCode) +{ + bizSubCode_ = bizSubCode; + setCoreParameter("BizSubCode", bizSubCode); +} + diff --git a/companyreg/src/model/GenerateCompanyRegUploadPolicyResult.cc b/companyreg/src/model/GenerateCompanyRegUploadPolicyResult.cc new file mode 100644 index 000000000..3e547cf6f --- /dev/null +++ b/companyreg/src/model/GenerateCompanyRegUploadPolicyResult.cc @@ -0,0 +1,107 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +GenerateCompanyRegUploadPolicyResult::GenerateCompanyRegUploadPolicyResult() : + ServiceResult() +{} + +GenerateCompanyRegUploadPolicyResult::GenerateCompanyRegUploadPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GenerateCompanyRegUploadPolicyResult::~GenerateCompanyRegUploadPolicyResult() +{} + +void GenerateCompanyRegUploadPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AccessId"].isNull()) + accessId_ = value["AccessId"].asString(); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); + if(!value["FileDir"].isNull()) + fileDir_ = value["FileDir"].asString(); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + if(!value["EncodedPolicy"].isNull()) + encodedPolicy_ = value["EncodedPolicy"].asString(); + if(!value["Min"].isNull()) + min_ = std::stol(value["Min"].asString()); + if(!value["Max"].isNull()) + max_ = std::stol(value["Max"].asString()); + if(!value["Encryption"].isNull()) + encryption_ = value["Encryption"].asString(); + +} + +std::string GenerateCompanyRegUploadPolicyResult::getFileDir()const +{ + return fileDir_; +} + +std::string GenerateCompanyRegUploadPolicyResult::getEncodedPolicy()const +{ + return encodedPolicy_; +} + +long GenerateCompanyRegUploadPolicyResult::getMin()const +{ + return min_; +} + +std::string GenerateCompanyRegUploadPolicyResult::getAccessId()const +{ + return accessId_; +} + +long GenerateCompanyRegUploadPolicyResult::getMax()const +{ + return max_; +} + +std::string GenerateCompanyRegUploadPolicyResult::getSignature()const +{ + return signature_; +} + +std::string GenerateCompanyRegUploadPolicyResult::getHost()const +{ + return host_; +} + +std::string GenerateCompanyRegUploadPolicyResult::getEncryption()const +{ + return encryption_; +} + +long GenerateCompanyRegUploadPolicyResult::getExpireTime()const +{ + return expireTime_; +} + diff --git a/companyreg/src/model/GetCompanyRegOrderRequest.cc b/companyreg/src/model/GetCompanyRegOrderRequest.cc new file mode 100644 index 000000000..33ab04d68 --- /dev/null +++ b/companyreg/src/model/GetCompanyRegOrderRequest.cc @@ -0,0 +1,82 @@ +/* + * 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::Companyreg::Model::GetCompanyRegOrderRequest; + +GetCompanyRegOrderRequest::GetCompanyRegOrderRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "GetCompanyRegOrder") +{} + +GetCompanyRegOrderRequest::~GetCompanyRegOrderRequest() +{} + +std::string GetCompanyRegOrderRequest::getActionTypes()const +{ + return actionTypes_; +} + +void GetCompanyRegOrderRequest::setActionTypes(const std::string& actionTypes) +{ + actionTypes_ = actionTypes; + setCoreParameter("ActionTypes", actionTypes); +} + +std::string GetCompanyRegOrderRequest::getBizCode()const +{ + return bizCode_; +} + +void GetCompanyRegOrderRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string GetCompanyRegOrderRequest::getBizId()const +{ + return bizId_; +} + +void GetCompanyRegOrderRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +int GetCompanyRegOrderRequest::getMaxOperationSize()const +{ + return maxOperationSize_; +} + +void GetCompanyRegOrderRequest::setMaxOperationSize(int maxOperationSize) +{ + maxOperationSize_ = maxOperationSize; + setCoreParameter("MaxOperationSize", std::to_string(maxOperationSize)); +} + +std::string GetCompanyRegOrderRequest::getBizSubCode()const +{ + return bizSubCode_; +} + +void GetCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode) +{ + bizSubCode_ = bizSubCode; + setCoreParameter("BizSubCode", bizSubCode); +} + diff --git a/companyreg/src/model/GetCompanyRegOrderResult.cc b/companyreg/src/model/GetCompanyRegOrderResult.cc new file mode 100644 index 000000000..55f5c15de --- /dev/null +++ b/companyreg/src/model/GetCompanyRegOrderResult.cc @@ -0,0 +1,173 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +GetCompanyRegOrderResult::GetCompanyRegOrderResult() : + ServiceResult() +{} + +GetCompanyRegOrderResult::GetCompanyRegOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetCompanyRegOrderResult::~GetCompanyRegOrderResult() +{} + +void GetCompanyRegOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOperations = value["Operations"]["BizOperation"]; + for (auto value : allOperations) + { + BizOperation operationsObject; + if(!value["GmtAction"].isNull()) + operationsObject.gmtAction = std::stol(value["GmtAction"].asString()); + if(!value["ActionType"].isNull()) + operationsObject.actionType = value["ActionType"].asString(); + if(!value["ActionInfo"].isNull()) + operationsObject.actionInfo = value["ActionInfo"].asString(); + operations_.push_back(operationsObject); + } + if(!value["BizId"].isNull()) + bizId_ = value["BizId"].asString(); + if(!value["CompanyName"].isNull()) + companyName_ = value["CompanyName"].asString(); + if(!value["BizStatus"].isNull()) + bizStatus_ = value["BizStatus"].asString(); + if(!value["BizInfo"].isNull()) + bizInfo_ = value["BizInfo"].asString(); + if(!value["SupplementBizInfo"].isNull()) + supplementBizInfo_ = value["SupplementBizInfo"].asString(); + if(!value["AliyunOrderId"].isNull()) + aliyunOrderId_ = value["AliyunOrderId"].asString(); + if(!value["GmtModified"].isNull()) + gmtModified_ = std::stol(value["GmtModified"].asString()); + if(!value["OrderAmount"].isNull()) + orderAmount_ = std::stof(value["OrderAmount"].asString()); + if(!value["YunMarketOrderAmount"].isNull()) + yunMarketOrderAmount_ = std::stof(value["YunMarketOrderAmount"].asString()); + if(!value["GmtPaid"].isNull()) + gmtPaid_ = std::stol(value["GmtPaid"].asString()); + if(!value["Extend"].isNull()) + extend_ = value["Extend"].asString(); + if(!value["BizStatusStage"].isNull()) + bizStatusStage_ = value["BizStatusStage"].asString(); + if(!value["PlatformName"].isNull()) + platformName_ = value["PlatformName"].asString(); + if(!value["InboundPhone"].isNull()) + inboundPhone_ = value["InboundPhone"].asString(); + if(!value["OutboundPhone"].isNull()) + outboundPhone_ = value["OutboundPhone"].asString(); + if(!value["BizSubCode"].isNull()) + bizSubCode_ = value["BizSubCode"].asString(); + +} + +std::string GetCompanyRegOrderResult::getBizInfo()const +{ + return bizInfo_; +} + +std::string GetCompanyRegOrderResult::getOutboundPhone()const +{ + return outboundPhone_; +} + +std::string GetCompanyRegOrderResult::getSupplementBizInfo()const +{ + return supplementBizInfo_; +} + +long GetCompanyRegOrderResult::getGmtModified()const +{ + return gmtModified_; +} + +std::string GetCompanyRegOrderResult::getBizStatus()const +{ + return bizStatus_; +} + +std::string GetCompanyRegOrderResult::getBizStatusStage()const +{ + return bizStatusStage_; +} + +std::string GetCompanyRegOrderResult::getPlatformName()const +{ + return platformName_; +} + +std::string GetCompanyRegOrderResult::getCompanyName()const +{ + return companyName_; +} + +std::string GetCompanyRegOrderResult::getAliyunOrderId()const +{ + return aliyunOrderId_; +} + +std::string GetCompanyRegOrderResult::getExtend()const +{ + return extend_; +} + +float GetCompanyRegOrderResult::getOrderAmount()const +{ + return orderAmount_; +} + +long GetCompanyRegOrderResult::getGmtPaid()const +{ + return gmtPaid_; +} + +std::string GetCompanyRegOrderResult::getBizSubCode()const +{ + return bizSubCode_; +} + +std::vector GetCompanyRegOrderResult::getOperations()const +{ + return operations_; +} + +std::string GetCompanyRegOrderResult::getBizId()const +{ + return bizId_; +} + +float GetCompanyRegOrderResult::getYunMarketOrderAmount()const +{ + return yunMarketOrderAmount_; +} + +std::string GetCompanyRegOrderResult::getInboundPhone()const +{ + return inboundPhone_; +} + diff --git a/companyreg/src/model/ListCompanyRegConsultationsRequest.cc b/companyreg/src/model/ListCompanyRegConsultationsRequest.cc new file mode 100644 index 000000000..1f6e5b4f5 --- /dev/null +++ b/companyreg/src/model/ListCompanyRegConsultationsRequest.cc @@ -0,0 +1,104 @@ +/* + * 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::Companyreg::Model::ListCompanyRegConsultationsRequest; + +ListCompanyRegConsultationsRequest::ListCompanyRegConsultationsRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegConsultations") +{} + +ListCompanyRegConsultationsRequest::~ListCompanyRegConsultationsRequest() +{} + +long ListCompanyRegConsultationsRequest::getEndGmtCreate()const +{ + return endGmtCreate_; +} + +void ListCompanyRegConsultationsRequest::setEndGmtCreate(long endGmtCreate) +{ + endGmtCreate_ = endGmtCreate; + setCoreParameter("EndGmtCreate", std::to_string(endGmtCreate)); +} + +std::string ListCompanyRegConsultationsRequest::getCity()const +{ + return city_; +} + +void ListCompanyRegConsultationsRequest::setCity(const std::string& city) +{ + city_ = city; + setCoreParameter("City", city); +} + +int ListCompanyRegConsultationsRequest::getPageNum()const +{ + return pageNum_; +} + +void ListCompanyRegConsultationsRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string ListCompanyRegConsultationsRequest::getBizCode()const +{ + return bizCode_; +} + +void ListCompanyRegConsultationsRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +int ListCompanyRegConsultationsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListCompanyRegConsultationsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListCompanyRegConsultationsRequest::getBizId()const +{ + return bizId_; +} + +void ListCompanyRegConsultationsRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +long ListCompanyRegConsultationsRequest::getStartGmtCreate()const +{ + return startGmtCreate_; +} + +void ListCompanyRegConsultationsRequest::setStartGmtCreate(long startGmtCreate) +{ + startGmtCreate_ = startGmtCreate; + setCoreParameter("StartGmtCreate", std::to_string(startGmtCreate)); +} + diff --git a/companyreg/src/model/ListCompanyRegConsultationsResult.cc b/companyreg/src/model/ListCompanyRegConsultationsResult.cc new file mode 100644 index 000000000..c1c6de998 --- /dev/null +++ b/companyreg/src/model/ListCompanyRegConsultationsResult.cc @@ -0,0 +1,111 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +ListCompanyRegConsultationsResult::ListCompanyRegConsultationsResult() : + ServiceResult() +{} + +ListCompanyRegConsultationsResult::ListCompanyRegConsultationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCompanyRegConsultationsResult::~ListCompanyRegConsultationsResult() +{} + +void ListCompanyRegConsultationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["CompanyRegConsultation"]; + for (auto value : allData) + { + CompanyRegConsultation dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["ConsultInfo"].isNull()) + dataObject.consultInfo = value["ConsultInfo"].asString(); + if(!value["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["City"].isNull()) + dataObject.city = value["City"].asString(); + if(!value["PlatformName"].isNull()) + dataObject.platformName = value["PlatformName"].asString(); + if(!value["InboundPhone"].isNull()) + dataObject.inboundPhone = value["InboundPhone"].asString(); + if(!value["OutboundPhone"].isNull()) + dataObject.outboundPhone = value["OutboundPhone"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + +} + +bool ListCompanyRegConsultationsResult::getPrePage()const +{ + return prePage_; +} + +int ListCompanyRegConsultationsResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int ListCompanyRegConsultationsResult::getPageSize()const +{ + return pageSize_; +} + +int ListCompanyRegConsultationsResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector ListCompanyRegConsultationsResult::getData()const +{ + return data_; +} + +int ListCompanyRegConsultationsResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool ListCompanyRegConsultationsResult::getNextPage()const +{ + return nextPage_; +} + diff --git a/companyreg/src/model/ListCompanyRegOrdersRequest.cc b/companyreg/src/model/ListCompanyRegOrdersRequest.cc new file mode 100644 index 000000000..b6636cede --- /dev/null +++ b/companyreg/src/model/ListCompanyRegOrdersRequest.cc @@ -0,0 +1,104 @@ +/* + * 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::Companyreg::Model::ListCompanyRegOrdersRequest; + +ListCompanyRegOrdersRequest::ListCompanyRegOrdersRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegOrders") +{} + +ListCompanyRegOrdersRequest::~ListCompanyRegOrdersRequest() +{} + +int ListCompanyRegOrdersRequest::getPageNum()const +{ + return pageNum_; +} + +void ListCompanyRegOrdersRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string ListCompanyRegOrdersRequest::getBizCode()const +{ + return bizCode_; +} + +void ListCompanyRegOrdersRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string ListCompanyRegOrdersRequest::getBizStatus()const +{ + return bizStatus_; +} + +void ListCompanyRegOrdersRequest::setBizStatus(const std::string& bizStatus) +{ + bizStatus_ = bizStatus; + setCoreParameter("BizStatus", bizStatus); +} + +std::string ListCompanyRegOrdersRequest::getCompanyName()const +{ + return companyName_; +} + +void ListCompanyRegOrdersRequest::setCompanyName(const std::string& companyName) +{ + companyName_ = companyName; + setCoreParameter("CompanyName", companyName); +} + +int ListCompanyRegOrdersRequest::getPageSize()const +{ + return pageSize_; +} + +void ListCompanyRegOrdersRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListCompanyRegOrdersRequest::getAliyunOrderId()const +{ + return aliyunOrderId_; +} + +void ListCompanyRegOrdersRequest::setAliyunOrderId(const std::string& aliyunOrderId) +{ + aliyunOrderId_ = aliyunOrderId; + setCoreParameter("AliyunOrderId", aliyunOrderId); +} + +std::string ListCompanyRegOrdersRequest::getBizSubCode()const +{ + return bizSubCode_; +} + +void ListCompanyRegOrdersRequest::setBizSubCode(const std::string& bizSubCode) +{ + bizSubCode_ = bizSubCode; + setCoreParameter("BizSubCode", bizSubCode); +} + diff --git a/companyreg/src/model/ListCompanyRegOrdersResult.cc b/companyreg/src/model/ListCompanyRegOrdersResult.cc new file mode 100644 index 000000000..5f0ee4d12 --- /dev/null +++ b/companyreg/src/model/ListCompanyRegOrdersResult.cc @@ -0,0 +1,115 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +ListCompanyRegOrdersResult::ListCompanyRegOrdersResult() : + ServiceResult() +{} + +ListCompanyRegOrdersResult::ListCompanyRegOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCompanyRegOrdersResult::~ListCompanyRegOrdersResult() +{} + +void ListCompanyRegOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["CompanyRegOrder"]; + for (auto value : allData) + { + CompanyRegOrder dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["CompanyName"].isNull()) + dataObject.companyName = value["CompanyName"].asString(); + if(!value["BizStatus"].isNull()) + dataObject.bizStatus = value["BizStatus"].asString(); + if(!value["BizInfo"].isNull()) + dataObject.bizInfo = value["BizInfo"].asString(); + if(!value["SupplementBizInfo"].isNull()) + dataObject.supplementBizInfo = value["SupplementBizInfo"].asString(); + if(!value["AliyunOrderId"].isNull()) + dataObject.aliyunOrderId = value["AliyunOrderId"].asString(); + if(!value["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["Extend"].isNull()) + dataObject.extend = value["Extend"].asString(); + if(!value["BizSubCode"].isNull()) + dataObject.bizSubCode = value["BizSubCode"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + +} + +bool ListCompanyRegOrdersResult::getPrePage()const +{ + return prePage_; +} + +int ListCompanyRegOrdersResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int ListCompanyRegOrdersResult::getPageSize()const +{ + return pageSize_; +} + +int ListCompanyRegOrdersResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector ListCompanyRegOrdersResult::getData()const +{ + return data_; +} + +int ListCompanyRegOrdersResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool ListCompanyRegOrdersResult::getNextPage()const +{ + return nextPage_; +} + diff --git a/companyreg/src/model/ProcessCompanyRegOrderRequest.cc b/companyreg/src/model/ProcessCompanyRegOrderRequest.cc new file mode 100644 index 000000000..0ac4787da --- /dev/null +++ b/companyreg/src/model/ProcessCompanyRegOrderRequest.cc @@ -0,0 +1,104 @@ +/* + * 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::Companyreg::Model::ProcessCompanyRegOrderRequest; + +ProcessCompanyRegOrderRequest::ProcessCompanyRegOrderRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "ProcessCompanyRegOrder") +{} + +ProcessCompanyRegOrderRequest::~ProcessCompanyRegOrderRequest() +{} + +std::string ProcessCompanyRegOrderRequest::getActionType()const +{ + return actionType_; +} + +void ProcessCompanyRegOrderRequest::setActionType(const std::string& actionType) +{ + actionType_ = actionType; + setCoreParameter("ActionType", actionType); +} + +std::string ProcessCompanyRegOrderRequest::getActionRequestId()const +{ + return actionRequestId_; +} + +void ProcessCompanyRegOrderRequest::setActionRequestId(const std::string& actionRequestId) +{ + actionRequestId_ = actionRequestId; + setCoreParameter("ActionRequestId", actionRequestId); +} + +int ProcessCompanyRegOrderRequest::getOperatorType()const +{ + return operatorType_; +} + +void ProcessCompanyRegOrderRequest::setOperatorType(int operatorType) +{ + operatorType_ = operatorType; + setCoreParameter("OperatorType", std::to_string(operatorType)); +} + +std::string ProcessCompanyRegOrderRequest::getActionInfo()const +{ + return actionInfo_; +} + +void ProcessCompanyRegOrderRequest::setActionInfo(const std::string& actionInfo) +{ + actionInfo_ = actionInfo; + setCoreParameter("ActionInfo", actionInfo); +} + +std::string ProcessCompanyRegOrderRequest::getBizCode()const +{ + return bizCode_; +} + +void ProcessCompanyRegOrderRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string ProcessCompanyRegOrderRequest::getBizId()const +{ + return bizId_; +} + +void ProcessCompanyRegOrderRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string ProcessCompanyRegOrderRequest::getBizSubCode()const +{ + return bizSubCode_; +} + +void ProcessCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode) +{ + bizSubCode_ = bizSubCode; + setCoreParameter("BizSubCode", bizSubCode); +} + diff --git a/companyreg/src/model/ProcessCompanyRegOrderResult.cc b/companyreg/src/model/ProcessCompanyRegOrderResult.cc new file mode 100644 index 000000000..0dd388be7 --- /dev/null +++ b/companyreg/src/model/ProcessCompanyRegOrderResult.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 +#include + +using namespace AlibabaCloud::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +ProcessCompanyRegOrderResult::ProcessCompanyRegOrderResult() : + ServiceResult() +{} + +ProcessCompanyRegOrderResult::ProcessCompanyRegOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ProcessCompanyRegOrderResult::~ProcessCompanyRegOrderResult() +{} + +void ProcessCompanyRegOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string ProcessCompanyRegOrderResult::getData()const +{ + return data_; +} + diff --git a/companyreg/src/model/SendVcodeRequest.cc b/companyreg/src/model/SendVcodeRequest.cc new file mode 100644 index 000000000..e4a9ea804 --- /dev/null +++ b/companyreg/src/model/SendVcodeRequest.cc @@ -0,0 +1,49 @@ +/* + * 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::Companyreg::Model::SendVcodeRequest; + +SendVcodeRequest::SendVcodeRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "SendVcode") +{} + +SendVcodeRequest::~SendVcodeRequest() +{} + +std::string SendVcodeRequest::getMobile()const +{ + return mobile_; +} + +void SendVcodeRequest::setMobile(const std::string& mobile) +{ + mobile_ = mobile; + setCoreParameter("Mobile", mobile); +} + +std::string SendVcodeRequest::getBizCode()const +{ + return bizCode_; +} + +void SendVcodeRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + diff --git a/companyreg/src/model/SendVcodeResult.cc b/companyreg/src/model/SendVcodeResult.cc new file mode 100644 index 000000000..8b495c98f --- /dev/null +++ b/companyreg/src/model/SendVcodeResult.cc @@ -0,0 +1,44 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +SendVcodeResult::SendVcodeResult() : + ServiceResult() +{} + +SendVcodeResult::SendVcodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendVcodeResult::~SendVcodeResult() +{} + +void SendVcodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/companyreg/src/model/SubmitCommunicationNoteRequest.cc b/companyreg/src/model/SubmitCommunicationNoteRequest.cc new file mode 100644 index 000000000..bc67436f9 --- /dev/null +++ b/companyreg/src/model/SubmitCommunicationNoteRequest.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 + +using AlibabaCloud::Companyreg::Model::SubmitCommunicationNoteRequest; + +SubmitCommunicationNoteRequest::SubmitCommunicationNoteRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "SubmitCommunicationNote") +{} + +SubmitCommunicationNoteRequest::~SubmitCommunicationNoteRequest() +{} + +std::string SubmitCommunicationNoteRequest::getNote()const +{ + return note_; +} + +void SubmitCommunicationNoteRequest::setNote(const std::string& note) +{ + note_ = note; + setCoreParameter("Note", note); +} + +int SubmitCommunicationNoteRequest::getType()const +{ + return type_; +} + +void SubmitCommunicationNoteRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +std::string SubmitCommunicationNoteRequest::getActionRequestId()const +{ + return actionRequestId_; +} + +void SubmitCommunicationNoteRequest::setActionRequestId(const std::string& actionRequestId) +{ + actionRequestId_ = actionRequestId; + setCoreParameter("ActionRequestId", actionRequestId); +} + +int SubmitCommunicationNoteRequest::getOperatorType()const +{ + return operatorType_; +} + +void SubmitCommunicationNoteRequest::setOperatorType(int operatorType) +{ + operatorType_ = operatorType; + setCoreParameter("OperatorType", std::to_string(operatorType)); +} + +std::string SubmitCommunicationNoteRequest::getBizCode()const +{ + return bizCode_; +} + +void SubmitCommunicationNoteRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string SubmitCommunicationNoteRequest::getBizId()const +{ + return bizId_; +} + +void SubmitCommunicationNoteRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/companyreg/src/model/SubmitCommunicationNoteResult.cc b/companyreg/src/model/SubmitCommunicationNoteResult.cc new file mode 100644 index 000000000..dd05d83ca --- /dev/null +++ b/companyreg/src/model/SubmitCommunicationNoteResult.cc @@ -0,0 +1,44 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +SubmitCommunicationNoteResult::SubmitCommunicationNoteResult() : + ServiceResult() +{} + +SubmitCommunicationNoteResult::SubmitCommunicationNoteResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitCommunicationNoteResult::~SubmitCommunicationNoteResult() +{} + +void SubmitCommunicationNoteResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/companyreg/src/model/SubmitConsultationRequest.cc b/companyreg/src/model/SubmitConsultationRequest.cc new file mode 100644 index 000000000..06a4cc388 --- /dev/null +++ b/companyreg/src/model/SubmitConsultationRequest.cc @@ -0,0 +1,82 @@ +/* + * 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::Companyreg::Model::SubmitConsultationRequest; + +SubmitConsultationRequest::SubmitConsultationRequest() : + RpcServiceRequest("companyreg", "2019-05-08", "SubmitConsultation") +{} + +SubmitConsultationRequest::~SubmitConsultationRequest() +{} + +std::string SubmitConsultationRequest::getData()const +{ + return data_; +} + +void SubmitConsultationRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string SubmitConsultationRequest::getVcode()const +{ + return vcode_; +} + +void SubmitConsultationRequest::setVcode(const std::string& vcode) +{ + vcode_ = vcode; + setCoreParameter("Vcode", vcode); +} + +std::string SubmitConsultationRequest::getBizCode()const +{ + return bizCode_; +} + +void SubmitConsultationRequest::setBizCode(const std::string& bizCode) +{ + bizCode_ = bizCode; + setCoreParameter("BizCode", bizCode); +} + +std::string SubmitConsultationRequest::getConsultRequestId()const +{ + return consultRequestId_; +} + +void SubmitConsultationRequest::setConsultRequestId(const std::string& consultRequestId) +{ + consultRequestId_ = consultRequestId; + setCoreParameter("ConsultRequestId", consultRequestId); +} + +std::string SubmitConsultationRequest::getBizSubCode()const +{ + return bizSubCode_; +} + +void SubmitConsultationRequest::setBizSubCode(const std::string& bizSubCode) +{ + bizSubCode_ = bizSubCode; + setCoreParameter("BizSubCode", bizSubCode); +} + diff --git a/companyreg/src/model/SubmitConsultationResult.cc b/companyreg/src/model/SubmitConsultationResult.cc new file mode 100644 index 000000000..9524e501a --- /dev/null +++ b/companyreg/src/model/SubmitConsultationResult.cc @@ -0,0 +1,44 @@ +/* + * 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::Companyreg; +using namespace AlibabaCloud::Companyreg::Model; + +SubmitConsultationResult::SubmitConsultationResult() : + ServiceResult() +{} + +SubmitConsultationResult::SubmitConsultationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitConsultationResult::~SubmitConsultationResult() +{} + +void SubmitConsultationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +