Kaynağa Gözat

Change RefreshAssets Public.

sdk-team 4 yıl önce
ebeveyn
işleme
1ac934250e

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1251
+1.36.1252

+ 6 - 0
sas/include/alibabacloud/sas/model/RefreshAssetsRequest.h

@@ -32,12 +32,18 @@ public:
 	~RefreshAssetsRequest();
 	std::string getSourceIp() const;
 	void setSourceIp(const std::string &sourceIp);
+	int getCloudAssetSubType() const;
+	void setCloudAssetSubType(int cloudAssetSubType);
 	std::string getAssetType() const;
 	void setAssetType(const std::string &assetType);
+	int getCloudAssetType() const;
+	void setCloudAssetType(int cloudAssetType);
 
 private:
 	std::string sourceIp_;
+	int cloudAssetSubType_;
 	std::string assetType_;
+	int cloudAssetType_;
 };
 } // namespace Model
 } // namespace Sas

+ 18 - 0
sas/src/model/RefreshAssetsRequest.cc

@@ -34,6 +34,15 @@ void RefreshAssetsRequest::setSourceIp(const std::string &sourceIp) {
   setParameter(std::string("SourceIp"), sourceIp);
 }
 
+int RefreshAssetsRequest::getCloudAssetSubType() const {
+  return cloudAssetSubType_;
+}
+
+void RefreshAssetsRequest::setCloudAssetSubType(int cloudAssetSubType) {
+  cloudAssetSubType_ = cloudAssetSubType;
+  setParameter(std::string("CloudAssetSubType"), std::to_string(cloudAssetSubType));
+}
+
 std::string RefreshAssetsRequest::getAssetType() const {
   return assetType_;
 }
@@ -43,3 +52,12 @@ void RefreshAssetsRequest::setAssetType(const std::string &assetType) {
   setParameter(std::string("AssetType"), assetType);
 }
 
+int RefreshAssetsRequest::getCloudAssetType() const {
+  return cloudAssetType_;
+}
+
+void RefreshAssetsRequest::setCloudAssetType(int cloudAssetType) {
+  cloudAssetType_ = cloudAssetType;
+  setParameter(std::string("CloudAssetType"), std::to_string(cloudAssetType));
+}
+