Release CustomizeClassifyImage.
This commit is contained in:
@@ -34,6 +34,8 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
std::string getTrainMode() const;
|
||||
void setTrainMode(const std::string &trainMode);
|
||||
std::string getDatasetIds() const;
|
||||
void setDatasetIds(const std::string &datasetIds);
|
||||
long getPreTrainTaskId() const;
|
||||
void setPreTrainTaskId(long preTrainTaskId);
|
||||
std::string getAdvancedParameters() const;
|
||||
@@ -44,17 +46,21 @@ public:
|
||||
void setName(const std::string &name);
|
||||
long getDatasetId() const;
|
||||
void setDatasetId(long datasetId);
|
||||
std::string getLabelIds() const;
|
||||
void setLabelIds(const std::string &labelIds);
|
||||
long getWorkspaceId() const;
|
||||
void setWorkspaceId(long workspaceId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string trainMode_;
|
||||
std::string datasetIds_;
|
||||
long preTrainTaskId_;
|
||||
std::string advancedParameters_;
|
||||
long labelId_;
|
||||
std::string name_;
|
||||
long datasetId_;
|
||||
std::string labelIds_;
|
||||
long workspaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setValue(const std::string &value);
|
||||
long getCurrentPage() const;
|
||||
void setCurrentPage(long currentPage);
|
||||
bool getIsAbandon() const;
|
||||
void setIsAbandon(bool isAbandon);
|
||||
long getLabelId() const;
|
||||
void setLabelId(long labelId);
|
||||
std::string getName() const;
|
||||
@@ -47,6 +49,7 @@ private:
|
||||
long pageSize_;
|
||||
std::string value_;
|
||||
long currentPage_;
|
||||
bool isAbandon_;
|
||||
long labelId_;
|
||||
std::string name_;
|
||||
std::string operation_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setTrainMode(const std::string &trainMode);
|
||||
long getId() const;
|
||||
void setId(long id);
|
||||
std::string getDatasetIds() const;
|
||||
void setDatasetIds(const std::string &datasetIds);
|
||||
long getPreTrainTaskId() const;
|
||||
void setPreTrainTaskId(long preTrainTaskId);
|
||||
bool getPreTrainTaskFlag() const;
|
||||
@@ -48,17 +50,21 @@ public:
|
||||
void setName(const std::string &name);
|
||||
long getDatasetId() const;
|
||||
void setDatasetId(long datasetId);
|
||||
std::string getLabelIds() const;
|
||||
void setLabelIds(const std::string &labelIds);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string trainMode_;
|
||||
long id_;
|
||||
std::string datasetIds_;
|
||||
long preTrainTaskId_;
|
||||
bool preTrainTaskFlag_;
|
||||
std::string advancedParameters_;
|
||||
long labelId_;
|
||||
std::string name_;
|
||||
long datasetId_;
|
||||
std::string labelIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Viapi_regen
|
||||
|
||||
@@ -43,6 +43,15 @@ void CreateTrainTaskRequest::setTrainMode(const std::string &trainMode) {
|
||||
setBodyParameter(std::string("TrainMode"), trainMode);
|
||||
}
|
||||
|
||||
std::string CreateTrainTaskRequest::getDatasetIds() const {
|
||||
return datasetIds_;
|
||||
}
|
||||
|
||||
void CreateTrainTaskRequest::setDatasetIds(const std::string &datasetIds) {
|
||||
datasetIds_ = datasetIds;
|
||||
setBodyParameter(std::string("DatasetIds"), datasetIds);
|
||||
}
|
||||
|
||||
long CreateTrainTaskRequest::getPreTrainTaskId() const {
|
||||
return preTrainTaskId_;
|
||||
}
|
||||
@@ -88,6 +97,15 @@ void CreateTrainTaskRequest::setDatasetId(long datasetId) {
|
||||
setBodyParameter(std::string("DatasetId"), std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::string CreateTrainTaskRequest::getLabelIds() const {
|
||||
return labelIds_;
|
||||
}
|
||||
|
||||
void CreateTrainTaskRequest::setLabelIds(const std::string &labelIds) {
|
||||
labelIds_ = labelIds;
|
||||
setBodyParameter(std::string("LabelIds"), labelIds);
|
||||
}
|
||||
|
||||
long CreateTrainTaskRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void ListLabelsetDatasRequest::setCurrentPage(long currentPage) {
|
||||
setBodyParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
bool ListLabelsetDatasRequest::getIsAbandon() const {
|
||||
return isAbandon_;
|
||||
}
|
||||
|
||||
void ListLabelsetDatasRequest::setIsAbandon(bool isAbandon) {
|
||||
isAbandon_ = isAbandon;
|
||||
setBodyParameter(std::string("IsAbandon"), isAbandon ? "true" : "false");
|
||||
}
|
||||
|
||||
long ListLabelsetDatasRequest::getLabelId() const {
|
||||
return labelId_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void UpdateTrainTaskRequest::setId(long id) {
|
||||
setBodyParameter(std::string("Id"), std::to_string(id));
|
||||
}
|
||||
|
||||
std::string UpdateTrainTaskRequest::getDatasetIds() const {
|
||||
return datasetIds_;
|
||||
}
|
||||
|
||||
void UpdateTrainTaskRequest::setDatasetIds(const std::string &datasetIds) {
|
||||
datasetIds_ = datasetIds;
|
||||
setBodyParameter(std::string("DatasetIds"), datasetIds);
|
||||
}
|
||||
|
||||
long UpdateTrainTaskRequest::getPreTrainTaskId() const {
|
||||
return preTrainTaskId_;
|
||||
}
|
||||
@@ -106,3 +115,12 @@ void UpdateTrainTaskRequest::setDatasetId(long datasetId) {
|
||||
setBodyParameter(std::string("DatasetId"), std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::string UpdateTrainTaskRequest::getLabelIds() const {
|
||||
return labelIds_;
|
||||
}
|
||||
|
||||
void UpdateTrainTaskRequest::setLabelIds(const std::string &labelIds) {
|
||||
labelIds_ = labelIds;
|
||||
setBodyParameter(std::string("LabelIds"), labelIds);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user