public class MuskPromptInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MuskPromptInfo() |
MuskPromptInfo(MuskPromptInfo 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 |
---|---|
Long |
getCost()
Get 任务执行耗时,单位毫秒
|
String |
getCreateTime()
Get 创建时间
|
String |
getErrorMessage()
Get 任务执行失败错误信息
|
String[] |
getOutputResource()
Get 生成的内容
|
String |
getPromptId()
Get prompt id
|
Long |
getStatus()
Get prompt status
0: 执行中
1: 执行成功
2: 执行失败
|
String |
getUpdateTime()
Get 更新时间
|
String |
getWorkflowId()
Get workflow id
|
String |
getWorkgroupId()
Get workgroup id
|
void |
setCost(Long Cost)
Set 任务执行耗时,单位毫秒
|
void |
setCreateTime(String CreateTime)
Set 创建时间
|
void |
setErrorMessage(String ErrorMessage)
Set 任务执行失败错误信息
|
void |
setOutputResource(String[] OutputResource)
Set 生成的内容
|
void |
setPromptId(String PromptId)
Set prompt id
|
void |
setStatus(Long Status)
Set prompt status
0: 执行中
1: 执行成功
2: 执行失败
|
void |
setUpdateTime(String UpdateTime)
Set 更新时间
|
void |
setWorkflowId(String WorkflowId)
Set workflow id
|
void |
setWorkgroupId(String WorkgroupId)
Set workgroup id
|
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, toJsonString
public MuskPromptInfo()
public MuskPromptInfo(MuskPromptInfo source)
public String getWorkflowId()
public void setWorkflowId(String WorkflowId)
WorkflowId
- workflow idpublic String getWorkgroupId()
public void setWorkgroupId(String WorkgroupId)
WorkgroupId
- workgroup idpublic String getPromptId()
public void setPromptId(String PromptId)
PromptId
- prompt idpublic String[] getOutputResource()
public void setOutputResource(String[] OutputResource)
OutputResource
- 生成的内容public Long getStatus()
public void setStatus(Long Status)
Status
- prompt status
0: 执行中
1: 执行成功
2: 执行失败public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- 创建时间public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- 更新时间public Long getCost()
public void setCost(Long Cost)
Cost
- 任务执行耗时,单位毫秒public String getErrorMessage()
public void setErrorMessage(String ErrorMessage)
ErrorMessage
- 任务执行失败错误信息Copyright © 2025. All rights reserved.