com.aliyun.dts20200101.models.SuspendDtsJobResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dts20200101.models;
import com.aliyun.tea.*;
public class SuspendDtsJobResponseBody extends TeaModel {
/**
* The dynamic error code. This parameter will be removed in the future.
*/
@NameInMap("DynamicCode")
public String dynamicCode;
/**
* The dynamic part in the error message. This parameter is used to replace the **%s** variable in the **ErrMessage** parameter.
*
* > If the return value of the **ErrMessage** parameter is **The Value of Input Parameter %s is not valid** and the return value of the **DynamicMessage** parameter is **DtsJobId**, the specified **DtsJobId** parameter is invalid.
*/
@NameInMap("DynamicMessage")
public String dynamicMessage;
/**
* The error code returned if the call failed.
*/
@NameInMap("ErrCode")
public String errCode;
/**
* The error message returned if the call failed.
*/
@NameInMap("ErrMessage")
public String errMessage;
/**
* The HTTP status code.
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
/**
* The ID of the request.
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the call was successful.
*/
@NameInMap("Success")
public Boolean success;
public static SuspendDtsJobResponseBody build(java.util.Map map) throws Exception {
SuspendDtsJobResponseBody self = new SuspendDtsJobResponseBody();
return TeaModel.build(map, self);
}
public SuspendDtsJobResponseBody setDynamicCode(String dynamicCode) {
this.dynamicCode = dynamicCode;
return this;
}
public String getDynamicCode() {
return this.dynamicCode;
}
public SuspendDtsJobResponseBody setDynamicMessage(String dynamicMessage) {
this.dynamicMessage = dynamicMessage;
return this;
}
public String getDynamicMessage() {
return this.dynamicMessage;
}
public SuspendDtsJobResponseBody setErrCode(String errCode) {
this.errCode = errCode;
return this;
}
public String getErrCode() {
return this.errCode;
}
public SuspendDtsJobResponseBody setErrMessage(String errMessage) {
this.errMessage = errMessage;
return this;
}
public String getErrMessage() {
return this.errMessage;
}
public SuspendDtsJobResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public SuspendDtsJobResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public SuspendDtsJobResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}