Просмотр исходного кода

Update DetectVehicleICongestion DetectVehicleIllegalParking.

sdk-team 4 лет назад
Родитель
Сommit
3be7e28fb6
53 измененных файлов с 1952 добавлено и 1688 удалено
  1. 1 1
      VERSION
  2. 40 37
      objectdet/include/alibabacloud/objectdet/model/ClassifyVehicleInsuranceRequest.h
  3. 40 43
      objectdet/include/alibabacloud/objectdet/model/DetectIPCObjectRequest.h
  4. 43 49
      objectdet/include/alibabacloud/objectdet/model/DetectKitchenAnimalsRequest.h
  5. 40 37
      objectdet/include/alibabacloud/objectdet/model/DetectMainBodyRequest.h
  6. 40 37
      objectdet/include/alibabacloud/objectdet/model/DetectObjectRequest.h
  7. 40 37
      objectdet/include/alibabacloud/objectdet/model/DetectTransparentImageRequest.h
  8. 67 58
      objectdet/include/alibabacloud/objectdet/model/DetectVehicleICongestionRequest.h
  9. 60 55
      objectdet/include/alibabacloud/objectdet/model/DetectVehicleIllegalParkingRequest.h
  10. 43 40
      objectdet/include/alibabacloud/objectdet/model/DetectVehicleRequest.h
  11. 1 1
      objectdet/include/alibabacloud/objectdet/model/DetectVehicleResult.h
  12. 61 58
      objectdet/include/alibabacloud/objectdet/model/DetectVideoFrameRequest.h
  13. 49 52
      objectdet/include/alibabacloud/objectdet/model/DetectVideoIPCObjectRequest.h
  14. 40 37
      objectdet/include/alibabacloud/objectdet/model/DetectWhiteBaseImageRequest.h
  15. 50 52
      objectdet/include/alibabacloud/objectdet/model/DetectWorkwearRequest.h
  16. 44 43
      objectdet/include/alibabacloud/objectdet/model/GenerateVehicleRepairPlanRequest.h
  17. 43 40
      objectdet/include/alibabacloud/objectdet/model/GetAsyncJobResultRequest.h
  18. 46 43
      objectdet/include/alibabacloud/objectdet/model/GetVehicleRepairPlanRequest.h
  19. 1 1
      objectdet/include/alibabacloud/objectdet/model/GetVehicleRepairPlanResult.h
  20. 40 37
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDamageRequest.h
  21. 1 1
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDamageResult.h
  22. 40 37
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDashboardRequest.h
  23. 1 1
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDashboardResult.h
  24. 40 37
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehiclePartsRequest.h
  25. 1 1
      objectdet/include/alibabacloud/objectdet/model/RecognizeVehiclePartsResult.h
  26. 3 3
      objectdet/src/ObjectdetClient.cc
  27. 50 27
      objectdet/src/model/ClassifyVehicleInsuranceRequest.cc
  28. 50 49
      objectdet/src/model/DetectIPCObjectRequest.cc
  29. 41 53
      objectdet/src/model/DetectKitchenAnimalsRequest.cc
  30. 50 27
      objectdet/src/model/DetectMainBodyRequest.cc
  31. 4 4
      objectdet/src/model/DetectMainBodyResult.cc
  32. 50 27
      objectdet/src/model/DetectObjectRequest.cc
  33. 50 27
      objectdet/src/model/DetectTransparentImageRequest.cc
  34. 65 74
      objectdet/src/model/DetectVehicleICongestionRequest.cc
  35. 56 67
      objectdet/src/model/DetectVehicleIllegalParkingRequest.cc
  36. 59 38
      objectdet/src/model/DetectVehicleRequest.cc
  37. 2 2
      objectdet/src/model/DetectVehicleResult.cc
  38. 85 74
      objectdet/src/model/DetectVideoFrameRequest.cc
  39. 55 60
      objectdet/src/model/DetectVideoIPCObjectRequest.cc
  40. 50 27
      objectdet/src/model/DetectWhiteBaseImageRequest.cc
  41. 46 62
      objectdet/src/model/DetectWorkwearRequest.cc
  42. 55 32
      objectdet/src/model/GenerateVehicleRepairPlanRequest.cc
  43. 2 2
      objectdet/src/model/GenerateVehicleRepairPlanResult.cc
  44. 59 38
      objectdet/src/model/GetAsyncJobResultRequest.cc
  45. 4 4
      objectdet/src/model/GetAsyncJobResultResult.cc
  46. 68 49
      objectdet/src/model/GetVehicleRepairPlanRequest.cc
  47. 20 20
      objectdet/src/model/GetVehicleRepairPlanResult.cc
  48. 50 27
      objectdet/src/model/RecognizeVehicleDamageRequest.cc
  49. 2 2
      objectdet/src/model/RecognizeVehicleDamageResult.cc
  50. 50 27
      objectdet/src/model/RecognizeVehicleDashboardRequest.cc
  51. 2 2
      objectdet/src/model/RecognizeVehicleDashboardResult.cc
  52. 50 27
      objectdet/src/model/RecognizeVehiclePartsRequest.cc
  53. 2 2
      objectdet/src/model/RecognizeVehiclePartsResult.cc

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1282
+1.36.1283

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/ClassifyVehicleInsuranceRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT ClassifyVehicleInsuranceRequest : public RpcServiceRequest
-			{
-
-			public:
-				ClassifyVehicleInsuranceRequest();
-				~ClassifyVehicleInsuranceRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT ClassifyVehicleInsuranceRequest : public RpcServiceRequest {
+public:
+	ClassifyVehicleInsuranceRequest();
+	~ClassifyVehicleInsuranceRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_CLASSIFYVEHICLEINSURANCEREQUEST_H_

+ 40 - 43
objectdet/include/alibabacloud/objectdet/model/DetectIPCObjectRequest.h

@@ -1,54 +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_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectIPCObjectRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectIPCObjectRequest();
-				~DetectIPCObjectRequest();
-
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectIPCObjectRequest : public RpcServiceRequest {
+public:
+	DetectIPCObjectRequest();
+	~DetectIPCObjectRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTIPCOBJECTREQUEST_H_

+ 43 - 49
objectdet/include/alibabacloud/objectdet/model/DetectKitchenAnimalsRequest.h

@@ -1,60 +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_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectKitchenAnimalsRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectKitchenAnimalsRequest();
-				~DetectKitchenAnimalsRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getImageURLB()const;
-				void setImageURLB(const std::string& imageURLB);
-				std::string getImageURLA()const;
-				void setImageURLA(const std::string& imageURLA);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-
-            private:
-				bool formatResultToJson_;
-				std::string imageURLB_;
-				std::string imageURLA_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectKitchenAnimalsRequest : public RpcServiceRequest {
+public:
+	DetectKitchenAnimalsRequest();
+	~DetectKitchenAnimalsRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getImageURLB() const;
+	void setImageURLB(const std::string &imageURLB);
+	std::string getImageURLA() const;
+	void setImageURLA(const std::string &imageURLA);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+
+private:
+	bool formatResultToJson_;
+	std::string imageURLB_;
+	std::string imageURLA_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/DetectMainBodyRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectMainBodyRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectMainBodyRequest();
-				~DetectMainBodyRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectMainBodyRequest : public RpcServiceRequest {
+public:
+	DetectMainBodyRequest();
+	~DetectMainBodyRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTMAINBODYREQUEST_H_

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/DetectObjectRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectObjectRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectObjectRequest();
-				~DetectObjectRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectObjectRequest : public RpcServiceRequest {
+public:
+	DetectObjectRequest();
+	~DetectObjectRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTOBJECTREQUEST_H_

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/DetectTransparentImageRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectTransparentImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectTransparentImageRequest();
-				~DetectTransparentImageRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectTransparentImageRequest : public RpcServiceRequest {
+public:
+	DetectTransparentImageRequest();
+	~DetectTransparentImageRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTTRANSPARENTIMAGEREQUEST_H_

+ 67 - 58
objectdet/include/alibabacloud/objectdet/model/DetectVehicleICongestionRequest.h

@@ -1,69 +1,78 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleICongestionRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectVehicleICongestionRequest();
-				~DetectVehicleICongestionRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				Array getRoadRegions()const;
-				void setRoadRegions(const Array& roadRegions);
-				std::string getOriginRequestId()const;
-				void setOriginRequestId(const std::string& originRequestId);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				Array getPreRegionIntersectFeatures()const;
-				void setPreRegionIntersectFeatures(const Array& preRegionIntersectFeatures);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getStreamArn()const;
-				void setStreamArn(const std::string& streamArn);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				Array roadRegions_;
-				std::string originRequestId_;
-				std::string ossFile_;
-				Array preRegionIntersectFeatures_;
-				std::string requestProxyBy_;
-				std::string streamArn_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleICongestionRequest : public RpcServiceRequest {
+public:
+	struct RoadRegions {
+		struct RoadRegionItem {
+			struct Point {
+				long x;
+				long y;
+			};
+			Point point;
+		};
+		RoadRegionItem roadRegionItem;
+		std::vector<RoadRegionItem> roadRegion;
+	};
+	struct PreRegionIntersectFeatures {
+		std::string string;
+		std::vector<std::string> features;
+	};
+	DetectVehicleICongestionRequest();
+	~DetectVehicleICongestionRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::vector<RoadRegions> getRoadRegions() const;
+	void setRoadRegions(const std::vector<RoadRegions> &roadRegions);
+	std::string getOriginRequestId() const;
+	void setOriginRequestId(const std::string &originRequestId);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::vector<PreRegionIntersectFeatures> getPreRegionIntersectFeatures() const;
+	void setPreRegionIntersectFeatures(const std::vector<PreRegionIntersectFeatures> &preRegionIntersectFeatures);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getStreamArn() const;
+	void setStreamArn(const std::string &streamArn);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::vector<RoadRegions> roadRegions_;
+	std::string originRequestId_;
+	std::string ossFile_;
+	std::vector<PreRegionIntersectFeatures> preRegionIntersectFeatures_;
+	std::string requestProxyBy_;
+	std::string streamArn_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEICONGESTIONREQUEST_H_

+ 60 - 55
objectdet/include/alibabacloud/objectdet/model/DetectVehicleIllegalParkingRequest.h

@@ -1,66 +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_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleIllegalParkingRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectVehicleIllegalParkingRequest();
-				~DetectVehicleIllegalParkingRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				Array getRoadRegions()const;
-				void setRoadRegions(const Array& roadRegions);
-				std::string getOriginRequestId()const;
-				void setOriginRequestId(const std::string& originRequestId);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getStreamArn()const;
-				void setStreamArn(const std::string& streamArn);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				Array roadRegions_;
-				std::string originRequestId_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string streamArn_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleIllegalParkingRequest : public RpcServiceRequest {
+public:
+	struct RoadRegions {
+		struct RoadRegionItem {
+			struct Point {
+				long x;
+				long y;
+			};
+			Point point;
+		};
+		RoadRegionItem roadRegionItem;
+		std::vector<RoadRegionItem> roadRegion;
+	};
+	DetectVehicleIllegalParkingRequest();
+	~DetectVehicleIllegalParkingRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::vector<RoadRegions> getRoadRegions() const;
+	void setRoadRegions(const std::vector<RoadRegions> &roadRegions);
+	std::string getOriginRequestId() const;
+	void setOriginRequestId(const std::string &originRequestId);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getStreamArn() const;
+	void setStreamArn(const std::string &streamArn);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::vector<RoadRegions> roadRegions_;
+	std::string originRequestId_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string streamArn_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEILLEGALPARKINGREQUEST_H_

+ 43 - 40
objectdet/include/alibabacloud/objectdet/model/DetectVehicleRequest.h

@@ -1,51 +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_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectVehicleRequest();
-				~DetectVehicleRequest();
-
-				int getImageType()const;
-				void setImageType(int imageType);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				int imageType_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectVehicleRequest : public RpcServiceRequest {
+public:
+	DetectVehicleRequest();
+	~DetectVehicleRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	int getImageType() const;
+	void setImageType(int imageType);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	int imageType_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVEHICLEREQUEST_H_

+ 1 - 1
objectdet/include/alibabacloud/objectdet/model/DetectVehicleResult.h

@@ -36,8 +36,8 @@ namespace AlibabaCloud
 				{
 					struct DetectObjectInfo
 					{
-						float score;
 						std::string type;
+						float score;
 						int id;
 						std::vector<std::string> boxes;
 					};

+ 61 - 58
objectdet/include/alibabacloud/objectdet/model/DetectVideoFrameRequest.h

@@ -1,69 +1,72 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoFrameRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectVideoFrameRequest();
-				~DetectVideoFrameRequest();
-
-				Array getFeatures()const;
-				void setFeatures(const Array& features);
-				long getHeight()const;
-				void setHeight(long height);
-				long getCreateTime()const;
-				void setCreateTime(long createTime);
-				std::string getFeatureConfig()const;
-				void setFeatureConfig(const std::string& featureConfig);
-				long getOwnerId()const;
-				void setOwnerId(long ownerId);
-				std::string getStreamArn()const;
-				void setStreamArn(const std::string& streamArn);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-				long getWidth()const;
-				void setWidth(long width);
-
-            private:
-				Array features_;
-				long height_;
-				long createTime_;
-				std::string featureConfig_;
-				long ownerId_;
-				std::string streamArn_;
-				std::string imageURL_;
-				long width_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoFrameRequest : public RpcServiceRequest {
+public:
+	DetectVideoFrameRequest();
+	~DetectVideoFrameRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::vector<std::string> getFeatures() const;
+	void setFeatures(const std::vector<std::string> &features);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	long getHeight() const;
+	void setHeight(long height);
+	long getCreateTime() const;
+	void setCreateTime(long createTime);
+	std::string getFeatureConfig() const;
+	void setFeatureConfig(const std::string &featureConfig);
+	long getOwnerId() const;
+	void setOwnerId(long ownerId);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getStreamArn() const;
+	void setStreamArn(const std::string &streamArn);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+	long getWidth() const;
+	void setWidth(long width);
+
+private:
+	bool formatResultToJson_;
+	std::vector<std::string> features_;
+	std::string ossFile_;
+	long height_;
+	long createTime_;
+	std::string featureConfig_;
+	long ownerId_;
+	std::string requestProxyBy_;
+	std::string streamArn_;
+	std::string imageURL_;
+	long width_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_

+ 49 - 52
objectdet/include/alibabacloud/objectdet/model/DetectVideoIPCObjectRequest.h

@@ -1,63 +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_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoIPCObjectRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectVideoIPCObjectRequest();
-				~DetectVideoIPCObjectRequest();
-
-				long getStartTimestamp()const;
-				void setStartTimestamp(long startTimestamp);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				bool getCallbackOnlyHasObject()const;
-				void setCallbackOnlyHasObject(bool callbackOnlyHasObject);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				bool getAsync()const;
-				void setAsync(bool async);
-				std::string getVideoURL()const;
-				void setVideoURL(const std::string& videoURL);
-
-            private:
-				long startTimestamp_;
-				std::string ossFile_;
-				bool callbackOnlyHasObject_;
-				std::string requestProxyBy_;
-				bool async_;
-				std::string videoURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoIPCObjectRequest : public RpcServiceRequest {
+public:
+	DetectVideoIPCObjectRequest();
+	~DetectVideoIPCObjectRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	long getStartTimestamp() const;
+	void setStartTimestamp(long startTimestamp);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	bool getCallbackOnlyHasObject() const;
+	void setCallbackOnlyHasObject(bool callbackOnlyHasObject);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	bool getAsync() const;
+	void setAsync(bool async);
+	std::string getVideoURL() const;
+	void setVideoURL(const std::string &videoURL);
+
+private:
+	bool formatResultToJson_;
+	long startTimestamp_;
+	std::string ossFile_;
+	bool callbackOnlyHasObject_;
+	std::string requestProxyBy_;
+	bool async_;
+	std::string videoURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOIPCOBJECTREQUEST_H_

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/DetectWhiteBaseImageRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectWhiteBaseImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectWhiteBaseImageRequest();
-				~DetectWhiteBaseImageRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectWhiteBaseImageRequest : public RpcServiceRequest {
+public:
+	DetectWhiteBaseImageRequest();
+	~DetectWhiteBaseImageRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWHITEBASEIMAGEREQUEST_H_

+ 50 - 52
objectdet/include/alibabacloud/objectdet/model/DetectWorkwearRequest.h

@@ -1,63 +1,61 @@
 /*
  * 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_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT DetectWorkwearRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectWorkwearRequest();
-				~DetectWorkwearRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				Struct getClothes()const;
-				void setClothes(const Struct& clothes);
-				std::vector<std::string> getLabels()const;
-				void setLabels(const std::vector<std::string>& labels);
-				std::string getImageUrl()const;
-				void setImageUrl(const std::string& imageUrl);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				Struct clothes_;
-				std::vector<std::string> labels_;
-				std::string imageUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT DetectWorkwearRequest : public RpcServiceRequest {
+public:
+	struct Clothes {
+		double threshold;
+		long maxNum;
+	};
+	DetectWorkwearRequest();
+	~DetectWorkwearRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	Clothes getClothes() const;
+	void setClothes(const Clothes &clothes);
+	std::vector<std::string> getLabels() const;
+	void setLabels(const std::vector<std::string> &labels);
+	std::string getImageUrl() const;
+	void setImageUrl(const std::string &imageUrl);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	Clothes clothes_;
+	std::vector<std::string> labels_;
+	std::string imageUrl_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_

+ 44 - 43
objectdet/include/alibabacloud/objectdet/model/GenerateVehicleRepairPlanRequest.h

@@ -1,54 +1,55 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT GenerateVehicleRepairPlanRequest : public RpcServiceRequest
-			{
-			public:
-				struct DamageImageList
-				{
-					std::string imageUrl;
-					std::string createTimeStamp;
-				};
-
-			public:
-				GenerateVehicleRepairPlanRequest();
-				~GenerateVehicleRepairPlanRequest();
-
-				std::vector<DamageImageList> getDamageImageList()const;
-				void setDamageImageList(const std::vector<DamageImageList>& damageImageList);
-
-            private:
-				std::vector<DamageImageList> damageImageList_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT GenerateVehicleRepairPlanRequest : public RpcServiceRequest {
+public:
+	struct DamageImageList {
+		std::string imageUrl;
+		std::string createTimeStamp;
+	};
+	GenerateVehicleRepairPlanRequest();
+	~GenerateVehicleRepairPlanRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::vector<DamageImageList> getDamageImageList() const;
+	void setDamageImageList(const std::vector<DamageImageList> &damageImageList);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::vector<DamageImageList> damageImageList_;
+	std::string requestProxyBy_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GENERATEVEHICLEREPAIRPLANREQUEST_H_

+ 43 - 40
objectdet/include/alibabacloud/objectdet/model/GetAsyncJobResultRequest.h

@@ -1,51 +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_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
-			{
-
-			public:
-				GetAsyncJobResultRequest();
-				~GetAsyncJobResultRequest();
-
-				std::string getJobId()const;
-				void setJobId(const std::string& jobId);
-				bool getAsync()const;
-				void setAsync(bool async);
-
-            private:
-				std::string jobId_;
-				bool async_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest {
+public:
+	GetAsyncJobResultRequest();
+	~GetAsyncJobResultRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getJobId() const;
+	void setJobId(const std::string &jobId);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	bool getAsync() const;
+	void setAsync(bool async);
+
+private:
+	bool formatResultToJson_;
+	std::string jobId_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	bool async_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GETASYNCJOBRESULTREQUEST_H_

+ 46 - 43
objectdet/include/alibabacloud/objectdet/model/GetVehicleRepairPlanRequest.h

@@ -1,54 +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_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT GetVehicleRepairPlanRequest : public RpcServiceRequest
-			{
-
-			public:
-				GetVehicleRepairPlanRequest();
-				~GetVehicleRepairPlanRequest();
-
-				std::string getVinCodeImage()const;
-				void setVinCodeImage(const std::string& vinCodeImage);
-				std::string getCarNumberImage()const;
-				void setCarNumberImage(const std::string& carNumberImage);
-				std::string getTaskId()const;
-				void setTaskId(const std::string& taskId);
-
-            private:
-				std::string vinCodeImage_;
-				std::string carNumberImage_;
-				std::string taskId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT GetVehicleRepairPlanRequest : public RpcServiceRequest {
+public:
+	GetVehicleRepairPlanRequest();
+	~GetVehicleRepairPlanRequest();
+	std::string getVinCodeImage() const;
+	void setVinCodeImage(const std::string &vinCodeImage);
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getCarNumberImage() const;
+	void setCarNumberImage(const std::string &carNumberImage);
+	std::string getTaskId() const;
+	void setTaskId(const std::string &taskId);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+
+private:
+	std::string vinCodeImage_;
+	bool formatResultToJson_;
+	std::string carNumberImage_;
+	std::string taskId_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_GETVEHICLEREPAIRPLANREQUEST_H_

+ 1 - 1
objectdet/include/alibabacloud/objectdet/model/GetVehicleRepairPlanResult.h

@@ -42,8 +42,8 @@ namespace AlibabaCloud
 						std::string repairType;
 						std::string relationType;
 						std::string repairFee;
-						std::string garageType;
 						std::string partsStdName;
+						std::string garageType;
 						std::string outStandardPartsId;
 						std::string repairTypeName;
 						bool oeMatch;

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDamageRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehicleDamageRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeVehicleDamageRequest();
-				~RecognizeVehicleDamageRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehicleDamageRequest : public RpcServiceRequest {
+public:
+	RecognizeVehicleDamageRequest();
+	~RecognizeVehicleDamageRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDAMAGEREQUEST_H_

+ 1 - 1
objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDamageResult.h

@@ -36,8 +36,8 @@ namespace AlibabaCloud
 				{
 					struct Element
 					{
-						float score;
 						std::string type;
+						float score;
 						std::vector<std::string> scores;
 						std::vector<std::string> boxes;
 					};

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDashboardRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehicleDashboardRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeVehicleDashboardRequest();
-				~RecognizeVehicleDashboardRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehicleDashboardRequest : public RpcServiceRequest {
+public:
+	RecognizeVehicleDashboardRequest();
+	~RecognizeVehicleDashboardRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEDASHBOARDREQUEST_H_

+ 1 - 1
objectdet/include/alibabacloud/objectdet/model/RecognizeVehicleDashboardResult.h

@@ -37,8 +37,8 @@ namespace AlibabaCloud
 					struct Element
 					{
 						float score;
-						std::string className;
 						std::string label;
+						std::string className;
 						std::vector<std::string> boxes;
 					};
 					std::vector<Element> elements;

+ 40 - 37
objectdet/include/alibabacloud/objectdet/model/RecognizeVehiclePartsRequest.h

@@ -1,48 +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_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_
-#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/objectdet/ObjectdetExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Objectdet
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehiclePartsRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeVehiclePartsRequest();
-				~RecognizeVehiclePartsRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_
+#define ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_
+
+#include <alibabacloud/objectdet/ObjectdetExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Objectdet {
+namespace Model {
+class ALIBABACLOUD_OBJECTDET_EXPORT RecognizeVehiclePartsRequest : public RpcServiceRequest {
+public:
+	RecognizeVehiclePartsRequest();
+	~RecognizeVehiclePartsRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Objectdet
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_OBJECTDET_MODEL_RECOGNIZEVEHICLEPARTSREQUEST_H_

+ 1 - 1
objectdet/include/alibabacloud/objectdet/model/RecognizeVehiclePartsResult.h

@@ -36,8 +36,8 @@ namespace AlibabaCloud
 				{
 					struct Element
 					{
-						float score;
 						std::string type;
+						float score;
 						std::vector<std::string> boxes;
 					};
 					std::vector<Element> elements;

+ 3 - 3
objectdet/src/ObjectdetClient.cc

@@ -31,21 +31,21 @@ ObjectdetClient::ObjectdetClient(const Credentials &credentials, const ClientCon
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "objectdet");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 ObjectdetClient::ObjectdetClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "objectdet");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 ObjectdetClient::ObjectdetClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "objectdet");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 ObjectdetClient::~ObjectdetClient()

+ 50 - 27
objectdet/src/model/ClassifyVehicleInsuranceRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/ClassifyVehicleInsuranceRequest.h>
-
-using AlibabaCloud::Objectdet::Model::ClassifyVehicleInsuranceRequest;
-
-ClassifyVehicleInsuranceRequest::ClassifyVehicleInsuranceRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "ClassifyVehicleInsurance")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ClassifyVehicleInsuranceRequest::~ClassifyVehicleInsuranceRequest()
-{}
-
-std::string ClassifyVehicleInsuranceRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void ClassifyVehicleInsuranceRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/ClassifyVehicleInsuranceRequest.h>
+
+using AlibabaCloud::Objectdet::Model::ClassifyVehicleInsuranceRequest;
+
+ClassifyVehicleInsuranceRequest::ClassifyVehicleInsuranceRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "ClassifyVehicleInsurance") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ClassifyVehicleInsuranceRequest::~ClassifyVehicleInsuranceRequest() {}
+
+bool ClassifyVehicleInsuranceRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void ClassifyVehicleInsuranceRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string ClassifyVehicleInsuranceRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void ClassifyVehicleInsuranceRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string ClassifyVehicleInsuranceRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void ClassifyVehicleInsuranceRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string ClassifyVehicleInsuranceRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void ClassifyVehicleInsuranceRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 50 - 49
objectdet/src/model/DetectIPCObjectRequest.cc

@@ -1,62 +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.
- */
-
-#include <alibabacloud/objectdet/model/DetectIPCObjectRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectIPCObjectRequest;
-
-DetectIPCObjectRequest::DetectIPCObjectRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectIPCObject")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectIPCObjectRequest::~DetectIPCObjectRequest()
-{}
-
-std::string DetectIPCObjectRequest::getOssFile()const
-{
-	return ossFile_;
-}
-
-void DetectIPCObjectRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
-}
-
-std::string DetectIPCObjectRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
-}
-
-void DetectIPCObjectRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
-}
-
-std::string DetectIPCObjectRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectIPCObjectRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectIPCObjectRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectIPCObjectRequest;
+
+DetectIPCObjectRequest::DetectIPCObjectRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectIPCObject") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectIPCObjectRequest::~DetectIPCObjectRequest() {}
+
+bool DetectIPCObjectRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectIPCObjectRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectIPCObjectRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectIPCObjectRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string DetectIPCObjectRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectIPCObjectRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectIPCObjectRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectIPCObjectRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 41 - 53
objectdet/src/model/DetectKitchenAnimalsRequest.cc

@@ -1,84 +1,72 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/objectdet/model/DetectKitchenAnimalsRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectKitchenAnimalsRequest;
-
-DetectKitchenAnimalsRequest::DetectKitchenAnimalsRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectKitchenAnimals")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectKitchenAnimalsRequest::~DetectKitchenAnimalsRequest()
-{}
-
-bool DetectKitchenAnimalsRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectKitchenAnimalsRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectKitchenAnimalsRequest;
+
+DetectKitchenAnimalsRequest::DetectKitchenAnimalsRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectKitchenAnimals") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectKitchenAnimalsRequest::~DetectKitchenAnimalsRequest() {}
+
+bool DetectKitchenAnimalsRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectKitchenAnimalsRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectKitchenAnimalsRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string DetectKitchenAnimalsRequest::getImageURLB()const
-{
-	return imageURLB_;
+std::string DetectKitchenAnimalsRequest::getImageURLB() const {
+  return imageURLB_;
 }
 
-void DetectKitchenAnimalsRequest::setImageURLB(const std::string& imageURLB)
-{
-	imageURLB_ = imageURLB;
-	setBodyParameter("ImageURLB", imageURLB);
+void DetectKitchenAnimalsRequest::setImageURLB(const std::string &imageURLB) {
+  imageURLB_ = imageURLB;
+  setBodyParameter(std::string("ImageURLB"), imageURLB);
 }
 
-std::string DetectKitchenAnimalsRequest::getImageURLA()const
-{
-	return imageURLA_;
+std::string DetectKitchenAnimalsRequest::getImageURLA() const {
+  return imageURLA_;
 }
 
-void DetectKitchenAnimalsRequest::setImageURLA(const std::string& imageURLA)
-{
-	imageURLA_ = imageURLA;
-	setBodyParameter("ImageURLA", imageURLA);
+void DetectKitchenAnimalsRequest::setImageURLA(const std::string &imageURLA) {
+  imageURLA_ = imageURLA;
+  setBodyParameter(std::string("ImageURLA"), imageURLA);
 }
 
-std::string DetectKitchenAnimalsRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectKitchenAnimalsRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectKitchenAnimalsRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectKitchenAnimalsRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string DetectKitchenAnimalsRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectKitchenAnimalsRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectKitchenAnimalsRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectKitchenAnimalsRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 

+ 50 - 27
objectdet/src/model/DetectMainBodyRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/DetectMainBodyRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectMainBodyRequest;
-
-DetectMainBodyRequest::DetectMainBodyRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectMainBody")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectMainBodyRequest::~DetectMainBodyRequest()
-{}
-
-std::string DetectMainBodyRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectMainBodyRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectMainBodyRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectMainBodyRequest;
+
+DetectMainBodyRequest::DetectMainBodyRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectMainBody") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectMainBodyRequest::~DetectMainBodyRequest() {}
+
+bool DetectMainBodyRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectMainBodyRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectMainBodyRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectMainBodyRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string DetectMainBodyRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectMainBodyRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectMainBodyRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectMainBodyRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setParameter(std::string("ImageURL"), imageURL);
 }
 

+ 4 - 4
objectdet/src/model/DetectMainBodyResult.cc

@@ -41,14 +41,14 @@ void DetectMainBodyResult::parse(const std::string &payload)
 	setRequestId(value["RequestId"].asString());
 	auto dataNode = value["Data"];
 	auto locationNode = dataNode["Location"];
-	if(!locationNode["X"].isNull())
-		data_.location.x = std::stoi(locationNode["X"].asString());
-	if(!locationNode["Y"].isNull())
-		data_.location.y = std::stoi(locationNode["Y"].asString());
 	if(!locationNode["Width"].isNull())
 		data_.location.width = std::stoi(locationNode["Width"].asString());
 	if(!locationNode["Height"].isNull())
 		data_.location.height = std::stoi(locationNode["Height"].asString());
+	if(!locationNode["Y"].isNull())
+		data_.location.y = std::stoi(locationNode["Y"].asString());
+	if(!locationNode["X"].isNull())
+		data_.location.x = std::stoi(locationNode["X"].asString());
 
 }
 

+ 50 - 27
objectdet/src/model/DetectObjectRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/DetectObjectRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectObjectRequest;
-
-DetectObjectRequest::DetectObjectRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectObject")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectObjectRequest::~DetectObjectRequest()
-{}
-
-std::string DetectObjectRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectObjectRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectObjectRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectObjectRequest;
+
+DetectObjectRequest::DetectObjectRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectObject") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectObjectRequest::~DetectObjectRequest() {}
+
+bool DetectObjectRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectObjectRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectObjectRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectObjectRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string DetectObjectRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectObjectRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectObjectRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectObjectRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 50 - 27
objectdet/src/model/DetectTransparentImageRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/DetectTransparentImageRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectTransparentImageRequest;
-
-DetectTransparentImageRequest::DetectTransparentImageRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectTransparentImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectTransparentImageRequest::~DetectTransparentImageRequest()
-{}
-
-std::string DetectTransparentImageRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectTransparentImageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectTransparentImageRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectTransparentImageRequest;
+
+DetectTransparentImageRequest::DetectTransparentImageRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectTransparentImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectTransparentImageRequest::~DetectTransparentImageRequest() {}
+
+bool DetectTransparentImageRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectTransparentImageRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectTransparentImageRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectTransparentImageRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string DetectTransparentImageRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectTransparentImageRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectTransparentImageRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectTransparentImageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 65 - 74
objectdet/src/model/DetectVehicleICongestionRequest.cc

@@ -1,117 +1,108 @@
 /*
  * 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/objectdet/model/DetectVehicleICongestionRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectVehicleICongestionRequest;
-
-DetectVehicleICongestionRequest::DetectVehicleICongestionRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicleICongestion")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectVehicleICongestionRequest::~DetectVehicleICongestionRequest()
-{}
-
-bool DetectVehicleICongestionRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectVehicleICongestionRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectVehicleICongestionRequest;
+
+DetectVehicleICongestionRequest::DetectVehicleICongestionRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicleICongestion") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectVehicleICongestionRequest::~DetectVehicleICongestionRequest() {}
+
+bool DetectVehicleICongestionRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectVehicleICongestionRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectVehicleICongestionRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-Array DetectVehicleICongestionRequest::getRoadRegions()const
-{
-	return roadRegions_;
+std::vector<DetectVehicleICongestionRequest::RoadRegions> DetectVehicleICongestionRequest::getRoadRegions() const {
+  return roadRegions_;
 }
 
-void DetectVehicleICongestionRequest::setRoadRegions(const Array& roadRegions)
-{
-	roadRegions_ = roadRegions;
-	setBodyParameter("RoadRegions", std::to_string(roadRegions));
+void DetectVehicleICongestionRequest::setRoadRegions(const std::vector<DetectVehicleICongestionRequest::RoadRegions> &roadRegions) {
+  roadRegions_ = roadRegions;
+  for(int dep1 = 0; dep1 != roadRegions.size(); dep1++) {
+    for(int dep2 = 0; dep2 != roadRegions[dep1].roadRegion.size(); dep2++) {
+      setBodyParameter(std::string("RoadRegions") + "." + std::to_string(dep1 + 1) + ".RoadRegion." + std::to_string(dep2 + 1) + ".Point.X", std::to_string(roadRegions[dep1].roadRegion[dep2].point.x));
+      setBodyParameter(std::string("RoadRegions") + "." + std::to_string(dep1 + 1) + ".RoadRegion." + std::to_string(dep2 + 1) + ".Point.Y", std::to_string(roadRegions[dep1].roadRegion[dep2].point.y));
+    }
+  }
 }
 
-std::string DetectVehicleICongestionRequest::getOriginRequestId()const
-{
-	return originRequestId_;
+std::string DetectVehicleICongestionRequest::getOriginRequestId() const {
+  return originRequestId_;
 }
 
-void DetectVehicleICongestionRequest::setOriginRequestId(const std::string& originRequestId)
-{
-	originRequestId_ = originRequestId;
-	setParameter("OriginRequestId", originRequestId);
+void DetectVehicleICongestionRequest::setOriginRequestId(const std::string &originRequestId) {
+  originRequestId_ = originRequestId;
+  setParameter(std::string("OriginRequestId"), originRequestId);
 }
 
-std::string DetectVehicleICongestionRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectVehicleICongestionRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectVehicleICongestionRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectVehicleICongestionRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-Array DetectVehicleICongestionRequest::getPreRegionIntersectFeatures()const
-{
-	return preRegionIntersectFeatures_;
+std::vector<DetectVehicleICongestionRequest::PreRegionIntersectFeatures> DetectVehicleICongestionRequest::getPreRegionIntersectFeatures() const {
+  return preRegionIntersectFeatures_;
 }
 
-void DetectVehicleICongestionRequest::setPreRegionIntersectFeatures(const Array& preRegionIntersectFeatures)
-{
-	preRegionIntersectFeatures_ = preRegionIntersectFeatures;
-	setBodyParameter("PreRegionIntersectFeatures", std::to_string(preRegionIntersectFeatures));
+void DetectVehicleICongestionRequest::setPreRegionIntersectFeatures(const std::vector<DetectVehicleICongestionRequest::PreRegionIntersectFeatures> &preRegionIntersectFeatures) {
+  preRegionIntersectFeatures_ = preRegionIntersectFeatures;
+  for(int dep1 = 0; dep1 != preRegionIntersectFeatures.size(); dep1++) {
+    for(int dep2 = 0; dep2 != preRegionIntersectFeatures[dep1].features.size(); dep2++) {
+      setBodyParameter(std::string("PreRegionIntersectFeatures") + "." + std::to_string(dep1 + 1) + ".Features." + std::to_string(dep2 + 1), preRegionIntersectFeatures[dep1].features[dep2]);
+    }
+  }
 }
 
-std::string DetectVehicleICongestionRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectVehicleICongestionRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectVehicleICongestionRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectVehicleICongestionRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string DetectVehicleICongestionRequest::getStreamArn()const
-{
-	return streamArn_;
+std::string DetectVehicleICongestionRequest::getStreamArn() const {
+  return streamArn_;
 }
 
-void DetectVehicleICongestionRequest::setStreamArn(const std::string& streamArn)
-{
-	streamArn_ = streamArn;
-	setParameter("StreamArn", streamArn);
+void DetectVehicleICongestionRequest::setStreamArn(const std::string &streamArn) {
+  streamArn_ = streamArn;
+  setParameter(std::string("StreamArn"), streamArn);
 }
 
-std::string DetectVehicleICongestionRequest::getImageURL()const
-{
-	return imageURL_;
+std::string DetectVehicleICongestionRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void DetectVehicleICongestionRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void DetectVehicleICongestionRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 56 - 67
objectdet/src/model/DetectVehicleIllegalParkingRequest.cc

@@ -1,106 +1,95 @@
 /*
  * 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/objectdet/model/DetectVehicleIllegalParkingRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectVehicleIllegalParkingRequest;
-
-DetectVehicleIllegalParkingRequest::DetectVehicleIllegalParkingRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicleIllegalParking")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectVehicleIllegalParkingRequest::~DetectVehicleIllegalParkingRequest()
-{}
-
-bool DetectVehicleIllegalParkingRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectVehicleIllegalParkingRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectVehicleIllegalParkingRequest;
+
+DetectVehicleIllegalParkingRequest::DetectVehicleIllegalParkingRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicleIllegalParking") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectVehicleIllegalParkingRequest::~DetectVehicleIllegalParkingRequest() {}
+
+bool DetectVehicleIllegalParkingRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectVehicleIllegalParkingRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectVehicleIllegalParkingRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-Array DetectVehicleIllegalParkingRequest::getRoadRegions()const
-{
-	return roadRegions_;
+std::vector<DetectVehicleIllegalParkingRequest::RoadRegions> DetectVehicleIllegalParkingRequest::getRoadRegions() const {
+  return roadRegions_;
 }
 
-void DetectVehicleIllegalParkingRequest::setRoadRegions(const Array& roadRegions)
-{
-	roadRegions_ = roadRegions;
-	setBodyParameter("RoadRegions", std::to_string(roadRegions));
+void DetectVehicleIllegalParkingRequest::setRoadRegions(const std::vector<DetectVehicleIllegalParkingRequest::RoadRegions> &roadRegions) {
+  roadRegions_ = roadRegions;
+  for(int dep1 = 0; dep1 != roadRegions.size(); dep1++) {
+    for(int dep2 = 0; dep2 != roadRegions[dep1].roadRegion.size(); dep2++) {
+      setBodyParameter(std::string("RoadRegions") + "." + std::to_string(dep1 + 1) + ".RoadRegion." + std::to_string(dep2 + 1) + ".Point.X", std::to_string(roadRegions[dep1].roadRegion[dep2].point.x));
+      setBodyParameter(std::string("RoadRegions") + "." + std::to_string(dep1 + 1) + ".RoadRegion." + std::to_string(dep2 + 1) + ".Point.Y", std::to_string(roadRegions[dep1].roadRegion[dep2].point.y));
+    }
+  }
 }
 
-std::string DetectVehicleIllegalParkingRequest::getOriginRequestId()const
-{
-	return originRequestId_;
+std::string DetectVehicleIllegalParkingRequest::getOriginRequestId() const {
+  return originRequestId_;
 }
 
-void DetectVehicleIllegalParkingRequest::setOriginRequestId(const std::string& originRequestId)
-{
-	originRequestId_ = originRequestId;
-	setParameter("OriginRequestId", originRequestId);
+void DetectVehicleIllegalParkingRequest::setOriginRequestId(const std::string &originRequestId) {
+  originRequestId_ = originRequestId;
+  setParameter(std::string("OriginRequestId"), originRequestId);
 }
 
-std::string DetectVehicleIllegalParkingRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectVehicleIllegalParkingRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectVehicleIllegalParkingRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectVehicleIllegalParkingRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string DetectVehicleIllegalParkingRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectVehicleIllegalParkingRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectVehicleIllegalParkingRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectVehicleIllegalParkingRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string DetectVehicleIllegalParkingRequest::getStreamArn()const
-{
-	return streamArn_;
+std::string DetectVehicleIllegalParkingRequest::getStreamArn() const {
+  return streamArn_;
 }
 
-void DetectVehicleIllegalParkingRequest::setStreamArn(const std::string& streamArn)
-{
-	streamArn_ = streamArn;
-	setParameter("StreamArn", streamArn);
+void DetectVehicleIllegalParkingRequest::setStreamArn(const std::string &streamArn) {
+  streamArn_ = streamArn;
+  setParameter(std::string("StreamArn"), streamArn);
 }
 
-std::string DetectVehicleIllegalParkingRequest::getImageURL()const
-{
-	return imageURL_;
+std::string DetectVehicleIllegalParkingRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void DetectVehicleIllegalParkingRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void DetectVehicleIllegalParkingRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 59 - 38
objectdet/src/model/DetectVehicleRequest.cc

@@ -1,51 +1,72 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/objectdet/model/DetectVehicleRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectVehicleRequest;
-
-DetectVehicleRequest::DetectVehicleRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicle")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectVehicleRequest::~DetectVehicleRequest()
-{}
-
-int DetectVehicleRequest::getImageType()const
-{
-	return imageType_;
-}
-
-void DetectVehicleRequest::setImageType(int imageType)
-{
-	imageType_ = imageType;
-	setBodyParameter("ImageType", std::to_string(imageType));
-}
-
-std::string DetectVehicleRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectVehicleRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectVehicleRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectVehicleRequest;
+
+DetectVehicleRequest::DetectVehicleRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectVehicle") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectVehicleRequest::~DetectVehicleRequest() {}
+
+bool DetectVehicleRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectVehicleRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectVehicleRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectVehicleRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+int DetectVehicleRequest::getImageType() const {
+  return imageType_;
+}
+
+void DetectVehicleRequest::setImageType(int imageType) {
+  imageType_ = imageType;
+  setBodyParameter(std::string("ImageType"), std::to_string(imageType));
+}
+
+std::string DetectVehicleRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectVehicleRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectVehicleRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectVehicleRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 2 - 2
objectdet/src/model/DetectVehicleResult.cc

@@ -48,10 +48,10 @@ void DetectVehicleResult::parse(const std::string &payload)
 	for (auto dataNodeDetectObjectInfoListDetectObjectInfo : allDetectObjectInfoListNode)
 	{
 		Data::DetectObjectInfo detectObjectInfoObject;
-		if(!dataNodeDetectObjectInfoListDetectObjectInfo["Score"].isNull())
-			detectObjectInfoObject.score = std::stof(dataNodeDetectObjectInfoListDetectObjectInfo["Score"].asString());
 		if(!dataNodeDetectObjectInfoListDetectObjectInfo["Type"].isNull())
 			detectObjectInfoObject.type = dataNodeDetectObjectInfoListDetectObjectInfo["Type"].asString();
+		if(!dataNodeDetectObjectInfoListDetectObjectInfo["Score"].isNull())
+			detectObjectInfoObject.score = std::stof(dataNodeDetectObjectInfoListDetectObjectInfo["Score"].asString());
 		if(!dataNodeDetectObjectInfoListDetectObjectInfo["Id"].isNull())
 			detectObjectInfoObject.id = std::stoi(dataNodeDetectObjectInfoListDetectObjectInfo["Id"].asString());
 		auto allBoxes = value["Boxes"]["Box"];

+ 85 - 74
objectdet/src/model/DetectVideoFrameRequest.cc

@@ -1,117 +1,128 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/objectdet/model/DetectVideoFrameRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectVideoFrameRequest;
-
-DetectVideoFrameRequest::DetectVideoFrameRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectVideoFrame")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectVideoFrameRequest::~DetectVideoFrameRequest()
-{}
-
-Array DetectVideoFrameRequest::getFeatures()const
-{
-	return features_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectVideoFrameRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectVideoFrameRequest;
+
+DetectVideoFrameRequest::DetectVideoFrameRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectVideoFrame") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectVideoFrameRequest::~DetectVideoFrameRequest() {}
+
+bool DetectVideoFrameRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectVideoFrameRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::vector<DetectVideoFrameRequest::std::string> DetectVideoFrameRequest::getFeatures() const {
+  return features_;
+}
+
+void DetectVideoFrameRequest::setFeatures(const std::vector<DetectVideoFrameRequest::std::string> &features) {
+  features_ = features;
+  for(int dep1 = 0; dep1 != features.size(); dep1++) {
+    setBodyParameter(std::string("Features") + "." + std::to_string(dep1 + 1), features[dep1]);
+  }
+}
+
+std::string DetectVideoFrameRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectVideoFrameRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+long DetectVideoFrameRequest::getHeight() const {
+  return height_;
 }
 
-void DetectVideoFrameRequest::setFeatures(const Array& features)
-{
-	features_ = features;
-	setBodyParameter("Features", std::to_string(features));
+void DetectVideoFrameRequest::setHeight(long height) {
+  height_ = height;
+  setBodyParameter(std::string("Height"), std::to_string(height));
 }
 
-long DetectVideoFrameRequest::getHeight()const
-{
-	return height_;
+long DetectVideoFrameRequest::getCreateTime() const {
+  return createTime_;
 }
 
-void DetectVideoFrameRequest::setHeight(long height)
-{
-	height_ = height;
-	setBodyParameter("Height", std::to_string(height));
+void DetectVideoFrameRequest::setCreateTime(long createTime) {
+  createTime_ = createTime;
+  setBodyParameter(std::string("CreateTime"), std::to_string(createTime));
 }
 
-long DetectVideoFrameRequest::getCreateTime()const
-{
-	return createTime_;
+std::string DetectVideoFrameRequest::getFeatureConfig() const {
+  return featureConfig_;
 }
 
-void DetectVideoFrameRequest::setCreateTime(long createTime)
-{
-	createTime_ = createTime;
-	setBodyParameter("CreateTime", std::to_string(createTime));
+void DetectVideoFrameRequest::setFeatureConfig(const std::string &featureConfig) {
+  featureConfig_ = featureConfig;
+  setBodyParameter(std::string("FeatureConfig"), featureConfig);
 }
 
-std::string DetectVideoFrameRequest::getFeatureConfig()const
-{
-	return featureConfig_;
+long DetectVideoFrameRequest::getOwnerId() const {
+  return ownerId_;
 }
 
-void DetectVideoFrameRequest::setFeatureConfig(const std::string& featureConfig)
-{
-	featureConfig_ = featureConfig;
-	setBodyParameter("FeatureConfig", featureConfig);
+void DetectVideoFrameRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setBodyParameter(std::string("OwnerId"), std::to_string(ownerId));
 }
 
-long DetectVideoFrameRequest::getOwnerId()const
-{
-	return ownerId_;
+std::string DetectVideoFrameRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectVideoFrameRequest::setOwnerId(long ownerId)
-{
-	ownerId_ = ownerId;
-	setBodyParameter("OwnerId", std::to_string(ownerId));
+void DetectVideoFrameRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string DetectVideoFrameRequest::getStreamArn()const
-{
-	return streamArn_;
+std::string DetectVideoFrameRequest::getStreamArn() const {
+  return streamArn_;
 }
 
-void DetectVideoFrameRequest::setStreamArn(const std::string& streamArn)
-{
-	streamArn_ = streamArn;
-	setBodyParameter("StreamArn", streamArn);
+void DetectVideoFrameRequest::setStreamArn(const std::string &streamArn) {
+  streamArn_ = streamArn;
+  setBodyParameter(std::string("StreamArn"), streamArn);
 }
 
-std::string DetectVideoFrameRequest::getImageURL()const
-{
-	return imageURL_;
+std::string DetectVideoFrameRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void DetectVideoFrameRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void DetectVideoFrameRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 
-long DetectVideoFrameRequest::getWidth()const
-{
-	return width_;
+long DetectVideoFrameRequest::getWidth() const {
+  return width_;
 }
 
-void DetectVideoFrameRequest::setWidth(long width)
-{
-	width_ = width;
-	setBodyParameter("Width", std::to_string(width));
+void DetectVideoFrameRequest::setWidth(long width) {
+  width_ = width;
+  setBodyParameter(std::string("Width"), std::to_string(width));
 }
 

+ 55 - 60
objectdet/src/model/DetectVideoIPCObjectRequest.cc

@@ -1,95 +1,90 @@
 /*
  * 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/objectdet/model/DetectVideoIPCObjectRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectVideoIPCObjectRequest;
-
-DetectVideoIPCObjectRequest::DetectVideoIPCObjectRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectVideoIPCObject")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectVideoIPCObjectRequest::~DetectVideoIPCObjectRequest()
-{}
-
-long DetectVideoIPCObjectRequest::getStartTimestamp()const
-{
-	return startTimestamp_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectVideoIPCObjectRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectVideoIPCObjectRequest;
+
+DetectVideoIPCObjectRequest::DetectVideoIPCObjectRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectVideoIPCObject") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectVideoIPCObjectRequest::~DetectVideoIPCObjectRequest() {}
+
+bool DetectVideoIPCObjectRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectVideoIPCObjectRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+long DetectVideoIPCObjectRequest::getStartTimestamp() const {
+  return startTimestamp_;
 }
 
-void DetectVideoIPCObjectRequest::setStartTimestamp(long startTimestamp)
-{
-	startTimestamp_ = startTimestamp;
-	setBodyParameter("StartTimestamp", std::to_string(startTimestamp));
+void DetectVideoIPCObjectRequest::setStartTimestamp(long startTimestamp) {
+  startTimestamp_ = startTimestamp;
+  setBodyParameter(std::string("StartTimestamp"), std::to_string(startTimestamp));
 }
 
-std::string DetectVideoIPCObjectRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectVideoIPCObjectRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectVideoIPCObjectRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectVideoIPCObjectRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-bool DetectVideoIPCObjectRequest::getCallbackOnlyHasObject()const
-{
-	return callbackOnlyHasObject_;
+bool DetectVideoIPCObjectRequest::getCallbackOnlyHasObject() const {
+  return callbackOnlyHasObject_;
 }
 
-void DetectVideoIPCObjectRequest::setCallbackOnlyHasObject(bool callbackOnlyHasObject)
-{
-	callbackOnlyHasObject_ = callbackOnlyHasObject;
-	setBodyParameter("CallbackOnlyHasObject", callbackOnlyHasObject ? "true" : "false");
+void DetectVideoIPCObjectRequest::setCallbackOnlyHasObject(bool callbackOnlyHasObject) {
+  callbackOnlyHasObject_ = callbackOnlyHasObject;
+  setBodyParameter(std::string("CallbackOnlyHasObject"), callbackOnlyHasObject ? "true" : "false");
 }
 
-std::string DetectVideoIPCObjectRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectVideoIPCObjectRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectVideoIPCObjectRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectVideoIPCObjectRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-bool DetectVideoIPCObjectRequest::getAsync()const
-{
-	return async_;
+bool DetectVideoIPCObjectRequest::getAsync() const {
+  return async_;
 }
 
-void DetectVideoIPCObjectRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+void DetectVideoIPCObjectRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 
-std::string DetectVideoIPCObjectRequest::getVideoURL()const
-{
-	return videoURL_;
+std::string DetectVideoIPCObjectRequest::getVideoURL() const {
+  return videoURL_;
 }
 
-void DetectVideoIPCObjectRequest::setVideoURL(const std::string& videoURL)
-{
-	videoURL_ = videoURL;
-	setBodyParameter("VideoURL", videoURL);
+void DetectVideoIPCObjectRequest::setVideoURL(const std::string &videoURL) {
+  videoURL_ = videoURL;
+  setBodyParameter(std::string("VideoURL"), videoURL);
 }
 

+ 50 - 27
objectdet/src/model/DetectWhiteBaseImageRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/DetectWhiteBaseImageRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectWhiteBaseImageRequest;
-
-DetectWhiteBaseImageRequest::DetectWhiteBaseImageRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectWhiteBaseImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectWhiteBaseImageRequest::~DetectWhiteBaseImageRequest()
-{}
-
-std::string DetectWhiteBaseImageRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void DetectWhiteBaseImageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/DetectWhiteBaseImageRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectWhiteBaseImageRequest;
+
+DetectWhiteBaseImageRequest::DetectWhiteBaseImageRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectWhiteBaseImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectWhiteBaseImageRequest::~DetectWhiteBaseImageRequest() {}
+
+bool DetectWhiteBaseImageRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void DetectWhiteBaseImageRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string DetectWhiteBaseImageRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void DetectWhiteBaseImageRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string DetectWhiteBaseImageRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void DetectWhiteBaseImageRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string DetectWhiteBaseImageRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void DetectWhiteBaseImageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 46 - 62
objectdet/src/model/DetectWorkwearRequest.cc

@@ -1,97 +1,81 @@
 /*
  * 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/objectdet/model/DetectWorkwearRequest.h>
-
-using AlibabaCloud::Objectdet::Model::DetectWorkwearRequest;
-
-DetectWorkwearRequest::DetectWorkwearRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "DetectWorkwear")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectWorkwearRequest::~DetectWorkwearRequest()
-{}
-
-bool DetectWorkwearRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/objectdet/model/DetectWorkwearRequest.h>
+
+using AlibabaCloud::Objectdet::Model::DetectWorkwearRequest;
+
+DetectWorkwearRequest::DetectWorkwearRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "DetectWorkwear") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectWorkwearRequest::~DetectWorkwearRequest() {}
+
+bool DetectWorkwearRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectWorkwearRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectWorkwearRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string DetectWorkwearRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectWorkwearRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectWorkwearRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectWorkwearRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string DetectWorkwearRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectWorkwearRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectWorkwearRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectWorkwearRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-Struct DetectWorkwearRequest::getClothes()const
-{
-	return clothes_;
+DetectWorkwearRequest::Clothes DetectWorkwearRequest::getClothes() const {
+  return clothes_;
 }
 
-void DetectWorkwearRequest::setClothes(const Struct& clothes)
-{
-	clothes_ = clothes;
-	setBodyParameter("Clothes", std::to_string(clothes));
+void DetectWorkwearRequest::setClothes(const DetectWorkwearRequest::Clothes &clothes) {
+  clothes_ = clothes;
+  setBodyParameter(std::string("Clothes") + ".Threshold", std::to_string(clothes.threshold));
+  setBodyParameter(std::string("Clothes") + ".MaxNum", std::to_string(clothes.maxNum));
 }
 
-std::vector<std::string> DetectWorkwearRequest::getLabels()const
-{
-	return labels_;
+std::vector<std::string> DetectWorkwearRequest::getLabels() const {
+  return labels_;
 }
 
-void DetectWorkwearRequest::setLabels(const std::vector<std::string>& labels)
-{
-	labels_ = labels;
-	for(int dep1 = 0; dep1!= labels.size(); dep1++) {
-		setBodyParameter("Labels."+ std::to_string(dep1), labels.at(dep1));
-	}
+void DetectWorkwearRequest::setLabels(const std::vector<std::string> &labels) {
+  labels_ = labels;
 }
 
-std::string DetectWorkwearRequest::getImageUrl()const
-{
-	return imageUrl_;
+std::string DetectWorkwearRequest::getImageUrl() const {
+  return imageUrl_;
 }
 
-void DetectWorkwearRequest::setImageUrl(const std::string& imageUrl)
-{
-	imageUrl_ = imageUrl;
-	setBodyParameter("ImageUrl", imageUrl);
+void DetectWorkwearRequest::setImageUrl(const std::string &imageUrl) {
+  imageUrl_ = imageUrl;
+  setBodyParameter(std::string("ImageUrl"), imageUrl);
 }
 

+ 55 - 32
objectdet/src/model/GenerateVehicleRepairPlanRequest.cc

@@ -1,45 +1,68 @@
 /*
  * 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/objectdet/model/GenerateVehicleRepairPlanRequest.h>
-
-using AlibabaCloud::Objectdet::Model::GenerateVehicleRepairPlanRequest;
-
-GenerateVehicleRepairPlanRequest::GenerateVehicleRepairPlanRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "GenerateVehicleRepairPlan")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-GenerateVehicleRepairPlanRequest::~GenerateVehicleRepairPlanRequest()
-{}
-
-std::vector<GenerateVehicleRepairPlanRequest::DamageImageList> GenerateVehicleRepairPlanRequest::getDamageImageList()const
-{
-	return damageImageList_;
-}
-
-void GenerateVehicleRepairPlanRequest::setDamageImageList(const std::vector<DamageImageList>& damageImageList)
-{
-	damageImageList_ = damageImageList;
-	for(int dep1 = 0; dep1!= damageImageList.size(); dep1++) {
-		auto damageImageListObj = damageImageList.at(dep1);
-		std::string damageImageListObjStr = "DamageImageList." + std::to_string(dep1 + 1);
-		setParameter(damageImageListObjStr + ".ImageUrl", damageImageListObj.imageUrl);
-		setParameter(damageImageListObjStr + ".CreateTimeStamp", damageImageListObj.createTimeStamp);
-	}
+ */
+
+#include <alibabacloud/objectdet/model/GenerateVehicleRepairPlanRequest.h>
+
+using AlibabaCloud::Objectdet::Model::GenerateVehicleRepairPlanRequest;
+
+GenerateVehicleRepairPlanRequest::GenerateVehicleRepairPlanRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "GenerateVehicleRepairPlan") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GenerateVehicleRepairPlanRequest::~GenerateVehicleRepairPlanRequest() {}
+
+bool GenerateVehicleRepairPlanRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void GenerateVehicleRepairPlanRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string GenerateVehicleRepairPlanRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void GenerateVehicleRepairPlanRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::vector<GenerateVehicleRepairPlanRequest::DamageImageList> GenerateVehicleRepairPlanRequest::getDamageImageList() const {
+  return damageImageList_;
+}
+
+void GenerateVehicleRepairPlanRequest::setDamageImageList(const std::vector<GenerateVehicleRepairPlanRequest::DamageImageList> &damageImageList) {
+  damageImageList_ = damageImageList;
+  for(int dep1 = 0; dep1 != damageImageList.size(); dep1++) {
+  auto damageImageListObj = damageImageList.at(dep1);
+  std::string damageImageListObjStr = std::string("DamageImageList") + "." + std::to_string(dep1 + 1);
+    setBodyParameter(damageImageListObjStr + ".ImageUrl", damageImageListObj.imageUrl);
+    setBodyParameter(damageImageListObjStr + ".CreateTimeStamp", damageImageListObj.createTimeStamp);
+  }
+}
+
+std::string GenerateVehicleRepairPlanRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void GenerateVehicleRepairPlanRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 

+ 2 - 2
objectdet/src/model/GenerateVehicleRepairPlanResult.cc

@@ -44,10 +44,10 @@ void GenerateVehicleRepairPlanResult::parse(const std::string &payload)
 		data_.taskId = dataNode["TaskId"].asString();
 	if(!value["HttpCode"].isNull())
 		httpCode_ = std::stoi(value["HttpCode"].asString());
-	if(!value["Code"].isNull())
-		code_ = value["Code"].asString();
 	if(!value["ErrorMessage"].isNull())
 		errorMessage_ = value["ErrorMessage"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
 	if(!value["Success"].isNull())
 		success_ = value["Success"].asString() == "true";
 

+ 59 - 38
objectdet/src/model/GetAsyncJobResultRequest.cc

@@ -1,51 +1,72 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/objectdet/model/GetAsyncJobResultRequest.h>
-
-using AlibabaCloud::Objectdet::Model::GetAsyncJobResultRequest;
-
-GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "GetAsyncJobResult")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
-{}
-
-std::string GetAsyncJobResultRequest::getJobId()const
-{
-	return jobId_;
-}
-
-void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
-{
-	jobId_ = jobId;
-	setBodyParameter("JobId", jobId);
-}
-
-bool GetAsyncJobResultRequest::getAsync()const
-{
-	return async_;
-}
-
-void GetAsyncJobResultRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+ */
+
+#include <alibabacloud/objectdet/model/GetAsyncJobResultRequest.h>
+
+using AlibabaCloud::Objectdet::Model::GetAsyncJobResultRequest;
+
+GetAsyncJobResultRequest::GetAsyncJobResultRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "GetAsyncJobResult") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
+
+bool GetAsyncJobResultRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void GetAsyncJobResultRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string GetAsyncJobResultRequest::getJobId() const {
+  return jobId_;
+}
+
+void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
+  jobId_ = jobId;
+  setBodyParameter(std::string("JobId"), jobId);
+}
+
+std::string GetAsyncJobResultRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void GetAsyncJobResultRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string GetAsyncJobResultRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void GetAsyncJobResultRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+bool GetAsyncJobResultRequest::getAsync() const {
+  return async_;
+}
+
+void GetAsyncJobResultRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 

+ 4 - 4
objectdet/src/model/GetAsyncJobResultResult.cc

@@ -42,14 +42,14 @@ void GetAsyncJobResultResult::parse(const std::string &payload)
 	auto dataNode = value["Data"];
 	if(!dataNode["Status"].isNull())
 		data_.status = dataNode["Status"].asString();
-	if(!dataNode["ErrorCode"].isNull())
-		data_.errorCode = dataNode["ErrorCode"].asString();
 	if(!dataNode["ErrorMessage"].isNull())
 		data_.errorMessage = dataNode["ErrorMessage"].asString();
-	if(!dataNode["JobId"].isNull())
-		data_.jobId = dataNode["JobId"].asString();
 	if(!dataNode["Result"].isNull())
 		data_.result = dataNode["Result"].asString();
+	if(!dataNode["ErrorCode"].isNull())
+		data_.errorCode = dataNode["ErrorCode"].asString();
+	if(!dataNode["JobId"].isNull())
+		data_.jobId = dataNode["JobId"].asString();
 
 }
 

+ 68 - 49
objectdet/src/model/GetVehicleRepairPlanRequest.cc

@@ -1,62 +1,81 @@
 /*
  * 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/objectdet/model/GetVehicleRepairPlanRequest.h>
-
-using AlibabaCloud::Objectdet::Model::GetVehicleRepairPlanRequest;
-
-GetVehicleRepairPlanRequest::GetVehicleRepairPlanRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "GetVehicleRepairPlan")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-GetVehicleRepairPlanRequest::~GetVehicleRepairPlanRequest()
-{}
-
-std::string GetVehicleRepairPlanRequest::getVinCodeImage()const
-{
-	return vinCodeImage_;
-}
-
-void GetVehicleRepairPlanRequest::setVinCodeImage(const std::string& vinCodeImage)
-{
-	vinCodeImage_ = vinCodeImage;
-	setBodyParameter("VinCodeImage", vinCodeImage);
-}
-
-std::string GetVehicleRepairPlanRequest::getCarNumberImage()const
-{
-	return carNumberImage_;
-}
-
-void GetVehicleRepairPlanRequest::setCarNumberImage(const std::string& carNumberImage)
-{
-	carNumberImage_ = carNumberImage;
-	setBodyParameter("CarNumberImage", carNumberImage);
-}
-
-std::string GetVehicleRepairPlanRequest::getTaskId()const
-{
-	return taskId_;
-}
-
-void GetVehicleRepairPlanRequest::setTaskId(const std::string& taskId)
-{
-	taskId_ = taskId;
-	setBodyParameter("TaskId", taskId);
+ */
+
+#include <alibabacloud/objectdet/model/GetVehicleRepairPlanRequest.h>
+
+using AlibabaCloud::Objectdet::Model::GetVehicleRepairPlanRequest;
+
+GetVehicleRepairPlanRequest::GetVehicleRepairPlanRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "GetVehicleRepairPlan") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GetVehicleRepairPlanRequest::~GetVehicleRepairPlanRequest() {}
+
+std::string GetVehicleRepairPlanRequest::getVinCodeImage() const {
+  return vinCodeImage_;
+}
+
+void GetVehicleRepairPlanRequest::setVinCodeImage(const std::string &vinCodeImage) {
+  vinCodeImage_ = vinCodeImage;
+  setBodyParameter(std::string("VinCodeImage"), vinCodeImage);
+}
+
+bool GetVehicleRepairPlanRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void GetVehicleRepairPlanRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string GetVehicleRepairPlanRequest::getCarNumberImage() const {
+  return carNumberImage_;
+}
+
+void GetVehicleRepairPlanRequest::setCarNumberImage(const std::string &carNumberImage) {
+  carNumberImage_ = carNumberImage;
+  setBodyParameter(std::string("CarNumberImage"), carNumberImage);
+}
+
+std::string GetVehicleRepairPlanRequest::getTaskId() const {
+  return taskId_;
+}
+
+void GetVehicleRepairPlanRequest::setTaskId(const std::string &taskId) {
+  taskId_ = taskId;
+  setBodyParameter(std::string("TaskId"), taskId);
+}
+
+std::string GetVehicleRepairPlanRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void GetVehicleRepairPlanRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string GetVehicleRepairPlanRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void GetVehicleRepairPlanRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 

+ 20 - 20
objectdet/src/model/GetVehicleRepairPlanResult.cc

@@ -46,38 +46,38 @@ void GetVehicleRepairPlanResult::parse(const std::string &payload)
 	for (auto dataNodeRepairPartsRepairItems : allRepairPartsNode)
 	{
 		Data::RepairItems repairItemsObject;
-		if(!dataNodeRepairPartsRepairItems["GarageType"].isNull())
-			repairItemsObject.garageType = dataNodeRepairPartsRepairItems["GarageType"].asString();
-		if(!dataNodeRepairPartsRepairItems["OeMatch"].isNull())
-			repairItemsObject.oeMatch = dataNodeRepairPartsRepairItems["OeMatch"].asString() == "true";
-		if(!dataNodeRepairPartsRepairItems["OutStandardPartsId"].isNull())
-			repairItemsObject.outStandardPartsId = dataNodeRepairPartsRepairItems["OutStandardPartsId"].asString();
-		if(!dataNodeRepairPartsRepairItems["OutStandardPartsName"].isNull())
-			repairItemsObject.outStandardPartsName = dataNodeRepairPartsRepairItems["OutStandardPartsName"].asString();
-		if(!dataNodeRepairPartsRepairItems["PartNameMatch"].isNull())
-			repairItemsObject.partNameMatch = dataNodeRepairPartsRepairItems["PartNameMatch"].asString() == "true";
-		if(!dataNodeRepairPartsRepairItems["PartsStdCode"].isNull())
-			repairItemsObject.partsStdCode = dataNodeRepairPartsRepairItems["PartsStdCode"].asString();
-		if(!dataNodeRepairPartsRepairItems["PartsStdName"].isNull())
-			repairItemsObject.partsStdName = dataNodeRepairPartsRepairItems["PartsStdName"].asString();
 		if(!dataNodeRepairPartsRepairItems["RelationType"].isNull())
 			repairItemsObject.relationType = dataNodeRepairPartsRepairItems["RelationType"].asString();
+		if(!dataNodeRepairPartsRepairItems["PartsStdCode"].isNull())
+			repairItemsObject.partsStdCode = dataNodeRepairPartsRepairItems["PartsStdCode"].asString();
+		if(!dataNodeRepairPartsRepairItems["PartNameMatch"].isNull())
+			repairItemsObject.partNameMatch = dataNodeRepairPartsRepairItems["PartNameMatch"].asString() == "true";
 		if(!dataNodeRepairPartsRepairItems["RepairFee"].isNull())
 			repairItemsObject.repairFee = dataNodeRepairPartsRepairItems["RepairFee"].asString();
-		if(!dataNodeRepairPartsRepairItems["RepairType"].isNull())
-			repairItemsObject.repairType = dataNodeRepairPartsRepairItems["RepairType"].asString();
+		if(!dataNodeRepairPartsRepairItems["OutStandardPartsName"].isNull())
+			repairItemsObject.outStandardPartsName = dataNodeRepairPartsRepairItems["OutStandardPartsName"].asString();
+		if(!dataNodeRepairPartsRepairItems["PartsStdName"].isNull())
+			repairItemsObject.partsStdName = dataNodeRepairPartsRepairItems["PartsStdName"].asString();
 		if(!dataNodeRepairPartsRepairItems["RepairTypeName"].isNull())
 			repairItemsObject.repairTypeName = dataNodeRepairPartsRepairItems["RepairTypeName"].asString();
+		if(!dataNodeRepairPartsRepairItems["RepairType"].isNull())
+			repairItemsObject.repairType = dataNodeRepairPartsRepairItems["RepairType"].asString();
+		if(!dataNodeRepairPartsRepairItems["OeMatch"].isNull())
+			repairItemsObject.oeMatch = dataNodeRepairPartsRepairItems["OeMatch"].asString() == "true";
+		if(!dataNodeRepairPartsRepairItems["OutStandardPartsId"].isNull())
+			repairItemsObject.outStandardPartsId = dataNodeRepairPartsRepairItems["OutStandardPartsId"].asString();
+		if(!dataNodeRepairPartsRepairItems["GarageType"].isNull())
+			repairItemsObject.garageType = dataNodeRepairPartsRepairItems["GarageType"].asString();
 		data_.repairParts.push_back(repairItemsObject);
 	}
-	if(!value["Code"].isNull())
-		code_ = value["Code"].asString();
+	if(!value["HttpCode"].isNull())
+		httpCode_ = std::stoi(value["HttpCode"].asString());
 	if(!value["ErrorMessage"].isNull())
 		errorMessage_ = value["ErrorMessage"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
 	if(!value["Success"].isNull())
 		success_ = value["Success"].asString() == "true";
-	if(!value["HttpCode"].isNull())
-		httpCode_ = std::stoi(value["HttpCode"].asString());
 
 }
 

+ 50 - 27
objectdet/src/model/RecognizeVehicleDamageRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/RecognizeVehicleDamageRequest.h>
-
-using AlibabaCloud::Objectdet::Model::RecognizeVehicleDamageRequest;
-
-RecognizeVehicleDamageRequest::RecognizeVehicleDamageRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleDamage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeVehicleDamageRequest::~RecognizeVehicleDamageRequest()
-{}
-
-std::string RecognizeVehicleDamageRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void RecognizeVehicleDamageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/RecognizeVehicleDamageRequest.h>
+
+using AlibabaCloud::Objectdet::Model::RecognizeVehicleDamageRequest;
+
+RecognizeVehicleDamageRequest::RecognizeVehicleDamageRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleDamage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeVehicleDamageRequest::~RecognizeVehicleDamageRequest() {}
+
+bool RecognizeVehicleDamageRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void RecognizeVehicleDamageRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string RecognizeVehicleDamageRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void RecognizeVehicleDamageRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string RecognizeVehicleDamageRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void RecognizeVehicleDamageRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string RecognizeVehicleDamageRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void RecognizeVehicleDamageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 2 - 2
objectdet/src/model/RecognizeVehicleDamageResult.cc

@@ -44,10 +44,10 @@ void RecognizeVehicleDamageResult::parse(const std::string &payload)
 	for (auto dataNodeElementsElement : allElementsNode)
 	{
 		Data::Element elementObject;
-		if(!dataNodeElementsElement["Score"].isNull())
-			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
 		if(!dataNodeElementsElement["Type"].isNull())
 			elementObject.type = dataNodeElementsElement["Type"].asString();
+		if(!dataNodeElementsElement["Score"].isNull())
+			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
 		auto allScores = value["Scores"]["Score"];
 		for (auto value : allScores)
 			elementObject.scores.push_back(value.asString());

+ 50 - 27
objectdet/src/model/RecognizeVehicleDashboardRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/RecognizeVehicleDashboardRequest.h>
-
-using AlibabaCloud::Objectdet::Model::RecognizeVehicleDashboardRequest;
-
-RecognizeVehicleDashboardRequest::RecognizeVehicleDashboardRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleDashboard")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeVehicleDashboardRequest::~RecognizeVehicleDashboardRequest()
-{}
-
-std::string RecognizeVehicleDashboardRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void RecognizeVehicleDashboardRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/RecognizeVehicleDashboardRequest.h>
+
+using AlibabaCloud::Objectdet::Model::RecognizeVehicleDashboardRequest;
+
+RecognizeVehicleDashboardRequest::RecognizeVehicleDashboardRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleDashboard") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeVehicleDashboardRequest::~RecognizeVehicleDashboardRequest() {}
+
+bool RecognizeVehicleDashboardRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void RecognizeVehicleDashboardRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string RecognizeVehicleDashboardRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void RecognizeVehicleDashboardRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string RecognizeVehicleDashboardRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void RecognizeVehicleDashboardRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string RecognizeVehicleDashboardRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void RecognizeVehicleDashboardRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 2 - 2
objectdet/src/model/RecognizeVehicleDashboardResult.cc

@@ -46,10 +46,10 @@ void RecognizeVehicleDashboardResult::parse(const std::string &payload)
 		Data::Element elementObject;
 		if(!dataNodeElementsElement["Score"].isNull())
 			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
-		if(!dataNodeElementsElement["ClassName"].isNull())
-			elementObject.className = dataNodeElementsElement["ClassName"].asString();
 		if(!dataNodeElementsElement["Label"].isNull())
 			elementObject.label = dataNodeElementsElement["Label"].asString();
+		if(!dataNodeElementsElement["ClassName"].isNull())
+			elementObject.className = dataNodeElementsElement["ClassName"].asString();
 		auto allBoxes = value["Boxes"]["Box"];
 		for (auto value : allBoxes)
 			elementObject.boxes.push_back(value.asString());

+ 50 - 27
objectdet/src/model/RecognizeVehiclePartsRequest.cc

@@ -1,40 +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.
- */
-
-#include <alibabacloud/objectdet/model/RecognizeVehiclePartsRequest.h>
-
-using AlibabaCloud::Objectdet::Model::RecognizeVehiclePartsRequest;
-
-RecognizeVehiclePartsRequest::RecognizeVehiclePartsRequest() :
-	RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleParts")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeVehiclePartsRequest::~RecognizeVehiclePartsRequest()
-{}
-
-std::string RecognizeVehiclePartsRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void RecognizeVehiclePartsRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/objectdet/model/RecognizeVehiclePartsRequest.h>
+
+using AlibabaCloud::Objectdet::Model::RecognizeVehiclePartsRequest;
+
+RecognizeVehiclePartsRequest::RecognizeVehiclePartsRequest()
+    : RpcServiceRequest("objectdet", "2019-12-30", "RecognizeVehicleParts") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeVehiclePartsRequest::~RecognizeVehiclePartsRequest() {}
+
+bool RecognizeVehiclePartsRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void RecognizeVehiclePartsRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string RecognizeVehiclePartsRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void RecognizeVehiclePartsRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string RecognizeVehiclePartsRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void RecognizeVehiclePartsRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string RecognizeVehiclePartsRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void RecognizeVehiclePartsRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 2 - 2
objectdet/src/model/RecognizeVehiclePartsResult.cc

@@ -44,10 +44,10 @@ void RecognizeVehiclePartsResult::parse(const std::string &payload)
 	for (auto dataNodeElementsElement : allElementsNode)
 	{
 		Data::Element elementObject;
-		if(!dataNodeElementsElement["Score"].isNull())
-			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
 		if(!dataNodeElementsElement["Type"].isNull())
 			elementObject.type = dataNodeElementsElement["Type"].asString();
+		if(!dataNodeElementsElement["Score"].isNull())
+			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
 		auto allBoxes = value["Boxes"]["Box"];
 		for (auto value : allBoxes)
 			elementObject.boxes.push_back(value.asString());