Class SubTaskData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iss.v20230517.models.SubTaskData
-
public class SubTaskData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SubTaskData()SubTaskData(SubTaskData 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Get 操作类型StringgetActionZhDesc()Get 操作类型中文描述StringgetCreatedAt()Get 创建任务时间StringgetFailReason()Get 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。FloatgetProgress()Get 任务进度StringgetResourceId()Get 资源IDLonggetRuntime()Get 任务运行时间,单位msStringgetStartedAt()Get 启动任务时间LonggetStatus()Get 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILEDStringgetSubTaskId()Get 子任务IDStringgetUpdatedAt()Get 更新任务时间voidsetAction(String Action)Set 操作类型voidsetActionZhDesc(String ActionZhDesc)Set 操作类型中文描述voidsetCreatedAt(String CreatedAt)Set 创建任务时间voidsetFailReason(String FailReason)Set 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。voidsetProgress(Float Progress)Set 任务进度voidsetResourceId(String ResourceId)Set 资源IDvoidsetRuntime(Long Runtime)Set 任务运行时间,单位msvoidsetStartedAt(String StartedAt)Set 启动任务时间voidsetStatus(Long Status)Set 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILEDvoidsetSubTaskId(String SubTaskId)Set 子任务IDvoidsetUpdatedAt(String UpdatedAt)Set 更新任务时间voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SubTaskData
public SubTaskData()
-
SubTaskData
public SubTaskData(SubTaskData 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.
-
-
Method Detail
-
getSubTaskId
public String getSubTaskId()
Get 子任务ID- Returns:
- SubTaskId 子任务ID
-
setSubTaskId
public void setSubTaskId(String SubTaskId)
Set 子任务ID- Parameters:
SubTaskId- 子任务ID
-
getStatus
public Long getStatus()
Get 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED- Returns:
- Status 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED
-
setStatus
public void setStatus(Long Status)
Set 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED- Parameters:
Status- 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED
-
getFailReason
public String getFailReason()
Get 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FailReason 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。
-
setFailReason
public void setFailReason(String FailReason)
Set 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FailReason- 任务失败原因 注意:此字段可能返回 null,表示取不到有效值。
-
getProgress
public Float getProgress()
Get 任务进度- Returns:
- Progress 任务进度
-
setProgress
public void setProgress(Float Progress)
Set 任务进度- Parameters:
Progress- 任务进度
-
getAction
public String getAction()
Get 操作类型- Returns:
- Action 操作类型
-
setAction
public void setAction(String Action)
Set 操作类型- Parameters:
Action- 操作类型
-
getActionZhDesc
public String getActionZhDesc()
Get 操作类型中文描述- Returns:
- ActionZhDesc 操作类型中文描述
-
setActionZhDesc
public void setActionZhDesc(String ActionZhDesc)
Set 操作类型中文描述- Parameters:
ActionZhDesc- 操作类型中文描述
-
getResourceId
public String getResourceId()
Get 资源ID- Returns:
- ResourceId 资源ID
-
setResourceId
public void setResourceId(String ResourceId)
Set 资源ID- Parameters:
ResourceId- 资源ID
-
getStartedAt
public String getStartedAt()
Get 启动任务时间- Returns:
- StartedAt 启动任务时间
-
setStartedAt
public void setStartedAt(String StartedAt)
Set 启动任务时间- Parameters:
StartedAt- 启动任务时间
-
getCreatedAt
public String getCreatedAt()
Get 创建任务时间- Returns:
- CreatedAt 创建任务时间
-
setCreatedAt
public void setCreatedAt(String CreatedAt)
Set 创建任务时间- Parameters:
CreatedAt- 创建任务时间
-
getUpdatedAt
public String getUpdatedAt()
Get 更新任务时间- Returns:
- UpdatedAt 更新任务时间
-
setUpdatedAt
public void setUpdatedAt(String UpdatedAt)
Set 更新任务时间- Parameters:
UpdatedAt- 更新任务时间
-
getRuntime
public Long getRuntime()
Get 任务运行时间,单位ms- Returns:
- Runtime 任务运行时间,单位ms
-
setRuntime
public void setRuntime(Long Runtime)
Set 任务运行时间,单位ms- Parameters:
Runtime- 任务运行时间,单位ms
-
-