public class QueryTextToImageProJobResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
QueryTextToImageProJobResponse() |
QueryTextToImageProJobResponse(QueryTextToImageProJobResponse 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 |
getJobErrorCode()
Get 任务处理失败错误码。
|
String |
getJobErrorMsg()
Get 任务处理失败错误信息。
|
String |
getJobStatusCode()
Get 当前任务状态码:
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
String |
getJobStatusMsg()
Get 当前任务状态:排队中、处理中、处理失败或者处理完成。
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
String[] |
getResultDetails()
Get 结果 detail 数组,Success 代表成功。
|
String[] |
getResultImage()
Get 生成图 URL 列表,有效期1小时,请及时保存。
|
String[] |
getRevisedPrompt()
Get 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
|
void |
setJobErrorCode(String JobErrorCode)
Set 任务处理失败错误码。
|
void |
setJobErrorMsg(String JobErrorMsg)
Set 任务处理失败错误信息。
|
void |
setJobStatusCode(String JobStatusCode)
Set 当前任务状态码:
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
void |
setJobStatusMsg(String JobStatusMsg)
Set 当前任务状态:排队中、处理中、处理失败或者处理完成。
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setResultDetails(String[] ResultDetails)
Set 结果 detail 数组,Success 代表成功。
|
void |
setResultImage(String[] ResultImage)
Set 生成图 URL 列表,有效期1小时,请及时保存。
|
void |
setRevisedPrompt(String[] RevisedPrompt)
Set 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
|
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 QueryTextToImageProJobResponse()
public QueryTextToImageProJobResponse(QueryTextToImageProJobResponse source)
public String getJobStatusCode()
public void setJobStatusCode(String JobStatusCode)
JobStatusCode
- 当前任务状态码:
1:等待中、2:运行中、4:处理失败、5:处理完成。public String getJobStatusMsg()
public void setJobStatusMsg(String JobStatusMsg)
JobStatusMsg
- 当前任务状态:排队中、处理中、处理失败或者处理完成。public String getJobErrorCode()
public void setJobErrorCode(String JobErrorCode)
JobErrorCode
- 任务处理失败错误码。public String getJobErrorMsg()
public void setJobErrorMsg(String JobErrorMsg)
JobErrorMsg
- 任务处理失败错误信息。public String[] getResultImage()
public void setResultImage(String[] ResultImage)
ResultImage
- 生成图 URL 列表,有效期1小时,请及时保存。public String[] getResultDetails()
public void setResultDetails(String[] ResultDetails)
ResultDetails
- 结果 detail 数组,Success 代表成功。public String[] getRevisedPrompt()
public void setRevisedPrompt(String[] RevisedPrompt)
RevisedPrompt
- 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2024. All rights reserved.