Browse Source

Support ClientToken for Idemoptent.

sdk-team 2 years ago
parent
commit
0f77f88873

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1788
+1.36.1789

+ 3 - 0
eflo/include/alibabacloud/eflo/model/AssignPrivateIpAddressRequest.h

@@ -30,6 +30,8 @@ class ALIBABACLOUD_EFLO_EXPORT AssignPrivateIpAddressRequest : public RpcService
 public:
 	AssignPrivateIpAddressRequest();
 	~AssignPrivateIpAddressRequest();
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
 	std::string getDescription() const;
 	void setDescription(const std::string &description);
 	bool getAssignMac() const;
@@ -46,6 +48,7 @@ public:
 	void setNetworkInterfaceId(const std::string &networkInterfaceId);
 
 private:
+	std::string clientToken_;
 	std::string description_;
 	bool assignMac_;
 	std::string regionId_;

+ 12 - 6
eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h

@@ -30,26 +30,32 @@ class ALIBABACLOUD_EFLO_EXPORT CreateElasticNetworkInterfaceRequest : public Rpc
 public:
 	CreateElasticNetworkInterfaceRequest();
 	~CreateElasticNetworkInterfaceRequest();
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
+	std::string getSecurityGroupId() const;
+	void setSecurityGroupId(const std::string &securityGroupId);
 	std::string getDescription() const;
 	void setDescription(const std::string &description);
-	std::string getVSwitchId() const;
-	void setVSwitchId(const std::string &vSwitchId);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
+	std::string getNodeId() const;
+	void setNodeId(const std::string &nodeId);
+	std::string getVSwitchId() const;
+	void setVSwitchId(const std::string &vSwitchId);
 	std::string getVpcId() const;
 	void setVpcId(const std::string &vpcId);
 	std::string getZoneId() const;
 	void setZoneId(const std::string &zoneId);
-	std::string getNodeId() const;
-	void setNodeId(const std::string &nodeId);
 
 private:
+	std::string clientToken_;
+	std::string securityGroupId_;
 	std::string description_;
-	std::string vSwitchId_;
 	std::string regionId_;
+	std::string nodeId_;
+	std::string vSwitchId_;
 	std::string vpcId_;
 	std::string zoneId_;
-	std::string nodeId_;
 };
 } // namespace Model
 } // namespace Eflo

+ 3 - 0
eflo/include/alibabacloud/eflo/model/DeleteElasticNetworkInterfaceRequest.h

@@ -30,12 +30,15 @@ class ALIBABACLOUD_EFLO_EXPORT DeleteElasticNetworkInterfaceRequest : public Rpc
 public:
 	DeleteElasticNetworkInterfaceRequest();
 	~DeleteElasticNetworkInterfaceRequest();
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
 	std::string getElasticNetworkInterfaceId() const;
 	void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
 
 private:
+	std::string clientToken_;
 	std::string regionId_;
 	std::string elasticNetworkInterfaceId_;
 };

+ 1 - 0
eflo/include/alibabacloud/eflo/model/GetNodeInfoForPodResult.h

@@ -34,6 +34,7 @@ namespace AlibabaCloud
 			public:
 				struct Content
 				{
+					std::string zoneId;
 					std::string vpcId;
 					std::string clusterId;
 					int lniSipQuota;

+ 3 - 0
eflo/include/alibabacloud/eflo/model/ListNodeInfosForPodRequest.h

@@ -34,12 +34,15 @@ public:
 	void setClusterId(const std::string &clusterId);
 	std::string getRegionId() const;
 	void setRegionId(const std::string &regionId);
+	std::string getZoneId() const;
+	void setZoneId(const std::string &zoneId);
 	std::string getNodeId() const;
 	void setNodeId(const std::string &nodeId);
 
 private:
 	std::string clusterId_;
 	std::string regionId_;
+	std::string zoneId_;
 	std::string nodeId_;
 };
 } // namespace Model

+ 1 - 0
eflo/include/alibabacloud/eflo/model/ListNodeInfosForPodResult.h

@@ -34,6 +34,7 @@ namespace AlibabaCloud
 			public:
 				struct ContentItem
 				{
+					std::string zoneId;
 					std::string vpcId;
 					std::string clusterId;
 					int lniSipQuota;

+ 3 - 0
eflo/include/alibabacloud/eflo/model/UnAssignPrivateIpAddressRequest.h

@@ -32,6 +32,8 @@ public:
 	~UnAssignPrivateIpAddressRequest();
 	std::string getSubnetId() const;
 	void setSubnetId(const std::string &subnetId);
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
 	std::string getPrivateIpAddress() const;
 	void setPrivateIpAddress(const std::string &privateIpAddress);
 	std::string getRegionId() const;
@@ -43,6 +45,7 @@ public:
 
 private:
 	std::string subnetId_;
+	std::string clientToken_;
 	std::string privateIpAddress_;
 	std::string regionId_;
 	std::string ipName_;

+ 3 - 0
eflo/include/alibabacloud/eflo/model/UpdateElasticNetworkInterfaceRequest.h

@@ -30,6 +30,8 @@ class ALIBABACLOUD_EFLO_EXPORT UpdateElasticNetworkInterfaceRequest : public Rpc
 public:
 	UpdateElasticNetworkInterfaceRequest();
 	~UpdateElasticNetworkInterfaceRequest();
+	std::string getClientToken() const;
+	void setClientToken(const std::string &clientToken);
 	std::string getDescription() const;
 	void setDescription(const std::string &description);
 	std::string getRegionId() const;
@@ -38,6 +40,7 @@ public:
 	void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
 
 private:
+	std::string clientToken_;
 	std::string description_;
 	std::string regionId_;
 	std::string elasticNetworkInterfaceId_;

+ 9 - 0
eflo/src/model/AssignPrivateIpAddressRequest.cc

@@ -25,6 +25,15 @@ AssignPrivateIpAddressRequest::AssignPrivateIpAddressRequest()
 
 AssignPrivateIpAddressRequest::~AssignPrivateIpAddressRequest() {}
 
+std::string AssignPrivateIpAddressRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void AssignPrivateIpAddressRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setBodyParameter(std::string("ClientToken"), clientToken);
+}
+
 std::string AssignPrivateIpAddressRequest::getDescription() const {
   return description_;
 }

+ 36 - 18
eflo/src/model/CreateElasticNetworkInterfaceRequest.cc

@@ -25,6 +25,24 @@ CreateElasticNetworkInterfaceRequest::CreateElasticNetworkInterfaceRequest()
 
 CreateElasticNetworkInterfaceRequest::~CreateElasticNetworkInterfaceRequest() {}
 
+std::string CreateElasticNetworkInterfaceRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void CreateElasticNetworkInterfaceRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setBodyParameter(std::string("ClientToken"), clientToken);
+}
+
+std::string CreateElasticNetworkInterfaceRequest::getSecurityGroupId() const {
+  return securityGroupId_;
+}
+
+void CreateElasticNetworkInterfaceRequest::setSecurityGroupId(const std::string &securityGroupId) {
+  securityGroupId_ = securityGroupId;
+  setBodyParameter(std::string("SecurityGroupId"), securityGroupId);
+}
+
 std::string CreateElasticNetworkInterfaceRequest::getDescription() const {
   return description_;
 }
@@ -34,15 +52,6 @@ void CreateElasticNetworkInterfaceRequest::setDescription(const std::string &des
   setBodyParameter(std::string("Description"), description);
 }
 
-std::string CreateElasticNetworkInterfaceRequest::getVSwitchId() const {
-  return vSwitchId_;
-}
-
-void CreateElasticNetworkInterfaceRequest::setVSwitchId(const std::string &vSwitchId) {
-  vSwitchId_ = vSwitchId;
-  setBodyParameter(std::string("VSwitchId"), vSwitchId);
-}
-
 std::string CreateElasticNetworkInterfaceRequest::getRegionId() const {
   return regionId_;
 }
@@ -52,6 +61,24 @@ void CreateElasticNetworkInterfaceRequest::setRegionId(const std::string &region
   setBodyParameter(std::string("RegionId"), regionId);
 }
 
+std::string CreateElasticNetworkInterfaceRequest::getNodeId() const {
+  return nodeId_;
+}
+
+void CreateElasticNetworkInterfaceRequest::setNodeId(const std::string &nodeId) {
+  nodeId_ = nodeId;
+  setBodyParameter(std::string("NodeId"), nodeId);
+}
+
+std::string CreateElasticNetworkInterfaceRequest::getVSwitchId() const {
+  return vSwitchId_;
+}
+
+void CreateElasticNetworkInterfaceRequest::setVSwitchId(const std::string &vSwitchId) {
+  vSwitchId_ = vSwitchId;
+  setBodyParameter(std::string("VSwitchId"), vSwitchId);
+}
+
 std::string CreateElasticNetworkInterfaceRequest::getVpcId() const {
   return vpcId_;
 }
@@ -70,12 +97,3 @@ void CreateElasticNetworkInterfaceRequest::setZoneId(const std::string &zoneId)
   setBodyParameter(std::string("ZoneId"), zoneId);
 }
 
-std::string CreateElasticNetworkInterfaceRequest::getNodeId() const {
-  return nodeId_;
-}
-
-void CreateElasticNetworkInterfaceRequest::setNodeId(const std::string &nodeId) {
-  nodeId_ = nodeId;
-  setBodyParameter(std::string("NodeId"), nodeId);
-}
-

+ 9 - 0
eflo/src/model/DeleteElasticNetworkInterfaceRequest.cc

@@ -25,6 +25,15 @@ DeleteElasticNetworkInterfaceRequest::DeleteElasticNetworkInterfaceRequest()
 
 DeleteElasticNetworkInterfaceRequest::~DeleteElasticNetworkInterfaceRequest() {}
 
+std::string DeleteElasticNetworkInterfaceRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void DeleteElasticNetworkInterfaceRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setBodyParameter(std::string("ClientToken"), clientToken);
+}
+
 std::string DeleteElasticNetworkInterfaceRequest::getRegionId() const {
   return regionId_;
 }

+ 2 - 0
eflo/src/model/GetNodeInfoForPodResult.cc

@@ -42,6 +42,8 @@ void GetNodeInfoForPodResult::parse(const std::string &payload)
 	auto contentNode = value["Content"];
 	if(!contentNode["RegionId"].isNull())
 		content_.regionId = contentNode["RegionId"].asString();
+	if(!contentNode["ZoneId"].isNull())
+		content_.zoneId = contentNode["ZoneId"].asString();
 	if(!contentNode["ClusterId"].isNull())
 		content_.clusterId = contentNode["ClusterId"].asString();
 	if(!contentNode["VpcId"].isNull())

+ 9 - 0
eflo/src/model/ListNodeInfosForPodRequest.cc

@@ -43,6 +43,15 @@ void ListNodeInfosForPodRequest::setRegionId(const std::string &regionId) {
   setBodyParameter(std::string("RegionId"), regionId);
 }
 
+std::string ListNodeInfosForPodRequest::getZoneId() const {
+  return zoneId_;
+}
+
+void ListNodeInfosForPodRequest::setZoneId(const std::string &zoneId) {
+  zoneId_ = zoneId;
+  setBodyParameter(std::string("ZoneId"), zoneId);
+}
+
 std::string ListNodeInfosForPodRequest::getNodeId() const {
   return nodeId_;
 }

+ 2 - 0
eflo/src/model/ListNodeInfosForPodResult.cc

@@ -45,6 +45,8 @@ void ListNodeInfosForPodResult::parse(const std::string &payload)
 		ContentItem contentObject;
 		if(!valueContentContentItem["RegionId"].isNull())
 			contentObject.regionId = valueContentContentItem["RegionId"].asString();
+		if(!valueContentContentItem["ZoneId"].isNull())
+			contentObject.zoneId = valueContentContentItem["ZoneId"].asString();
 		if(!valueContentContentItem["ClusterId"].isNull())
 			contentObject.clusterId = valueContentContentItem["ClusterId"].asString();
 		if(!valueContentContentItem["VpcId"].isNull())

+ 9 - 0
eflo/src/model/UnAssignPrivateIpAddressRequest.cc

@@ -34,6 +34,15 @@ void UnAssignPrivateIpAddressRequest::setSubnetId(const std::string &subnetId) {
   setBodyParameter(std::string("SubnetId"), subnetId);
 }
 
+std::string UnAssignPrivateIpAddressRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void UnAssignPrivateIpAddressRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setBodyParameter(std::string("ClientToken"), clientToken);
+}
+
 std::string UnAssignPrivateIpAddressRequest::getPrivateIpAddress() const {
   return privateIpAddress_;
 }

+ 9 - 0
eflo/src/model/UpdateElasticNetworkInterfaceRequest.cc

@@ -25,6 +25,15 @@ UpdateElasticNetworkInterfaceRequest::UpdateElasticNetworkInterfaceRequest()
 
 UpdateElasticNetworkInterfaceRequest::~UpdateElasticNetworkInterfaceRequest() {}
 
+std::string UpdateElasticNetworkInterfaceRequest::getClientToken() const {
+  return clientToken_;
+}
+
+void UpdateElasticNetworkInterfaceRequest::setClientToken(const std::string &clientToken) {
+  clientToken_ = clientToken;
+  setBodyParameter(std::string("ClientToken"), clientToken);
+}
+
 std::string UpdateElasticNetworkInterfaceRequest::getDescription() const {
   return description_;
 }