com.aliyun.bpstudio20210931.models.AppFailOverResponseBody 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 AppFailOverResponseBody extends TeaModel {
/**
* The response code.
*
* example:
* 200
*/
@NameInMap("Code")
public String code;
/**
* The disaster recovery switchover task ID.
*
* example:
* 7441
*/
@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.
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* 9656C816-1E9A-58D2-86D5-710678D61AF1
*/
@NameInMap("RequestId")
public String requestId;
public static AppFailOverResponseBody build(java.util.Map map) throws Exception {
AppFailOverResponseBody self = new AppFailOverResponseBody();
return TeaModel.build(map, self);
}
public AppFailOverResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public AppFailOverResponseBody setData(Integer data) {
this.data = data;
return this;
}
public Integer getData() {
return this.data;
}
public AppFailOverResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public AppFailOverResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
}