Create App Group Support Schedule Busy Workers.
This commit is contained in:
@@ -52,6 +52,15 @@ void CreateAppGroupRequest::setNamespaceSource(const std::string &namespaceSourc
|
||||
setParameter(std::string("NamespaceSource"), namespaceSource);
|
||||
}
|
||||
|
||||
bool CreateAppGroupRequest::getScheduleBusyWorkers() const {
|
||||
return scheduleBusyWorkers_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setScheduleBusyWorkers(bool scheduleBusyWorkers) {
|
||||
scheduleBusyWorkers_ = scheduleBusyWorkers;
|
||||
setParameter(std::string("ScheduleBusyWorkers"), scheduleBusyWorkers ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMetricsThresholdJson() const {
|
||||
return metricsThresholdJson_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,24 @@ CreateNamespaceRequest::CreateNamespaceRequest()
|
||||
|
||||
CreateNamespaceRequest::~CreateNamespaceRequest() {}
|
||||
|
||||
std::string CreateNamespaceRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateNamespaceRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateNamespaceRequest::getSource() const {
|
||||
return source_;
|
||||
}
|
||||
|
||||
void CreateNamespaceRequest::setSource(const std::string &source) {
|
||||
source_ = source;
|
||||
setParameter(std::string("Source"), source);
|
||||
}
|
||||
|
||||
std::string CreateNamespaceRequest::getUid() const {
|
||||
return uid_;
|
||||
}
|
||||
@@ -52,12 +70,3 @@ void CreateNamespaceRequest::setName(const std::string &name) {
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
std::string CreateNamespaceRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateNamespaceRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user