public class Model extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Model() | 
| Model(Model 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 | getAtUpdated()Get 最后更新时间 | 
| String | getDictName()Get 模型文件名称 | 
| String | getModelId()Get 模型Id | 
| String | getModelName()Get 模型名称 | 
| Long | getModelState()Get 模型状态:
-2:模型训练失败;
-1:已下线;
0:训练中;
1:已上线;
3:上线中;
4:下线中; | 
| String | getModelType()Get 模型类型,“8k”或者”16k“ | 
| String | getServiceType()Get 服务类型 | 
| String[] | getTagInfos()Deprecated.   | 
| void | setAtUpdated(String AtUpdated)Set 最后更新时间 | 
| void | setDictName(String DictName)Set 模型文件名称 | 
| void | setModelId(String ModelId)Set 模型Id | 
| void | setModelName(String ModelName)Set 模型名称 | 
| void | setModelState(Long ModelState)Set 模型状态:
-2:模型训练失败;
-1:已下线;
0:训练中;
1:已上线;
3:上线中;
4:下线中; | 
| void | setModelType(String ModelType)Set 模型类型,“8k”或者”16k“ | 
| void | setServiceType(String ServiceType)Set 服务类型 | 
| void | setTagInfos(String[] TagInfos)Deprecated.   | 
| 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 Model()
public Model(Model source)
public String getModelName()
public void setModelName(String ModelName)
ModelName - 模型名称public String getDictName()
public void setDictName(String DictName)
DictName - 模型文件名称public String getModelId()
public void setModelId(String ModelId)
ModelId - 模型Idpublic String getModelType()
public void setModelType(String ModelType)
ModelType - 模型类型,“8k”或者”16k“public String getServiceType()
public void setServiceType(String ServiceType)
ServiceType - 服务类型public Long getModelState()
public void setModelState(Long ModelState)
ModelState - 模型状态:
-2:模型训练失败;
-1:已下线;
0:训练中;
1:已上线;
3:上线中;
4:下线中;public String getAtUpdated()
public void setAtUpdated(String AtUpdated)
AtUpdated - 最后更新时间@Deprecated public String[] getTagInfos()
@Deprecated public void setTagInfos(String[] TagInfos)
TagInfos - 标签信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.