Change RefreshAssets Public.

This commit is contained in:
sdk-team
2022-09-08 03:13:35 +00:00
parent 852d78709b
commit 1ac934250e
3 changed files with 25 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1251 1.36.1252

View File

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

View File

@@ -34,6 +34,15 @@ void RefreshAssetsRequest::setSourceIp(const std::string &sourceIp) {
setParameter(std::string("SourceIp"), 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 { std::string RefreshAssetsRequest::getAssetType() const {
return assetType_; return assetType_;
} }
@@ -43,3 +52,12 @@ void RefreshAssetsRequest::setAssetType(const std::string &assetType) {
setParameter(std::string("AssetType"), 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));
}