sdk-team 6 лет назад
Родитель
Сommit
f819d8866c
25 измененных файлов с 1236 добавлено и 17 удалено
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 16 0
      cloudauth/CMakeLists.txt
  4. 32 0
      cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h
  5. 57 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeAppInfoRequest.h
  6. 77 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeAppInfoResult.h
  7. 54 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeSdkUrlRequest.h
  8. 51 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeSdkUrlResult.h
  9. 51 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultRequest.h
  10. 71 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultResult.h
  11. 3 0
      cloudauth/include/alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h
  12. 60 0
      cloudauth/include/alibabacloud/cloudauth/model/UpdateAppPackageRequest.h
  13. 51 0
      cloudauth/include/alibabacloud/cloudauth/model/UpdateAppPackageResult.h
  14. 144 0
      cloudauth/src/CloudauthClient.cc
  15. 15 15
      cloudauth/src/model/ContrastFaceVerifyRequest.cc
  16. 73 0
      cloudauth/src/model/DescribeAppInfoRequest.cc
  17. 96 0
      cloudauth/src/model/DescribeAppInfoResult.cc
  18. 62 0
      cloudauth/src/model/DescribeSdkUrlRequest.cc
  19. 51 0
      cloudauth/src/model/DescribeSdkUrlResult.cc
  20. 51 0
      cloudauth/src/model/DescribeUpdatePackageResultRequest.cc
  21. 70 0
      cloudauth/src/model/DescribeUpdatePackageResultResult.cc
  22. 11 0
      cloudauth/src/model/DescribeUploadInfoRequest.cc
  23. 1 1
      cloudauth/src/model/InitFaceVerifyRequest.cc
  24. 84 0
      cloudauth/src/model/UpdateAppPackageRequest.cc
  25. 51 0
      cloudauth/src/model/UpdateAppPackageResult.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-04-20 Version: 1.36.366
+- Fix FaceContrastPicture.
+
 2020-04-20 Version: 1.36.365
 - Add kibana network white Ips.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.365
+1.36.366

+ 16 - 0
cloudauth/CMakeLists.txt

@@ -33,6 +33,8 @@ set(cloudauth_public_header_model
 	include/alibabacloud/cloudauth/model/CreateVerifySDKResult.h
 	include/alibabacloud/cloudauth/model/CreateVerifySettingRequest.h
 	include/alibabacloud/cloudauth/model/CreateVerifySettingResult.h
+	include/alibabacloud/cloudauth/model/DescribeAppInfoRequest.h
+	include/alibabacloud/cloudauth/model/DescribeAppInfoResult.h
 	include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h
 	include/alibabacloud/cloudauth/model/DescribeDeviceInfoResult.h
 	include/alibabacloud/cloudauth/model/DescribeFaceUsageRequest.h
@@ -43,6 +45,10 @@ set(cloudauth_public_header_model
 	include/alibabacloud/cloudauth/model/DescribeOssUploadTokenResult.h
 	include/alibabacloud/cloudauth/model/DescribeRPSDKRequest.h
 	include/alibabacloud/cloudauth/model/DescribeRPSDKResult.h
+	include/alibabacloud/cloudauth/model/DescribeSdkUrlRequest.h
+	include/alibabacloud/cloudauth/model/DescribeSdkUrlResult.h
+	include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultRequest.h
+	include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultResult.h
 	include/alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h
 	include/alibabacloud/cloudauth/model/DescribeUploadInfoResult.h
 	include/alibabacloud/cloudauth/model/DescribeUserStatusRequest.h
@@ -67,6 +73,8 @@ set(cloudauth_public_header_model
 	include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
 	include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
 	include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
+	include/alibabacloud/cloudauth/model/UpdateAppPackageRequest.h
+	include/alibabacloud/cloudauth/model/UpdateAppPackageResult.h
 	include/alibabacloud/cloudauth/model/UpdateVerifySettingRequest.h
 	include/alibabacloud/cloudauth/model/UpdateVerifySettingResult.h
 	include/alibabacloud/cloudauth/model/VerifyDeviceRequest.h
@@ -88,6 +96,8 @@ set(cloudauth_src
 	src/model/CreateVerifySDKResult.cc
 	src/model/CreateVerifySettingRequest.cc
 	src/model/CreateVerifySettingResult.cc
+	src/model/DescribeAppInfoRequest.cc
+	src/model/DescribeAppInfoResult.cc
 	src/model/DescribeDeviceInfoRequest.cc
 	src/model/DescribeDeviceInfoResult.cc
 	src/model/DescribeFaceUsageRequest.cc
@@ -98,6 +108,10 @@ set(cloudauth_src
 	src/model/DescribeOssUploadTokenResult.cc
 	src/model/DescribeRPSDKRequest.cc
 	src/model/DescribeRPSDKResult.cc
+	src/model/DescribeSdkUrlRequest.cc
+	src/model/DescribeSdkUrlResult.cc
+	src/model/DescribeUpdatePackageResultRequest.cc
+	src/model/DescribeUpdatePackageResultResult.cc
 	src/model/DescribeUploadInfoRequest.cc
 	src/model/DescribeUploadInfoResult.cc
 	src/model/DescribeUserStatusRequest.cc
@@ -122,6 +136,8 @@ set(cloudauth_src
 	src/model/InitFaceVerifyResult.cc
 	src/model/ModifyDeviceInfoRequest.cc
 	src/model/ModifyDeviceInfoResult.cc
+	src/model/UpdateAppPackageRequest.cc
+	src/model/UpdateAppPackageResult.cc
 	src/model/UpdateVerifySettingRequest.cc
 	src/model/UpdateVerifySettingResult.cc
 	src/model/VerifyDeviceRequest.cc

+ 32 - 0
cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h

@@ -34,6 +34,8 @@
 #include "model/CreateVerifySDKResult.h"
 #include "model/CreateVerifySettingRequest.h"
 #include "model/CreateVerifySettingResult.h"
+#include "model/DescribeAppInfoRequest.h"
+#include "model/DescribeAppInfoResult.h"
 #include "model/DescribeDeviceInfoRequest.h"
 #include "model/DescribeDeviceInfoResult.h"
 #include "model/DescribeFaceUsageRequest.h"
@@ -44,6 +46,10 @@
 #include "model/DescribeOssUploadTokenResult.h"
 #include "model/DescribeRPSDKRequest.h"
 #include "model/DescribeRPSDKResult.h"
+#include "model/DescribeSdkUrlRequest.h"
+#include "model/DescribeSdkUrlResult.h"
+#include "model/DescribeUpdatePackageResultRequest.h"
+#include "model/DescribeUpdatePackageResultResult.h"
 #include "model/DescribeUploadInfoRequest.h"
 #include "model/DescribeUploadInfoResult.h"
 #include "model/DescribeUserStatusRequest.h"
@@ -68,6 +74,8 @@
 #include "model/InitFaceVerifyResult.h"
 #include "model/ModifyDeviceInfoRequest.h"
 #include "model/ModifyDeviceInfoResult.h"
+#include "model/UpdateAppPackageRequest.h"
+#include "model/UpdateAppPackageResult.h"
 #include "model/UpdateVerifySettingRequest.h"
 #include "model/UpdateVerifySettingResult.h"
 #include "model/VerifyDeviceRequest.h"
@@ -101,6 +109,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::CreateVerifySettingResult> CreateVerifySettingOutcome;
 			typedef std::future<CreateVerifySettingOutcome> CreateVerifySettingOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySettingRequest&, const CreateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySettingAsyncHandler;
+			typedef Outcome<Error, Model::DescribeAppInfoResult> DescribeAppInfoOutcome;
+			typedef std::future<DescribeAppInfoOutcome> DescribeAppInfoOutcomeCallable;
+			typedef std::function<void(const CloudauthClient*, const Model::DescribeAppInfoRequest&, const DescribeAppInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppInfoAsyncHandler;
 			typedef Outcome<Error, Model::DescribeDeviceInfoResult> DescribeDeviceInfoOutcome;
 			typedef std::future<DescribeDeviceInfoOutcome> DescribeDeviceInfoOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::DescribeDeviceInfoRequest&, const DescribeDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeviceInfoAsyncHandler;
@@ -116,6 +127,12 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DescribeRPSDKResult> DescribeRPSDKOutcome;
 			typedef std::future<DescribeRPSDKOutcome> DescribeRPSDKOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::DescribeRPSDKRequest&, const DescribeRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRPSDKAsyncHandler;
+			typedef Outcome<Error, Model::DescribeSdkUrlResult> DescribeSdkUrlOutcome;
+			typedef std::future<DescribeSdkUrlOutcome> DescribeSdkUrlOutcomeCallable;
+			typedef std::function<void(const CloudauthClient*, const Model::DescribeSdkUrlRequest&, const DescribeSdkUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSdkUrlAsyncHandler;
+			typedef Outcome<Error, Model::DescribeUpdatePackageResultResult> DescribeUpdatePackageResultOutcome;
+			typedef std::future<DescribeUpdatePackageResultOutcome> DescribeUpdatePackageResultOutcomeCallable;
+			typedef std::function<void(const CloudauthClient*, const Model::DescribeUpdatePackageResultRequest&, const DescribeUpdatePackageResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpdatePackageResultAsyncHandler;
 			typedef Outcome<Error, Model::DescribeUploadInfoResult> DescribeUploadInfoOutcome;
 			typedef std::future<DescribeUploadInfoOutcome> DescribeUploadInfoOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::DescribeUploadInfoRequest&, const DescribeUploadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUploadInfoAsyncHandler;
@@ -152,6 +169,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
 			typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
+			typedef Outcome<Error, Model::UpdateAppPackageResult> UpdateAppPackageOutcome;
+			typedef std::future<UpdateAppPackageOutcome> UpdateAppPackageOutcomeCallable;
+			typedef std::function<void(const CloudauthClient*, const Model::UpdateAppPackageRequest&, const UpdateAppPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppPackageAsyncHandler;
 			typedef Outcome<Error, Model::UpdateVerifySettingResult> UpdateVerifySettingOutcome;
 			typedef std::future<UpdateVerifySettingOutcome> UpdateVerifySettingOutcomeCallable;
 			typedef std::function<void(const CloudauthClient*, const Model::UpdateVerifySettingRequest&, const UpdateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVerifySettingAsyncHandler;
@@ -184,6 +204,9 @@ namespace AlibabaCloud
 			CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const;
 			void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const;
+			DescribeAppInfoOutcome describeAppInfo(const Model::DescribeAppInfoRequest &request)const;
+			void describeAppInfoAsync(const Model::DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeAppInfoOutcomeCallable describeAppInfoCallable(const Model::DescribeAppInfoRequest& request) const;
 			DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const;
 			void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const;
@@ -199,6 +222,12 @@ namespace AlibabaCloud
 			DescribeRPSDKOutcome describeRPSDK(const Model::DescribeRPSDKRequest &request)const;
 			void describeRPSDKAsync(const Model::DescribeRPSDKRequest& request, const DescribeRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeRPSDKOutcomeCallable describeRPSDKCallable(const Model::DescribeRPSDKRequest& request) const;
+			DescribeSdkUrlOutcome describeSdkUrl(const Model::DescribeSdkUrlRequest &request)const;
+			void describeSdkUrlAsync(const Model::DescribeSdkUrlRequest& request, const DescribeSdkUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeSdkUrlOutcomeCallable describeSdkUrlCallable(const Model::DescribeSdkUrlRequest& request) const;
+			DescribeUpdatePackageResultOutcome describeUpdatePackageResult(const Model::DescribeUpdatePackageResultRequest &request)const;
+			void describeUpdatePackageResultAsync(const Model::DescribeUpdatePackageResultRequest& request, const DescribeUpdatePackageResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeUpdatePackageResultOutcomeCallable describeUpdatePackageResultCallable(const Model::DescribeUpdatePackageResultRequest& request) const;
 			DescribeUploadInfoOutcome describeUploadInfo(const Model::DescribeUploadInfoRequest &request)const;
 			void describeUploadInfoAsync(const Model::DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeUploadInfoOutcomeCallable describeUploadInfoCallable(const Model::DescribeUploadInfoRequest& request) const;
@@ -235,6 +264,9 @@ namespace AlibabaCloud
 			ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
 			void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
+			UpdateAppPackageOutcome updateAppPackage(const Model::UpdateAppPackageRequest &request)const;
+			void updateAppPackageAsync(const Model::UpdateAppPackageRequest& request, const UpdateAppPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			UpdateAppPackageOutcomeCallable updateAppPackageCallable(const Model::UpdateAppPackageRequest& request) const;
 			UpdateVerifySettingOutcome updateVerifySetting(const Model::UpdateVerifySettingRequest &request)const;
 			void updateVerifySettingAsync(const Model::UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			UpdateVerifySettingOutcomeCallable updateVerifySettingCallable(const Model::UpdateVerifySettingRequest& request) const;

+ 57 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeAppInfoRequest.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeAppInfoRequest : public RpcServiceRequest
+			{
+
+			public:
+				DescribeAppInfoRequest();
+				~DescribeAppInfoRequest();
+
+				int getCurrentPage()const;
+				void setCurrentPage(int currentPage);
+				std::string getPlatform()const;
+				void setPlatform(const std::string& platform);
+				std::string getSourceIp()const;
+				void setSourceIp(const std::string& sourceIp);
+				int getPageSize()const;
+				void setPageSize(int pageSize);
+
+            private:
+				int currentPage_;
+				std::string platform_;
+				std::string sourceIp_;
+				int pageSize_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_

+ 77 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeAppInfoResult.h

@@ -0,0 +1,77 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFORESULT_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFORESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeAppInfoResult : public ServiceResult
+			{
+			public:
+				struct AppInfo
+				{
+					struct PackageInfo
+					{
+						std::string version;
+					};
+					struct DebugPackageInfo
+					{
+						std::string version;
+					};
+					std::string startDate;
+					int type;
+					DebugPackageInfo debugPackageInfo;
+					std::string packageName;
+					PackageInfo packageInfo;
+					long id;
+					std::string icon;
+					std::string endDate;
+					std::string name;
+				};
+
+
+				DescribeAppInfoResult();
+				explicit DescribeAppInfoResult(const std::string &payload);
+				~DescribeAppInfoResult();
+				int getTotalCount()const;
+				int getPageSize()const;
+				int getCurrentPage()const;
+				std::vector<AppInfo> getAppInfoList()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				int totalCount_;
+				int pageSize_;
+				int currentPage_;
+				std::vector<AppInfo> appInfoList_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFORESULT_H_

+ 54 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeSdkUrlRequest.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_CLOUDAUTH_MODEL_DESCRIBESDKURLREQUEST_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBESDKURLREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeSdkUrlRequest : public RpcServiceRequest
+			{
+
+			public:
+				DescribeSdkUrlRequest();
+				~DescribeSdkUrlRequest();
+
+				bool getDebug()const;
+				void setDebug(bool debug);
+				std::string getSourceIp()const;
+				void setSourceIp(const std::string& sourceIp);
+				long getId()const;
+				void setId(long id);
+
+            private:
+				bool debug_;
+				std::string sourceIp_;
+				long id_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBESDKURLREQUEST_H_

+ 51 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeSdkUrlResult.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_CLOUDAUTH_MODEL_DESCRIBESDKURLRESULT_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBESDKURLRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeSdkUrlResult : public ServiceResult
+			{
+			public:
+
+
+				DescribeSdkUrlResult();
+				explicit DescribeSdkUrlResult(const std::string &payload);
+				~DescribeSdkUrlResult();
+				std::string getSdkUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string sdkUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBESDKURLRESULT_H_

+ 51 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultRequest.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_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUpdatePackageResultRequest : public RpcServiceRequest
+			{
+
+			public:
+				DescribeUpdatePackageResultRequest();
+				~DescribeUpdatePackageResultRequest();
+
+				std::string getSourceIp()const;
+				void setSourceIp(const std::string& sourceIp);
+				std::string getTaskId()const;
+				void setTaskId(const std::string& taskId);
+
+            private:
+				std::string sourceIp_;
+				std::string taskId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTREQUEST_H_

+ 71 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultResult.h

@@ -0,0 +1,71 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUpdatePackageResultResult : public ServiceResult
+			{
+			public:
+				struct AppInfo
+				{
+					struct PackageInfo
+					{
+						std::string version;
+					};
+					struct DebugPackageInfo
+					{
+						std::string version;
+					};
+					std::string startDate;
+					int type;
+					DebugPackageInfo debugPackageInfo;
+					std::string packageName;
+					PackageInfo packageInfo;
+					long id;
+					std::string icon;
+					std::string endDate;
+					std::string name;
+				};
+
+
+				DescribeUpdatePackageResultResult();
+				explicit DescribeUpdatePackageResultResult(const std::string &payload);
+				~DescribeUpdatePackageResultResult();
+				AppInfo getAppInfo()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				AppInfo appInfo_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPDATEPACKAGERESULTRESULT_H_

+ 3 - 0
cloudauth/include/alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h

@@ -35,10 +35,13 @@ namespace AlibabaCloud
 				DescribeUploadInfoRequest();
 				~DescribeUploadInfoRequest();
 
+				std::string getBiz()const;
+				void setBiz(const std::string& biz);
 				std::string getSourceIp()const;
 				void setSourceIp(const std::string& sourceIp);
 
             private:
+				std::string biz_;
 				std::string sourceIp_;
 
 			};

+ 60 - 0
cloudauth/include/alibabacloud/cloudauth/model/UpdateAppPackageRequest.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_CLOUDAUTH_MODEL_UPDATEAPPPACKAGEREQUEST_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEAPPPACKAGEREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateAppPackageRequest : public RpcServiceRequest
+			{
+
+			public:
+				UpdateAppPackageRequest();
+				~UpdateAppPackageRequest();
+
+				bool getDebug()const;
+				void setDebug(bool debug);
+				std::string getPlatform()const;
+				void setPlatform(const std::string& platform);
+				std::string getSourceIp()const;
+				void setSourceIp(const std::string& sourceIp);
+				std::string getPackageUrl()const;
+				void setPackageUrl(const std::string& packageUrl);
+				long getId()const;
+				void setId(long id);
+
+            private:
+				bool debug_;
+				std::string platform_;
+				std::string sourceIp_;
+				std::string packageUrl_;
+				long id_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEAPPPACKAGEREQUEST_H_

+ 51 - 0
cloudauth/include/alibabacloud/cloudauth/model/UpdateAppPackageResult.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_CLOUDAUTH_MODEL_UPDATEAPPPACKAGERESULT_H_
+#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEAPPPACKAGERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/cloudauth/CloudauthExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Cloudauth
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateAppPackageResult : public ServiceResult
+			{
+			public:
+
+
+				UpdateAppPackageResult();
+				explicit UpdateAppPackageResult(const std::string &payload);
+				~UpdateAppPackageResult();
+				std::string getTaskId()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string taskId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEAPPPACKAGERESULT_H_

+ 144 - 0
cloudauth/src/CloudauthClient.cc

@@ -267,6 +267,42 @@ CloudauthClient::CreateVerifySettingOutcomeCallable CloudauthClient::createVerif
 	return task->get_future();
 }
 
+CloudauthClient::DescribeAppInfoOutcome CloudauthClient::describeAppInfo(const DescribeAppInfoRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeAppInfoOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeAppInfoOutcome(DescribeAppInfoResult(outcome.result()));
+	else
+		return DescribeAppInfoOutcome(outcome.error());
+}
+
+void CloudauthClient::describeAppInfoAsync(const DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeAppInfo(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudauthClient::DescribeAppInfoOutcomeCallable CloudauthClient::describeAppInfoCallable(const DescribeAppInfoRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeAppInfoOutcome()>>(
+			[this, request]()
+			{
+			return this->describeAppInfo(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CloudauthClient::DescribeDeviceInfoOutcome CloudauthClient::describeDeviceInfo(const DescribeDeviceInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,6 +483,78 @@ CloudauthClient::DescribeRPSDKOutcomeCallable CloudauthClient::describeRPSDKCall
 	return task->get_future();
 }
 
+CloudauthClient::DescribeSdkUrlOutcome CloudauthClient::describeSdkUrl(const DescribeSdkUrlRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeSdkUrlOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeSdkUrlOutcome(DescribeSdkUrlResult(outcome.result()));
+	else
+		return DescribeSdkUrlOutcome(outcome.error());
+}
+
+void CloudauthClient::describeSdkUrlAsync(const DescribeSdkUrlRequest& request, const DescribeSdkUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeSdkUrl(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudauthClient::DescribeSdkUrlOutcomeCallable CloudauthClient::describeSdkUrlCallable(const DescribeSdkUrlRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeSdkUrlOutcome()>>(
+			[this, request]()
+			{
+			return this->describeSdkUrl(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+CloudauthClient::DescribeUpdatePackageResultOutcome CloudauthClient::describeUpdatePackageResult(const DescribeUpdatePackageResultRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeUpdatePackageResultOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeUpdatePackageResultOutcome(DescribeUpdatePackageResultResult(outcome.result()));
+	else
+		return DescribeUpdatePackageResultOutcome(outcome.error());
+}
+
+void CloudauthClient::describeUpdatePackageResultAsync(const DescribeUpdatePackageResultRequest& request, const DescribeUpdatePackageResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeUpdatePackageResult(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudauthClient::DescribeUpdatePackageResultOutcomeCallable CloudauthClient::describeUpdatePackageResultCallable(const DescribeUpdatePackageResultRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeUpdatePackageResultOutcome()>>(
+			[this, request]()
+			{
+			return this->describeUpdatePackageResult(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CloudauthClient::DescribeUploadInfoOutcome CloudauthClient::describeUploadInfo(const DescribeUploadInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +987,42 @@ CloudauthClient::ModifyDeviceInfoOutcomeCallable CloudauthClient::modifyDeviceIn
 	return task->get_future();
 }
 
+CloudauthClient::UpdateAppPackageOutcome CloudauthClient::updateAppPackage(const UpdateAppPackageRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return UpdateAppPackageOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return UpdateAppPackageOutcome(UpdateAppPackageResult(outcome.result()));
+	else
+		return UpdateAppPackageOutcome(outcome.error());
+}
+
+void CloudauthClient::updateAppPackageAsync(const UpdateAppPackageRequest& request, const UpdateAppPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, updateAppPackage(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CloudauthClient::UpdateAppPackageOutcomeCallable CloudauthClient::updateAppPackageCallable(const UpdateAppPackageRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<UpdateAppPackageOutcome()>>(
+			[this, request]()
+			{
+			return this->updateAppPackage(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CloudauthClient::UpdateVerifySettingOutcome CloudauthClient::updateVerifySetting(const UpdateVerifySettingRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 15 - 15
cloudauth/src/model/ContrastFaceVerifyRequest.cc

@@ -35,7 +35,7 @@ std::string ContrastFaceVerifyRequest::getProductCode()const
 void ContrastFaceVerifyRequest::setProductCode(const std::string& productCode)
 {
 	productCode_ = productCode;
-	setParameter("ProductCode", productCode);
+	setBodyParameter("ProductCode", productCode);
 }
 
 std::string ContrastFaceVerifyRequest::getOssObjectName()const
@@ -46,7 +46,7 @@ std::string ContrastFaceVerifyRequest::getOssObjectName()const
 void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
 {
 	ossObjectName_ = ossObjectName;
-	setParameter("OssObjectName", ossObjectName);
+	setBodyParameter("OssObjectName", ossObjectName);
 }
 
 std::string ContrastFaceVerifyRequest::getFaceContrastPicture()const
@@ -57,7 +57,7 @@ std::string ContrastFaceVerifyRequest::getFaceContrastPicture()const
 void ContrastFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
 {
 	faceContrastPicture_ = faceContrastPicture;
-	setParameter("FaceContrastPicture", faceContrastPicture);
+	setBodyParameter("FaceContrastPicture", faceContrastPicture);
 }
 
 std::string ContrastFaceVerifyRequest::getCertName()const
@@ -68,7 +68,7 @@ std::string ContrastFaceVerifyRequest::getCertName()const
 void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
 {
 	certName_ = certName;
-	setParameter("CertName", certName);
+	setBodyParameter("CertName", certName);
 }
 
 std::string ContrastFaceVerifyRequest::getIp()const
@@ -79,7 +79,7 @@ std::string ContrastFaceVerifyRequest::getIp()const
 void ContrastFaceVerifyRequest::setIp(const std::string& ip)
 {
 	ip_ = ip;
-	setParameter("Ip", ip);
+	setBodyParameter("Ip", ip);
 }
 
 std::string ContrastFaceVerifyRequest::getMobile()const
@@ -90,7 +90,7 @@ std::string ContrastFaceVerifyRequest::getMobile()const
 void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
 {
 	mobile_ = mobile;
-	setParameter("Mobile", mobile);
+	setBodyParameter("Mobile", mobile);
 }
 
 std::string ContrastFaceVerifyRequest::getDeviceToken()const
@@ -101,7 +101,7 @@ std::string ContrastFaceVerifyRequest::getDeviceToken()const
 void ContrastFaceVerifyRequest::setDeviceToken(const std::string& deviceToken)
 {
 	deviceToken_ = deviceToken;
-	setParameter("DeviceToken", deviceToken);
+	setBodyParameter("DeviceToken", deviceToken);
 }
 
 std::string ContrastFaceVerifyRequest::getUserId()const
@@ -112,7 +112,7 @@ std::string ContrastFaceVerifyRequest::getUserId()const
 void ContrastFaceVerifyRequest::setUserId(const std::string& userId)
 {
 	userId_ = userId;
-	setParameter("UserId", userId);
+	setBodyParameter("UserId", userId);
 }
 
 std::string ContrastFaceVerifyRequest::getCertifyId()const
@@ -123,7 +123,7 @@ std::string ContrastFaceVerifyRequest::getCertifyId()const
 void ContrastFaceVerifyRequest::setCertifyId(const std::string& certifyId)
 {
 	certifyId_ = certifyId;
-	setParameter("CertifyId", certifyId);
+	setBodyParameter("CertifyId", certifyId);
 }
 
 std::string ContrastFaceVerifyRequest::getCertNo()const
@@ -134,7 +134,7 @@ std::string ContrastFaceVerifyRequest::getCertNo()const
 void ContrastFaceVerifyRequest::setCertNo(const std::string& certNo)
 {
 	certNo_ = certNo;
-	setParameter("CertNo", certNo);
+	setBodyParameter("CertNo", certNo);
 }
 
 std::string ContrastFaceVerifyRequest::getOuterOrderNo()const
@@ -145,7 +145,7 @@ std::string ContrastFaceVerifyRequest::getOuterOrderNo()const
 void ContrastFaceVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
 {
 	outerOrderNo_ = outerOrderNo;
-	setParameter("OuterOrderNo", outerOrderNo);
+	setBodyParameter("OuterOrderNo", outerOrderNo);
 }
 
 std::string ContrastFaceVerifyRequest::getCertType()const
@@ -156,7 +156,7 @@ std::string ContrastFaceVerifyRequest::getCertType()const
 void ContrastFaceVerifyRequest::setCertType(const std::string& certType)
 {
 	certType_ = certType;
-	setParameter("CertType", certType);
+	setBodyParameter("CertType", certType);
 }
 
 std::string ContrastFaceVerifyRequest::getFaceContrastPictureUrl()const
@@ -167,7 +167,7 @@ std::string ContrastFaceVerifyRequest::getFaceContrastPictureUrl()const
 void ContrastFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
 {
 	faceContrastPictureUrl_ = faceContrastPictureUrl;
-	setParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
+	setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
 }
 
 long ContrastFaceVerifyRequest::getSceneId()const
@@ -178,7 +178,7 @@ long ContrastFaceVerifyRequest::getSceneId()const
 void ContrastFaceVerifyRequest::setSceneId(long sceneId)
 {
 	sceneId_ = sceneId;
-	setParameter("SceneId", std::to_string(sceneId));
+	setBodyParameter("SceneId", std::to_string(sceneId));
 }
 
 std::string ContrastFaceVerifyRequest::getOssBucketName()const
@@ -189,6 +189,6 @@ std::string ContrastFaceVerifyRequest::getOssBucketName()const
 void ContrastFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
 {
 	ossBucketName_ = ossBucketName;
-	setParameter("OssBucketName", ossBucketName);
+	setBodyParameter("OssBucketName", ossBucketName);
 }
 

+ 73 - 0
cloudauth/src/model/DescribeAppInfoRequest.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudauth/model/DescribeAppInfoRequest.h>
+
+using AlibabaCloud::Cloudauth::Model::DescribeAppInfoRequest;
+
+DescribeAppInfoRequest::DescribeAppInfoRequest() :
+	RpcServiceRequest("cloudauth", "2019-03-07", "DescribeAppInfo")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeAppInfoRequest::~DescribeAppInfoRequest()
+{}
+
+int DescribeAppInfoRequest::getCurrentPage()const
+{
+	return currentPage_;
+}
+
+void DescribeAppInfoRequest::setCurrentPage(int currentPage)
+{
+	currentPage_ = currentPage;
+	setParameter("CurrentPage", std::to_string(currentPage));
+}
+
+std::string DescribeAppInfoRequest::getPlatform()const
+{
+	return platform_;
+}
+
+void DescribeAppInfoRequest::setPlatform(const std::string& platform)
+{
+	platform_ = platform;
+	setParameter("Platform", platform);
+}
+
+std::string DescribeAppInfoRequest::getSourceIp()const
+{
+	return sourceIp_;
+}
+
+void DescribeAppInfoRequest::setSourceIp(const std::string& sourceIp)
+{
+	sourceIp_ = sourceIp;
+	setParameter("SourceIp", sourceIp);
+}
+
+int DescribeAppInfoRequest::getPageSize()const
+{
+	return pageSize_;
+}
+
+void DescribeAppInfoRequest::setPageSize(int pageSize)
+{
+	pageSize_ = pageSize;
+	setParameter("PageSize", std::to_string(pageSize));
+}
+

+ 96 - 0
cloudauth/src/model/DescribeAppInfoResult.cc

@@ -0,0 +1,96 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudauth/model/DescribeAppInfoResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudauth;
+using namespace AlibabaCloud::Cloudauth::Model;
+
+DescribeAppInfoResult::DescribeAppInfoResult() :
+	ServiceResult()
+{}
+
+DescribeAppInfoResult::DescribeAppInfoResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeAppInfoResult::~DescribeAppInfoResult()
+{}
+
+void DescribeAppInfoResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allAppInfoListNode = value["AppInfoList"]["AppInfo"];
+	for (auto valueAppInfoListAppInfo : allAppInfoListNode)
+	{
+		AppInfo appInfoListObject;
+		if(!valueAppInfoListAppInfo["Id"].isNull())
+			appInfoListObject.id = std::stol(valueAppInfoListAppInfo["Id"].asString());
+		if(!valueAppInfoListAppInfo["Name"].isNull())
+			appInfoListObject.name = valueAppInfoListAppInfo["Name"].asString();
+		if(!valueAppInfoListAppInfo["PackageName"].isNull())
+			appInfoListObject.packageName = valueAppInfoListAppInfo["PackageName"].asString();
+		if(!valueAppInfoListAppInfo["Icon"].isNull())
+			appInfoListObject.icon = valueAppInfoListAppInfo["Icon"].asString();
+		if(!valueAppInfoListAppInfo["StartDate"].isNull())
+			appInfoListObject.startDate = valueAppInfoListAppInfo["StartDate"].asString();
+		if(!valueAppInfoListAppInfo["EndDate"].isNull())
+			appInfoListObject.endDate = valueAppInfoListAppInfo["EndDate"].asString();
+		if(!valueAppInfoListAppInfo["Type"].isNull())
+			appInfoListObject.type = std::stoi(valueAppInfoListAppInfo["Type"].asString());
+		auto packageInfoNode = value["PackageInfo"];
+		if(!packageInfoNode["Version"].isNull())
+			appInfoListObject.packageInfo.version = packageInfoNode["Version"].asString();
+		auto debugPackageInfoNode = value["DebugPackageInfo"];
+		if(!debugPackageInfoNode["Version"].isNull())
+			appInfoListObject.debugPackageInfo.version = debugPackageInfoNode["Version"].asString();
+		appInfoList_.push_back(appInfoListObject);
+	}
+	if(!value["PageSize"].isNull())
+		pageSize_ = std::stoi(value["PageSize"].asString());
+	if(!value["CurrentPage"].isNull())
+		currentPage_ = std::stoi(value["CurrentPage"].asString());
+	if(!value["TotalCount"].isNull())
+		totalCount_ = std::stoi(value["TotalCount"].asString());
+
+}
+
+int DescribeAppInfoResult::getTotalCount()const
+{
+	return totalCount_;
+}
+
+int DescribeAppInfoResult::getPageSize()const
+{
+	return pageSize_;
+}
+
+int DescribeAppInfoResult::getCurrentPage()const
+{
+	return currentPage_;
+}
+
+std::vector<DescribeAppInfoResult::AppInfo> DescribeAppInfoResult::getAppInfoList()const
+{
+	return appInfoList_;
+}
+

+ 62 - 0
cloudauth/src/model/DescribeSdkUrlRequest.cc

@@ -0,0 +1,62 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudauth/model/DescribeSdkUrlRequest.h>
+
+using AlibabaCloud::Cloudauth::Model::DescribeSdkUrlRequest;
+
+DescribeSdkUrlRequest::DescribeSdkUrlRequest() :
+	RpcServiceRequest("cloudauth", "2019-03-07", "DescribeSdkUrl")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeSdkUrlRequest::~DescribeSdkUrlRequest()
+{}
+
+bool DescribeSdkUrlRequest::getDebug()const
+{
+	return debug_;
+}
+
+void DescribeSdkUrlRequest::setDebug(bool debug)
+{
+	debug_ = debug;
+	setParameter("Debug", debug ? "true" : "false");
+}
+
+std::string DescribeSdkUrlRequest::getSourceIp()const
+{
+	return sourceIp_;
+}
+
+void DescribeSdkUrlRequest::setSourceIp(const std::string& sourceIp)
+{
+	sourceIp_ = sourceIp;
+	setParameter("SourceIp", sourceIp);
+}
+
+long DescribeSdkUrlRequest::getId()const
+{
+	return id_;
+}
+
+void DescribeSdkUrlRequest::setId(long id)
+{
+	id_ = id;
+	setParameter("Id", std::to_string(id));
+}
+

+ 51 - 0
cloudauth/src/model/DescribeSdkUrlResult.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 <alibabacloud/cloudauth/model/DescribeSdkUrlResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudauth;
+using namespace AlibabaCloud::Cloudauth::Model;
+
+DescribeSdkUrlResult::DescribeSdkUrlResult() :
+	ServiceResult()
+{}
+
+DescribeSdkUrlResult::DescribeSdkUrlResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeSdkUrlResult::~DescribeSdkUrlResult()
+{}
+
+void DescribeSdkUrlResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["SdkUrl"].isNull())
+		sdkUrl_ = value["SdkUrl"].asString();
+
+}
+
+std::string DescribeSdkUrlResult::getSdkUrl()const
+{
+	return sdkUrl_;
+}
+

+ 51 - 0
cloudauth/src/model/DescribeUpdatePackageResultRequest.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 <alibabacloud/cloudauth/model/DescribeUpdatePackageResultRequest.h>
+
+using AlibabaCloud::Cloudauth::Model::DescribeUpdatePackageResultRequest;
+
+DescribeUpdatePackageResultRequest::DescribeUpdatePackageResultRequest() :
+	RpcServiceRequest("cloudauth", "2019-03-07", "DescribeUpdatePackageResult")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeUpdatePackageResultRequest::~DescribeUpdatePackageResultRequest()
+{}
+
+std::string DescribeUpdatePackageResultRequest::getSourceIp()const
+{
+	return sourceIp_;
+}
+
+void DescribeUpdatePackageResultRequest::setSourceIp(const std::string& sourceIp)
+{
+	sourceIp_ = sourceIp;
+	setParameter("SourceIp", sourceIp);
+}
+
+std::string DescribeUpdatePackageResultRequest::getTaskId()const
+{
+	return taskId_;
+}
+
+void DescribeUpdatePackageResultRequest::setTaskId(const std::string& taskId)
+{
+	taskId_ = taskId;
+	setParameter("TaskId", taskId);
+}
+

+ 70 - 0
cloudauth/src/model/DescribeUpdatePackageResultResult.cc

@@ -0,0 +1,70 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudauth/model/DescribeUpdatePackageResultResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudauth;
+using namespace AlibabaCloud::Cloudauth::Model;
+
+DescribeUpdatePackageResultResult::DescribeUpdatePackageResultResult() :
+	ServiceResult()
+{}
+
+DescribeUpdatePackageResultResult::DescribeUpdatePackageResultResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeUpdatePackageResultResult::~DescribeUpdatePackageResultResult()
+{}
+
+void DescribeUpdatePackageResultResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto appInfoNode = value["AppInfo"];
+	if(!appInfoNode["Id"].isNull())
+		appInfo_.id = std::stol(appInfoNode["Id"].asString());
+	if(!appInfoNode["Name"].isNull())
+		appInfo_.name = appInfoNode["Name"].asString();
+	if(!appInfoNode["PackageName"].isNull())
+		appInfo_.packageName = appInfoNode["PackageName"].asString();
+	if(!appInfoNode["Icon"].isNull())
+		appInfo_.icon = appInfoNode["Icon"].asString();
+	if(!appInfoNode["StartDate"].isNull())
+		appInfo_.startDate = appInfoNode["StartDate"].asString();
+	if(!appInfoNode["EndDate"].isNull())
+		appInfo_.endDate = appInfoNode["EndDate"].asString();
+	if(!appInfoNode["Type"].isNull())
+		appInfo_.type = std::stoi(appInfoNode["Type"].asString());
+	auto packageInfoNode = appInfoNode["PackageInfo"];
+	if(!packageInfoNode["Version"].isNull())
+		appInfo_.packageInfo.version = packageInfoNode["Version"].asString();
+	auto debugPackageInfoNode = appInfoNode["DebugPackageInfo"];
+	if(!debugPackageInfoNode["Version"].isNull())
+		appInfo_.debugPackageInfo.version = debugPackageInfoNode["Version"].asString();
+
+}
+
+DescribeUpdatePackageResultResult::AppInfo DescribeUpdatePackageResultResult::getAppInfo()const
+{
+	return appInfo_;
+}
+

+ 11 - 0
cloudauth/src/model/DescribeUploadInfoRequest.cc

@@ -27,6 +27,17 @@ DescribeUploadInfoRequest::DescribeUploadInfoRequest() :
 DescribeUploadInfoRequest::~DescribeUploadInfoRequest()
 {}
 
+std::string DescribeUploadInfoRequest::getBiz()const
+{
+	return biz_;
+}
+
+void DescribeUploadInfoRequest::setBiz(const std::string& biz)
+{
+	biz_ = biz;
+	setParameter("Biz", biz);
+}
+
 std::string DescribeUploadInfoRequest::getSourceIp()const
 {
 	return sourceIp_;

+ 1 - 1
cloudauth/src/model/InitFaceVerifyRequest.cc

@@ -46,7 +46,7 @@ std::string InitFaceVerifyRequest::getFaceContrastPicture()const
 void InitFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
 {
 	faceContrastPicture_ = faceContrastPicture;
-	setParameter("FaceContrastPicture", faceContrastPicture);
+	setBodyParameter("FaceContrastPicture", faceContrastPicture);
 }
 
 std::string InitFaceVerifyRequest::getUserId()const

+ 84 - 0
cloudauth/src/model/UpdateAppPackageRequest.cc

@@ -0,0 +1,84 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cloudauth/model/UpdateAppPackageRequest.h>
+
+using AlibabaCloud::Cloudauth::Model::UpdateAppPackageRequest;
+
+UpdateAppPackageRequest::UpdateAppPackageRequest() :
+	RpcServiceRequest("cloudauth", "2019-03-07", "UpdateAppPackage")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+UpdateAppPackageRequest::~UpdateAppPackageRequest()
+{}
+
+bool UpdateAppPackageRequest::getDebug()const
+{
+	return debug_;
+}
+
+void UpdateAppPackageRequest::setDebug(bool debug)
+{
+	debug_ = debug;
+	setParameter("Debug", debug ? "true" : "false");
+}
+
+std::string UpdateAppPackageRequest::getPlatform()const
+{
+	return platform_;
+}
+
+void UpdateAppPackageRequest::setPlatform(const std::string& platform)
+{
+	platform_ = platform;
+	setParameter("Platform", platform);
+}
+
+std::string UpdateAppPackageRequest::getSourceIp()const
+{
+	return sourceIp_;
+}
+
+void UpdateAppPackageRequest::setSourceIp(const std::string& sourceIp)
+{
+	sourceIp_ = sourceIp;
+	setParameter("SourceIp", sourceIp);
+}
+
+std::string UpdateAppPackageRequest::getPackageUrl()const
+{
+	return packageUrl_;
+}
+
+void UpdateAppPackageRequest::setPackageUrl(const std::string& packageUrl)
+{
+	packageUrl_ = packageUrl;
+	setParameter("PackageUrl", packageUrl);
+}
+
+long UpdateAppPackageRequest::getId()const
+{
+	return id_;
+}
+
+void UpdateAppPackageRequest::setId(long id)
+{
+	id_ = id;
+	setParameter("Id", std::to_string(id));
+}
+

+ 51 - 0
cloudauth/src/model/UpdateAppPackageResult.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 <alibabacloud/cloudauth/model/UpdateAppPackageResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Cloudauth;
+using namespace AlibabaCloud::Cloudauth::Model;
+
+UpdateAppPackageResult::UpdateAppPackageResult() :
+	ServiceResult()
+{}
+
+UpdateAppPackageResult::UpdateAppPackageResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+UpdateAppPackageResult::~UpdateAppPackageResult()
+{}
+
+void UpdateAppPackageResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["TaskId"].isNull())
+		taskId_ = value["TaskId"].asString();
+
+}
+
+std::string UpdateAppPackageResult::getTaskId()const
+{
+	return taskId_;
+}
+