Fix normandy query api.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2022-02-16 Version: 1.36.1054
|
||||
- Fix normandy query api.
|
||||
|
||||
2022-02-11 Version: 1.36.1053
|
||||
- Add OTA API, including ReupgradeOTATask.
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setType(const std::string &type);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
bool getIsWhite() const;
|
||||
void setIsWhite(bool isWhite);
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
|
||||
@@ -43,6 +45,7 @@ private:
|
||||
std::string gatewayUniqueId_;
|
||||
std::string type_;
|
||||
std::string resourceType_;
|
||||
bool isWhite_;
|
||||
std::string acceptLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_MSE_EXPORT ListClusterTypesRequest : public RpcServiceRequest
|
||||
public:
|
||||
ListClusterTypesRequest();
|
||||
~ListClusterTypesRequest();
|
||||
std::string getConnectType() const;
|
||||
void setConnectType(const std::string &connectType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
|
||||
private:
|
||||
std::string connectType_;
|
||||
std::string regionId_;
|
||||
std::string acceptLanguage_;
|
||||
};
|
||||
|
||||
@@ -30,10 +30,13 @@ class ALIBABACLOUD_MSE_EXPORT QueryClusterSpecificationRequest : public RpcServi
|
||||
public:
|
||||
QueryClusterSpecificationRequest();
|
||||
~QueryClusterSpecificationRequest();
|
||||
std::string getConnectType() const;
|
||||
void setConnectType(const std::string &connectType);
|
||||
std::string getAcceptLanguage() const;
|
||||
void setAcceptLanguage(const std::string &acceptLanguage);
|
||||
|
||||
private:
|
||||
std::string connectType_;
|
||||
std::string acceptLanguage_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setType(const std::string &type);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
bool getIsWhite() const;
|
||||
void setIsWhite(bool isWhite);
|
||||
long getId() const;
|
||||
void setId(long id);
|
||||
std::string getResourceType() const;
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
std::string gatewayUniqueId_;
|
||||
std::string type_;
|
||||
std::string content_;
|
||||
bool isWhite_;
|
||||
long id_;
|
||||
std::string resourceType_;
|
||||
std::string acceptLanguage_;
|
||||
|
||||
@@ -52,6 +52,15 @@ void GetBlackWhiteListRequest::setResourceType(const std::string &resourceType)
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
bool GetBlackWhiteListRequest::getIsWhite() const {
|
||||
return isWhite_;
|
||||
}
|
||||
|
||||
void GetBlackWhiteListRequest::setIsWhite(bool isWhite) {
|
||||
isWhite_ = isWhite;
|
||||
setParameter(std::string("IsWhite"), isWhite ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetBlackWhiteListRequest::getAcceptLanguage() const {
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ ListClusterTypesRequest::ListClusterTypesRequest()
|
||||
|
||||
ListClusterTypesRequest::~ListClusterTypesRequest() {}
|
||||
|
||||
std::string ListClusterTypesRequest::getConnectType() const {
|
||||
return connectType_;
|
||||
}
|
||||
|
||||
void ListClusterTypesRequest::setConnectType(const std::string &connectType) {
|
||||
connectType_ = connectType;
|
||||
setParameter(std::string("ConnectType"), connectType);
|
||||
}
|
||||
|
||||
std::string ListClusterTypesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ QueryClusterSpecificationRequest::QueryClusterSpecificationRequest()
|
||||
|
||||
QueryClusterSpecificationRequest::~QueryClusterSpecificationRequest() {}
|
||||
|
||||
std::string QueryClusterSpecificationRequest::getConnectType() const {
|
||||
return connectType_;
|
||||
}
|
||||
|
||||
void QueryClusterSpecificationRequest::setConnectType(const std::string &connectType) {
|
||||
connectType_ = connectType;
|
||||
setParameter(std::string("ConnectType"), connectType);
|
||||
}
|
||||
|
||||
std::string QueryClusterSpecificationRequest::getAcceptLanguage() const {
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void UpdateBlackWhiteListRequest::setContent(const std::string &content) {
|
||||
setParameter(std::string("Content"), content);
|
||||
}
|
||||
|
||||
bool UpdateBlackWhiteListRequest::getIsWhite() const {
|
||||
return isWhite_;
|
||||
}
|
||||
|
||||
void UpdateBlackWhiteListRequest::setIsWhite(bool isWhite) {
|
||||
isWhite_ = isWhite;
|
||||
setParameter(std::string("IsWhite"), isWhite ? "true" : "false");
|
||||
}
|
||||
|
||||
long UpdateBlackWhiteListRequest::getId() const {
|
||||
return id_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user