Class TaskInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotcloud.v20180614.models.TaskInfo
-
public class TaskInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCreateTime()Get 任务创建时间,Unix 时间戳StringgetErrMsg()Get 返回的错误信息StringgetId()Get 任务 IDStringgetProductId()Get 产品 IDLonggetRetCode()Get 返回的错误码LonggetStatus()Get 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消StringgetType()Get 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”LonggetUpdateTime()Get 最后任务更新时间,Unix 时间戳voidsetCreateTime(Long CreateTime)Set 任务创建时间,Unix 时间戳voidsetErrMsg(String ErrMsg)Set 返回的错误信息voidsetId(String Id)Set 任务 IDvoidsetProductId(String ProductId)Set 产品 IDvoidsetRetCode(Long RetCode)Set 返回的错误码voidsetStatus(Long Status)Set 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消voidsetType(String Type)Set 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”voidsetUpdateTime(Long UpdateTime)Set 最后任务更新时间,Unix 时间戳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
-
TaskInfo
public TaskInfo()
-
TaskInfo
public TaskInfo(TaskInfo 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
-
getType
public String getType()
Get 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”- Returns:
- Type 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”
-
setType
public void setType(String Type)
Set 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”- Parameters:
Type- 任务类型,目前取值为 “UpdateShadow” 或者 “PublishMessage”
-
getId
public String getId()
Get 任务 ID- Returns:
- Id 任务 ID
-
setId
public void setId(String Id)
Set 任务 ID- Parameters:
Id- 任务 ID
-
getProductId
public String getProductId()
Get 产品 ID- Returns:
- ProductId 产品 ID
-
setProductId
public void setProductId(String ProductId)
Set 产品 ID- Parameters:
ProductId- 产品 ID
-
getStatus
public Long getStatus()
Get 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消- Returns:
- Status 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消
-
setStatus
public void setStatus(Long Status)
Set 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消- Parameters:
Status- 状态。1表示等待处理,2表示调度处理中,3表示已完成,4表示失败,5表示已取消
-
getCreateTime
public Long getCreateTime()
Get 任务创建时间,Unix 时间戳- Returns:
- CreateTime 任务创建时间,Unix 时间戳
-
setCreateTime
public void setCreateTime(Long CreateTime)
Set 任务创建时间,Unix 时间戳- Parameters:
CreateTime- 任务创建时间,Unix 时间戳
-
getUpdateTime
public Long getUpdateTime()
Get 最后任务更新时间,Unix 时间戳- Returns:
- UpdateTime 最后任务更新时间,Unix 时间戳
-
setUpdateTime
public void setUpdateTime(Long UpdateTime)
Set 最后任务更新时间,Unix 时间戳- Parameters:
UpdateTime- 最后任务更新时间,Unix 时间戳
-
getRetCode
public Long getRetCode()
Get 返回的错误码- Returns:
- RetCode 返回的错误码
-
setRetCode
public void setRetCode(Long RetCode)
Set 返回的错误码- Parameters:
RetCode- 返回的错误码
-
getErrMsg
public String getErrMsg()
Get 返回的错误信息- Returns:
- ErrMsg 返回的错误信息
-
setErrMsg
public void setErrMsg(String ErrMsg)
Set 返回的错误信息- Parameters:
ErrMsg- 返回的错误信息
-
-