com.aliyun.sdk.service.ververica20220718.models.ListVariablesResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-ververica20220718 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListVariablesResponseBody} extends {@link TeaModel}
*
* ListVariablesResponseBody
*/
public class ListVariablesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private java.util.List < Variable > data;
@com.aliyun.core.annotation.NameInMap("errorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("errorMessage")
private String errorMessage;
@com.aliyun.core.annotation.NameInMap("httpCode")
private Integer httpCode;
@com.aliyun.core.annotation.NameInMap("pageIndex")
private Integer pageIndex;
@com.aliyun.core.annotation.NameInMap("pageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("success")
private Boolean success;
@com.aliyun.core.annotation.NameInMap("totalSize")
private Integer totalSize;
private ListVariablesResponseBody(Builder builder) {
this.data = builder.data;
this.errorCode = builder.errorCode;
this.errorMessage = builder.errorMessage;
this.httpCode = builder.httpCode;
this.pageIndex = builder.pageIndex;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.totalSize = builder.totalSize;
}
public static Builder builder() {
return new Builder();
}
public static ListVariablesResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Variable > getData() {
return this.data;
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return httpCode
*/
public Integer getHttpCode() {
return this.httpCode;
}
/**
* @return pageIndex
*/
public Integer getPageIndex() {
return this.pageIndex;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalSize
*/
public Integer getTotalSize() {
return this.totalSize;
}
public static final class Builder {
private java.util.List < Variable > data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private Integer pageIndex;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer totalSize;
/**
* * If the value of success was true, a list of variables was returned.
*
* * If the value of success was false, a null value was returned.
*/
public Builder data(java.util.List < Variable > data) {
this.data = data;
return this;
}
/**
* * If the value of success was false, an error code was returned.
*
* * If the value of success was true, a null value was returned.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* * If the value of success was false, an error message was returned.
*
* * If the value of success was true, a null value was returned.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* The value was fixed to 200.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* The page number.
*/
public Builder pageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
return this;
}
/**
* The number of entries per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Indicates whether the request was successful.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* The total number of entries returned.
*/
public Builder totalSize(Integer totalSize) {
this.totalSize = totalSize;
return this;
}
public ListVariablesResponseBody build() {
return new ListVariablesResponseBody(this);
}
}
}