public class InstallInstanceModelRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| InstallInstanceModelRequest() | 
| InstallInstanceModelRequest(InstallInstanceModelRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getInstanceId()Get 实例ID | 
| String[] | getModelNames()Get 客户指定安装的模型名称,可为空,默认为模型文件名 | 
| String[] | getTaskTypes()Get 模型使用的任务类型,包括:fill_mask, ner, question_answering, text_classification, text_embedding, text_expansion, text_similarity和zero_shot_classification,默认为text_embedding | 
| String[] | getUsrCosModelUrlList()Get 客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gz | 
| void | setInstanceId(String InstanceId)Set 实例ID | 
| void | setModelNames(String[] ModelNames)Set 客户指定安装的模型名称,可为空,默认为模型文件名 | 
| void | setTaskTypes(String[] TaskTypes)Set 模型使用的任务类型,包括:fill_mask, ner, question_answering, text_classification, text_embedding, text_expansion, text_similarity和zero_shot_classification,默认为text_embedding | 
| void | setUsrCosModelUrlList(String[] UsrCosModelUrlList)Set 客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gz | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic InstallInstanceModelRequest()
public InstallInstanceModelRequest(InstallInstanceModelRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例IDpublic String[] getUsrCosModelUrlList()
public void setUsrCosModelUrlList(String[] UsrCosModelUrlList)
UsrCosModelUrlList - 客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gzpublic String[] getModelNames()
public void setModelNames(String[] ModelNames)
ModelNames - 客户指定安装的模型名称,可为空,默认为模型文件名public String[] getTaskTypes()
public void setTaskTypes(String[] TaskTypes)
TaskTypes - 模型使用的任务类型,包括:fill_mask, ner, question_answering, text_classification, text_embedding, text_expansion, text_similarity和zero_shot_classification,默认为text_embeddingCopyright © 2025. All rights reserved.