Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -40,6 +40,8 @@ public:
|
||||
void setAlertMethods(const std::string &alertMethods);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
long getBaselineId() const;
|
||||
void setBaselineId(long baselineId);
|
||||
long getRemindId() const;
|
||||
void setRemindId(long remindId);
|
||||
int getPageSize() const;
|
||||
@@ -53,6 +55,7 @@ private:
|
||||
std::string beginTime_;
|
||||
std::string alertMethods_;
|
||||
int pageNumber_;
|
||||
long baselineId_;
|
||||
long remindId_;
|
||||
int pageSize_;
|
||||
std::string alertRuleTypes_;
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
void setNodeId(long nodeId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
int pageSize_;
|
||||
long nodeId_;
|
||||
long projectId_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -70,6 +70,15 @@ void ListAlertMessagesRequest::setPageNumber(int pageNumber) {
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListAlertMessagesRequest::getBaselineId() const {
|
||||
return baselineId_;
|
||||
}
|
||||
|
||||
void ListAlertMessagesRequest::setBaselineId(long baselineId) {
|
||||
baselineId_ = baselineId;
|
||||
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
|
||||
}
|
||||
|
||||
long ListAlertMessagesRequest::getRemindId() const {
|
||||
return remindId_;
|
||||
}
|
||||
|
||||
@@ -142,3 +142,12 @@ void ListInstancesRequest::setProjectId(long projectId) {
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setBodyParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user