regenerate code
This commit is contained in:
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::CreateProjectRequest;
|
||||
|
||||
CreateProjectRequest::CreateProjectRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "CreateProject")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProjectRequest::~CreateProjectRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateProjectRequest::getProjectName()const
|
||||
void CreateProjectRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getModelId()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateProjectRequest::getModelId()const
|
||||
void CreateProjectRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
setBodyParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getProjectType()const
|
||||
@@ -55,6 +57,6 @@ std::string CreateProjectRequest::getProjectType()const
|
||||
void CreateProjectRequest::setProjectType(const std::string& projectType)
|
||||
{
|
||||
projectType_ = projectType;
|
||||
setCoreParameter("ProjectType", projectType);
|
||||
setBodyParameter("ProjectType", projectType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::DeleteProjectRequest;
|
||||
|
||||
DeleteProjectRequest::DeleteProjectRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "DeleteProject")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteProjectRequest::~DeleteProjectRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DeleteProjectRequest::getProjectId()const
|
||||
void DeleteProjectRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::DeployServiceRequest;
|
||||
|
||||
DeployServiceRequest::DeployServiceRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "DeployService")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeployServiceRequest::~DeployServiceRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DeployServiceRequest::getProjectId()const
|
||||
void DeployServiceRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::DescribeProjectRequest;
|
||||
|
||||
DescribeProjectRequest::DescribeProjectRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "DescribeProject")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeProjectRequest::~DescribeProjectRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DescribeProjectRequest::getProjectId()const
|
||||
void DescribeProjectRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::GetPredictResultRequest;
|
||||
|
||||
GetPredictResultRequest::GetPredictResultRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "GetPredictResult")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPredictResultRequest::~GetPredictResultRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int GetPredictResultRequest::getTopK()const
|
||||
void GetPredictResultRequest::setTopK(int topK)
|
||||
{
|
||||
topK_ = topK;
|
||||
setCoreParameter("TopK", std::to_string(topK));
|
||||
setParameter("TopK", std::to_string(topK));
|
||||
}
|
||||
|
||||
std::string GetPredictResultRequest::getTraceTag()const
|
||||
@@ -44,7 +46,7 @@ std::string GetPredictResultRequest::getTraceTag()const
|
||||
void GetPredictResultRequest::setTraceTag(const std::string& traceTag)
|
||||
{
|
||||
traceTag_ = traceTag;
|
||||
setCoreParameter("TraceTag", traceTag);
|
||||
setParameter("TraceTag", traceTag);
|
||||
}
|
||||
|
||||
std::string GetPredictResultRequest::getQuestion()const
|
||||
@@ -55,7 +57,7 @@ std::string GetPredictResultRequest::getQuestion()const
|
||||
void GetPredictResultRequest::setQuestion(const std::string& question)
|
||||
{
|
||||
question_ = question;
|
||||
setCoreParameter("Question", question);
|
||||
setBodyParameter("Question", question);
|
||||
}
|
||||
|
||||
std::string GetPredictResultRequest::getProjectId()const
|
||||
@@ -66,6 +68,6 @@ std::string GetPredictResultRequest::getProjectId()const
|
||||
void GetPredictResultRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::ListProjectsRequest;
|
||||
|
||||
ListProjectsRequest::ListProjectsRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "ListProjects")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListProjectsRequest::~ListProjectsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListProjectsRequest::getFilterParam()const
|
||||
void ListProjectsRequest::setFilterParam(const std::string& filterParam)
|
||||
{
|
||||
filterParam_ = filterParam;
|
||||
setCoreParameter("FilterParam", filterParam);
|
||||
setParameter("FilterParam", filterParam);
|
||||
}
|
||||
|
||||
int ListProjectsRequest::getPageNumber()const
|
||||
@@ -44,7 +46,7 @@ int ListProjectsRequest::getPageNumber()const
|
||||
void ListProjectsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListProjectsRequest::getPageSize()const
|
||||
@@ -55,7 +57,7 @@ int ListProjectsRequest::getPageSize()const
|
||||
void ListProjectsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListProjectsRequest::getProjectType()const
|
||||
@@ -66,6 +68,6 @@ std::string ListProjectsRequest::getProjectType()const
|
||||
void ListProjectsRequest::setProjectType(const std::string& projectType)
|
||||
{
|
||||
projectType_ = projectType;
|
||||
setCoreParameter("ProjectType", projectType);
|
||||
setParameter("ProjectType", projectType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::ModifiyProjectRequest;
|
||||
|
||||
ModifiyProjectRequest::ModifiyProjectRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "ModifiyProject")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifiyProjectRequest::~ModifiyProjectRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ModifiyProjectRequest::getProjectName()const
|
||||
void ModifiyProjectRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string ModifiyProjectRequest::getModelId()const
|
||||
@@ -44,7 +46,7 @@ std::string ModifiyProjectRequest::getModelId()const
|
||||
void ModifiyProjectRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
setBodyParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string ModifiyProjectRequest::getProjectId()const
|
||||
@@ -55,6 +57,6 @@ std::string ModifiyProjectRequest::getProjectId()const
|
||||
void ModifiyProjectRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::UploadDictionaryRequest;
|
||||
|
||||
UploadDictionaryRequest::UploadDictionaryRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "UploadDictionary")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UploadDictionaryRequest::~UploadDictionaryRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string UploadDictionaryRequest::getDictionaryFileUrl()const
|
||||
void UploadDictionaryRequest::setDictionaryFileUrl(const std::string& dictionaryFileUrl)
|
||||
{
|
||||
dictionaryFileUrl_ = dictionaryFileUrl;
|
||||
setCoreParameter("DictionaryFileUrl", dictionaryFileUrl);
|
||||
setBodyParameter("DictionaryFileUrl", dictionaryFileUrl);
|
||||
}
|
||||
|
||||
std::string UploadDictionaryRequest::getProjectId()const
|
||||
@@ -44,7 +46,7 @@ std::string UploadDictionaryRequest::getProjectId()const
|
||||
void UploadDictionaryRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string UploadDictionaryRequest::getDictionaryData()const
|
||||
@@ -55,6 +57,6 @@ std::string UploadDictionaryRequest::getDictionaryData()const
|
||||
void UploadDictionaryRequest::setDictionaryData(const std::string& dictionaryData)
|
||||
{
|
||||
dictionaryData_ = dictionaryData;
|
||||
setCoreParameter("DictionaryData", dictionaryData);
|
||||
setBodyParameter("DictionaryData", dictionaryData);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Iqa::Model::UploadDocumentRequest;
|
||||
|
||||
UploadDocumentRequest::UploadDocumentRequest() :
|
||||
RpcServiceRequest("iqa", "2019-08-13", "UploadDocument")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UploadDocumentRequest::~UploadDocumentRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string UploadDocumentRequest::getDocumentData()const
|
||||
void UploadDocumentRequest::setDocumentData(const std::string& documentData)
|
||||
{
|
||||
documentData_ = documentData;
|
||||
setCoreParameter("DocumentData", documentData);
|
||||
setBodyParameter("DocumentData", documentData);
|
||||
}
|
||||
|
||||
std::string UploadDocumentRequest::getDocumentFileUrl()const
|
||||
@@ -44,7 +46,7 @@ std::string UploadDocumentRequest::getDocumentFileUrl()const
|
||||
void UploadDocumentRequest::setDocumentFileUrl(const std::string& documentFileUrl)
|
||||
{
|
||||
documentFileUrl_ = documentFileUrl;
|
||||
setCoreParameter("DocumentFileUrl", documentFileUrl);
|
||||
setBodyParameter("DocumentFileUrl", documentFileUrl);
|
||||
}
|
||||
|
||||
std::string UploadDocumentRequest::getProjectId()const
|
||||
@@ -55,6 +57,6 @@ std::string UploadDocumentRequest::getProjectId()const
|
||||
void UploadDocumentRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user