com.aliyun.bpstudio20210931.models.InitAppFailOverResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bpstudio20210931 Show documentation
Show all versions of bpstudio20210931 Show documentation
Alibaba Cloud BPStudio (20210931) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.bpstudio20210931.models;
import com.aliyun.tea.*;
public class InitAppFailOverResponseBody extends TeaModel {
/**
* The response code.
*
* example:
* 200
*/
@NameInMap("Code")
public String code;
/**
* The switchover task ID.
*
* example:
* 7250
*/
@NameInMap("Data")
public Integer data;
/**
* The returned message. If the request was successful, a success message is returned. If the request failed, an error message is returned.
*
* example:
* Unsupported Operation PrepareEvent->FailOverPrepareSuccess FoApp_DDLJK2WM8ETU9JAC
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* A07FFDF2-78FA-1B48-9E38-88E833A93187
*/
@NameInMap("RequestId")
public String requestId;
public static InitAppFailOverResponseBody build(java.util.Map map) throws Exception {
InitAppFailOverResponseBody self = new InitAppFailOverResponseBody();
return TeaModel.build(map, self);
}
public InitAppFailOverResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public InitAppFailOverResponseBody setData(Integer data) {
this.data = data;
return this;
}
public Integer getData() {
return this.data;
}
public InitAppFailOverResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public InitAppFailOverResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}