Modify CreateAsyncPredict add new parameters.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-09-08 Version: patch
|
||||
- Modify CreateAsyncPredict add new parameters.
|
||||
|
||||
2020-09-07 Version: patch
|
||||
- Support parameter APIs.
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setFileType(const std::string& fileType);
|
||||
std::string getDetailTag()const;
|
||||
void setDetailTag(const std::string& detailTag);
|
||||
std::string getFetchContent()const;
|
||||
void setFetchContent(const std::string& fetchContent);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getFileContent()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
int topK_;
|
||||
std::string fileType_;
|
||||
std::string detailTag_;
|
||||
std::string fetchContent_;
|
||||
std::string content_;
|
||||
std::string fileContent_;
|
||||
int modelId_;
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateAsyncPredictRequest::setDetailTag(const std::string& detailTag)
|
||||
setBodyParameter("DetailTag", detailTag);
|
||||
}
|
||||
|
||||
std::string CreateAsyncPredictRequest::getFetchContent()const
|
||||
{
|
||||
return fetchContent_;
|
||||
}
|
||||
|
||||
void CreateAsyncPredictRequest::setFetchContent(const std::string& fetchContent)
|
||||
{
|
||||
fetchContent_ = fetchContent;
|
||||
setBodyParameter("FetchContent", fetchContent);
|
||||
}
|
||||
|
||||
std::string CreateAsyncPredictRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
|
||||
Reference in New Issue
Block a user