Class CancelEncryptTaskResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ms.v20180408.models.CancelEncryptTaskResponse
-
public class CancelEncryptTaskResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CancelEncryptTaskResponse()CancelEncryptTaskResponse(CancelEncryptTaskResponse 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 StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。LonggetState()Get 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetState(Long State)Set 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。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
-
CancelEncryptTaskResponse
public CancelEncryptTaskResponse()
-
CancelEncryptTaskResponse
public CancelEncryptTaskResponse(CancelEncryptTaskResponse 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
-
getState
public Long getState()
Get 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。- Returns:
- State 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。
-
setState
public void setState(Long State)
Set 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。- Parameters:
State- 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-