com.volcengine.dns.model.ListZoneStatisticsRequest Maven / Gradle / Ivy
/*
* dns
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.dns.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* ListZoneStatisticsRequest
*/
public class ListZoneStatisticsRequest {
@SerializedName("End")
private Long end = null;
@SerializedName("Name")
private String name = null;
@SerializedName("OrderKey")
private String orderKey = null;
@SerializedName("PageNumber")
private Integer pageNumber = null;
@SerializedName("PageSize")
private Integer pageSize = null;
@SerializedName("SearchMode")
private String searchMode = null;
@SerializedName("SearchOrder")
private String searchOrder = null;
@SerializedName("Start")
private Long start = null;
@SerializedName("Threshold")
private Integer threshold = null;
public ListZoneStatisticsRequest end(Long end) {
this.end = end;
return this;
}
/**
* Get end
* @return end
**/
@Schema(description = "")
public Long getEnd() {
return end;
}
public void setEnd(Long end) {
this.end = end;
}
public ListZoneStatisticsRequest name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@Schema(description = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ListZoneStatisticsRequest orderKey(String orderKey) {
this.orderKey = orderKey;
return this;
}
/**
* Get orderKey
* @return orderKey
**/
@Schema(description = "")
public String getOrderKey() {
return orderKey;
}
public void setOrderKey(String orderKey) {
this.orderKey = orderKey;
}
public ListZoneStatisticsRequest pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* Get pageNumber
* @return pageNumber
**/
@Schema(description = "")
public Integer getPageNumber() {
return pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public ListZoneStatisticsRequest pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Get pageSize
* @return pageSize
**/
@Schema(description = "")
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public ListZoneStatisticsRequest searchMode(String searchMode) {
this.searchMode = searchMode;
return this;
}
/**
* Get searchMode
* @return searchMode
**/
@Schema(description = "")
public String getSearchMode() {
return searchMode;
}
public void setSearchMode(String searchMode) {
this.searchMode = searchMode;
}
public ListZoneStatisticsRequest searchOrder(String searchOrder) {
this.searchOrder = searchOrder;
return this;
}
/**
* Get searchOrder
* @return searchOrder
**/
@Schema(description = "")
public String getSearchOrder() {
return searchOrder;
}
public void setSearchOrder(String searchOrder) {
this.searchOrder = searchOrder;
}
public ListZoneStatisticsRequest start(Long start) {
this.start = start;
return this;
}
/**
* Get start
* @return start
**/
@Schema(description = "")
public Long getStart() {
return start;
}
public void setStart(Long start) {
this.start = start;
}
public ListZoneStatisticsRequest threshold(Integer threshold) {
this.threshold = threshold;
return this;
}
/**
* Get threshold
* @return threshold
**/
@Schema(description = "")
public Integer getThreshold() {
return threshold;
}
public void setThreshold(Integer threshold) {
this.threshold = threshold;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ListZoneStatisticsRequest listZoneStatisticsRequest = (ListZoneStatisticsRequest) o;
return Objects.equals(this.end, listZoneStatisticsRequest.end) &&
Objects.equals(this.name, listZoneStatisticsRequest.name) &&
Objects.equals(this.orderKey, listZoneStatisticsRequest.orderKey) &&
Objects.equals(this.pageNumber, listZoneStatisticsRequest.pageNumber) &&
Objects.equals(this.pageSize, listZoneStatisticsRequest.pageSize) &&
Objects.equals(this.searchMode, listZoneStatisticsRequest.searchMode) &&
Objects.equals(this.searchOrder, listZoneStatisticsRequest.searchOrder) &&
Objects.equals(this.start, listZoneStatisticsRequest.start) &&
Objects.equals(this.threshold, listZoneStatisticsRequest.threshold);
}
@Override
public int hashCode() {
return Objects.hash(end, name, orderKey, pageNumber, pageSize, searchMode, searchOrder, start, threshold);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ListZoneStatisticsRequest {\n");
sb.append(" end: ").append(toIndentedString(end)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" orderKey: ").append(toIndentedString(orderKey)).append("\n");
sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n");
sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n");
sb.append(" searchMode: ").append(toIndentedString(searchMode)).append("\n");
sb.append(" searchOrder: ").append(toIndentedString(searchOrder)).append("\n");
sb.append(" start: ").append(toIndentedString(start)).append("\n");
sb.append(" threshold: ").append(toIndentedString(threshold)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy