com.volcengine.dcdn.model.TopDomainForDescribeTopDomainsOutput Maven / Gradle / Ivy
/*
* dcdn
* 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.dcdn.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;
/**
* TopDomainForDescribeTopDomainsOutput
*/
public class TopDomainForDescribeTopDomainsOutput {
@SerializedName("Bandwidth")
private Float bandwidth = null;
@SerializedName("DomainName")
private String domainName = null;
@SerializedName("QPS")
private Float QPS = null;
@SerializedName("Rank")
private Float rank = null;
@SerializedName("Request")
private Float request = null;
@SerializedName("StatusCode2xx")
private Float statusCode2xx = null;
@SerializedName("StatusCode2xxRadio")
private Float statusCode2xxRadio = null;
@SerializedName("StatusCode2xxRatio")
private Float statusCode2xxRatio = null;
@SerializedName("StatusCode3xx")
private Float statusCode3xx = null;
@SerializedName("StatusCode3xxRadio")
private Float statusCode3xxRadio = null;
@SerializedName("StatusCode3xxRatio")
private Float statusCode3xxRatio = null;
@SerializedName("StatusCode4xx")
private Float statusCode4xx = null;
@SerializedName("StatusCode4xxRadio")
private Float statusCode4xxRadio = null;
@SerializedName("StatusCode4xxRatio")
private Float statusCode4xxRatio = null;
@SerializedName("StatusCode5xx")
private Float statusCode5xx = null;
@SerializedName("StatusCode5xxRadio")
private Float statusCode5xxRadio = null;
@SerializedName("StatusCode5xxRatio")
private Float statusCode5xxRatio = null;
@SerializedName("Traffic")
private Float traffic = null;
public TopDomainForDescribeTopDomainsOutput bandwidth(Float bandwidth) {
this.bandwidth = bandwidth;
return this;
}
/**
* Get bandwidth
* @return bandwidth
**/
@Schema(description = "")
public Float getBandwidth() {
return bandwidth;
}
public void setBandwidth(Float bandwidth) {
this.bandwidth = bandwidth;
}
public TopDomainForDescribeTopDomainsOutput domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* Get domainName
* @return domainName
**/
@Schema(description = "")
public String getDomainName() {
return domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName;
}
public TopDomainForDescribeTopDomainsOutput QPS(Float QPS) {
this.QPS = QPS;
return this;
}
/**
* Get QPS
* @return QPS
**/
@Schema(description = "")
public Float getQPS() {
return QPS;
}
public void setQPS(Float QPS) {
this.QPS = QPS;
}
public TopDomainForDescribeTopDomainsOutput rank(Float rank) {
this.rank = rank;
return this;
}
/**
* Get rank
* @return rank
**/
@Schema(description = "")
public Float getRank() {
return rank;
}
public void setRank(Float rank) {
this.rank = rank;
}
public TopDomainForDescribeTopDomainsOutput request(Float request) {
this.request = request;
return this;
}
/**
* Get request
* @return request
**/
@Schema(description = "")
public Float getRequest() {
return request;
}
public void setRequest(Float request) {
this.request = request;
}
public TopDomainForDescribeTopDomainsOutput statusCode2xx(Float statusCode2xx) {
this.statusCode2xx = statusCode2xx;
return this;
}
/**
* Get statusCode2xx
* @return statusCode2xx
**/
@Schema(description = "")
public Float getStatusCode2xx() {
return statusCode2xx;
}
public void setStatusCode2xx(Float statusCode2xx) {
this.statusCode2xx = statusCode2xx;
}
public TopDomainForDescribeTopDomainsOutput statusCode2xxRadio(Float statusCode2xxRadio) {
this.statusCode2xxRadio = statusCode2xxRadio;
return this;
}
/**
* Get statusCode2xxRadio
* @return statusCode2xxRadio
**/
@Schema(description = "")
public Float getStatusCode2xxRadio() {
return statusCode2xxRadio;
}
public void setStatusCode2xxRadio(Float statusCode2xxRadio) {
this.statusCode2xxRadio = statusCode2xxRadio;
}
public TopDomainForDescribeTopDomainsOutput statusCode2xxRatio(Float statusCode2xxRatio) {
this.statusCode2xxRatio = statusCode2xxRatio;
return this;
}
/**
* Get statusCode2xxRatio
* @return statusCode2xxRatio
**/
@Schema(description = "")
public Float getStatusCode2xxRatio() {
return statusCode2xxRatio;
}
public void setStatusCode2xxRatio(Float statusCode2xxRatio) {
this.statusCode2xxRatio = statusCode2xxRatio;
}
public TopDomainForDescribeTopDomainsOutput statusCode3xx(Float statusCode3xx) {
this.statusCode3xx = statusCode3xx;
return this;
}
/**
* Get statusCode3xx
* @return statusCode3xx
**/
@Schema(description = "")
public Float getStatusCode3xx() {
return statusCode3xx;
}
public void setStatusCode3xx(Float statusCode3xx) {
this.statusCode3xx = statusCode3xx;
}
public TopDomainForDescribeTopDomainsOutput statusCode3xxRadio(Float statusCode3xxRadio) {
this.statusCode3xxRadio = statusCode3xxRadio;
return this;
}
/**
* Get statusCode3xxRadio
* @return statusCode3xxRadio
**/
@Schema(description = "")
public Float getStatusCode3xxRadio() {
return statusCode3xxRadio;
}
public void setStatusCode3xxRadio(Float statusCode3xxRadio) {
this.statusCode3xxRadio = statusCode3xxRadio;
}
public TopDomainForDescribeTopDomainsOutput statusCode3xxRatio(Float statusCode3xxRatio) {
this.statusCode3xxRatio = statusCode3xxRatio;
return this;
}
/**
* Get statusCode3xxRatio
* @return statusCode3xxRatio
**/
@Schema(description = "")
public Float getStatusCode3xxRatio() {
return statusCode3xxRatio;
}
public void setStatusCode3xxRatio(Float statusCode3xxRatio) {
this.statusCode3xxRatio = statusCode3xxRatio;
}
public TopDomainForDescribeTopDomainsOutput statusCode4xx(Float statusCode4xx) {
this.statusCode4xx = statusCode4xx;
return this;
}
/**
* Get statusCode4xx
* @return statusCode4xx
**/
@Schema(description = "")
public Float getStatusCode4xx() {
return statusCode4xx;
}
public void setStatusCode4xx(Float statusCode4xx) {
this.statusCode4xx = statusCode4xx;
}
public TopDomainForDescribeTopDomainsOutput statusCode4xxRadio(Float statusCode4xxRadio) {
this.statusCode4xxRadio = statusCode4xxRadio;
return this;
}
/**
* Get statusCode4xxRadio
* @return statusCode4xxRadio
**/
@Schema(description = "")
public Float getStatusCode4xxRadio() {
return statusCode4xxRadio;
}
public void setStatusCode4xxRadio(Float statusCode4xxRadio) {
this.statusCode4xxRadio = statusCode4xxRadio;
}
public TopDomainForDescribeTopDomainsOutput statusCode4xxRatio(Float statusCode4xxRatio) {
this.statusCode4xxRatio = statusCode4xxRatio;
return this;
}
/**
* Get statusCode4xxRatio
* @return statusCode4xxRatio
**/
@Schema(description = "")
public Float getStatusCode4xxRatio() {
return statusCode4xxRatio;
}
public void setStatusCode4xxRatio(Float statusCode4xxRatio) {
this.statusCode4xxRatio = statusCode4xxRatio;
}
public TopDomainForDescribeTopDomainsOutput statusCode5xx(Float statusCode5xx) {
this.statusCode5xx = statusCode5xx;
return this;
}
/**
* Get statusCode5xx
* @return statusCode5xx
**/
@Schema(description = "")
public Float getStatusCode5xx() {
return statusCode5xx;
}
public void setStatusCode5xx(Float statusCode5xx) {
this.statusCode5xx = statusCode5xx;
}
public TopDomainForDescribeTopDomainsOutput statusCode5xxRadio(Float statusCode5xxRadio) {
this.statusCode5xxRadio = statusCode5xxRadio;
return this;
}
/**
* Get statusCode5xxRadio
* @return statusCode5xxRadio
**/
@Schema(description = "")
public Float getStatusCode5xxRadio() {
return statusCode5xxRadio;
}
public void setStatusCode5xxRadio(Float statusCode5xxRadio) {
this.statusCode5xxRadio = statusCode5xxRadio;
}
public TopDomainForDescribeTopDomainsOutput statusCode5xxRatio(Float statusCode5xxRatio) {
this.statusCode5xxRatio = statusCode5xxRatio;
return this;
}
/**
* Get statusCode5xxRatio
* @return statusCode5xxRatio
**/
@Schema(description = "")
public Float getStatusCode5xxRatio() {
return statusCode5xxRatio;
}
public void setStatusCode5xxRatio(Float statusCode5xxRatio) {
this.statusCode5xxRatio = statusCode5xxRatio;
}
public TopDomainForDescribeTopDomainsOutput traffic(Float traffic) {
this.traffic = traffic;
return this;
}
/**
* Get traffic
* @return traffic
**/
@Schema(description = "")
public Float getTraffic() {
return traffic;
}
public void setTraffic(Float traffic) {
this.traffic = traffic;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TopDomainForDescribeTopDomainsOutput topDomainForDescribeTopDomainsOutput = (TopDomainForDescribeTopDomainsOutput) o;
return Objects.equals(this.bandwidth, topDomainForDescribeTopDomainsOutput.bandwidth) &&
Objects.equals(this.domainName, topDomainForDescribeTopDomainsOutput.domainName) &&
Objects.equals(this.QPS, topDomainForDescribeTopDomainsOutput.QPS) &&
Objects.equals(this.rank, topDomainForDescribeTopDomainsOutput.rank) &&
Objects.equals(this.request, topDomainForDescribeTopDomainsOutput.request) &&
Objects.equals(this.statusCode2xx, topDomainForDescribeTopDomainsOutput.statusCode2xx) &&
Objects.equals(this.statusCode2xxRadio, topDomainForDescribeTopDomainsOutput.statusCode2xxRadio) &&
Objects.equals(this.statusCode2xxRatio, topDomainForDescribeTopDomainsOutput.statusCode2xxRatio) &&
Objects.equals(this.statusCode3xx, topDomainForDescribeTopDomainsOutput.statusCode3xx) &&
Objects.equals(this.statusCode3xxRadio, topDomainForDescribeTopDomainsOutput.statusCode3xxRadio) &&
Objects.equals(this.statusCode3xxRatio, topDomainForDescribeTopDomainsOutput.statusCode3xxRatio) &&
Objects.equals(this.statusCode4xx, topDomainForDescribeTopDomainsOutput.statusCode4xx) &&
Objects.equals(this.statusCode4xxRadio, topDomainForDescribeTopDomainsOutput.statusCode4xxRadio) &&
Objects.equals(this.statusCode4xxRatio, topDomainForDescribeTopDomainsOutput.statusCode4xxRatio) &&
Objects.equals(this.statusCode5xx, topDomainForDescribeTopDomainsOutput.statusCode5xx) &&
Objects.equals(this.statusCode5xxRadio, topDomainForDescribeTopDomainsOutput.statusCode5xxRadio) &&
Objects.equals(this.statusCode5xxRatio, topDomainForDescribeTopDomainsOutput.statusCode5xxRatio) &&
Objects.equals(this.traffic, topDomainForDescribeTopDomainsOutput.traffic);
}
@Override
public int hashCode() {
return Objects.hash(bandwidth, domainName, QPS, rank, request, statusCode2xx, statusCode2xxRadio, statusCode2xxRatio, statusCode3xx, statusCode3xxRadio, statusCode3xxRatio, statusCode4xx, statusCode4xxRadio, statusCode4xxRatio, statusCode5xx, statusCode5xxRadio, statusCode5xxRatio, traffic);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TopDomainForDescribeTopDomainsOutput {\n");
sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n");
sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n");
sb.append(" QPS: ").append(toIndentedString(QPS)).append("\n");
sb.append(" rank: ").append(toIndentedString(rank)).append("\n");
sb.append(" request: ").append(toIndentedString(request)).append("\n");
sb.append(" statusCode2xx: ").append(toIndentedString(statusCode2xx)).append("\n");
sb.append(" statusCode2xxRadio: ").append(toIndentedString(statusCode2xxRadio)).append("\n");
sb.append(" statusCode2xxRatio: ").append(toIndentedString(statusCode2xxRatio)).append("\n");
sb.append(" statusCode3xx: ").append(toIndentedString(statusCode3xx)).append("\n");
sb.append(" statusCode3xxRadio: ").append(toIndentedString(statusCode3xxRadio)).append("\n");
sb.append(" statusCode3xxRatio: ").append(toIndentedString(statusCode3xxRatio)).append("\n");
sb.append(" statusCode4xx: ").append(toIndentedString(statusCode4xx)).append("\n");
sb.append(" statusCode4xxRadio: ").append(toIndentedString(statusCode4xxRadio)).append("\n");
sb.append(" statusCode4xxRatio: ").append(toIndentedString(statusCode4xxRatio)).append("\n");
sb.append(" statusCode5xx: ").append(toIndentedString(statusCode5xx)).append("\n");
sb.append(" statusCode5xxRadio: ").append(toIndentedString(statusCode5xxRadio)).append("\n");
sb.append(" statusCode5xxRatio: ").append(toIndentedString(statusCode5xxRatio)).append("\n");
sb.append(" traffic: ").append(toIndentedString(traffic)).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