com.volcengine.cdn.model.TopDataDetailForDescribeOriginStatusCodeRankingOutput Maven / Gradle / Ivy
/*
* cdn
* 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.cdn.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;
/**
* TopDataDetailForDescribeOriginStatusCodeRankingOutput
*/
public class TopDataDetailForDescribeOriginStatusCodeRankingOutput {
@SerializedName("ItemKey")
private String itemKey = null;
@SerializedName("Status2xx")
private Double status2xx = null;
@SerializedName("Status2xxRatio")
private Double status2xxRatio = null;
@SerializedName("Status3xx")
private Double status3xx = null;
@SerializedName("Status3xxRatio")
private Double status3xxRatio = null;
@SerializedName("Status4xx")
private Double status4xx = null;
@SerializedName("Status4xxRatio")
private Double status4xxRatio = null;
@SerializedName("Status5xx")
private Double status5xx = null;
@SerializedName("Status5xxRatio")
private Double status5xxRatio = null;
public TopDataDetailForDescribeOriginStatusCodeRankingOutput itemKey(String itemKey) {
this.itemKey = itemKey;
return this;
}
/**
* Get itemKey
* @return itemKey
**/
@Schema(description = "")
public String getItemKey() {
return itemKey;
}
public void setItemKey(String itemKey) {
this.itemKey = itemKey;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status2xx(Double status2xx) {
this.status2xx = status2xx;
return this;
}
/**
* Get status2xx
* @return status2xx
**/
@Schema(description = "")
public Double getStatus2xx() {
return status2xx;
}
public void setStatus2xx(Double status2xx) {
this.status2xx = status2xx;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status2xxRatio(Double status2xxRatio) {
this.status2xxRatio = status2xxRatio;
return this;
}
/**
* Get status2xxRatio
* @return status2xxRatio
**/
@Schema(description = "")
public Double getStatus2xxRatio() {
return status2xxRatio;
}
public void setStatus2xxRatio(Double status2xxRatio) {
this.status2xxRatio = status2xxRatio;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status3xx(Double status3xx) {
this.status3xx = status3xx;
return this;
}
/**
* Get status3xx
* @return status3xx
**/
@Schema(description = "")
public Double getStatus3xx() {
return status3xx;
}
public void setStatus3xx(Double status3xx) {
this.status3xx = status3xx;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status3xxRatio(Double status3xxRatio) {
this.status3xxRatio = status3xxRatio;
return this;
}
/**
* Get status3xxRatio
* @return status3xxRatio
**/
@Schema(description = "")
public Double getStatus3xxRatio() {
return status3xxRatio;
}
public void setStatus3xxRatio(Double status3xxRatio) {
this.status3xxRatio = status3xxRatio;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status4xx(Double status4xx) {
this.status4xx = status4xx;
return this;
}
/**
* Get status4xx
* @return status4xx
**/
@Schema(description = "")
public Double getStatus4xx() {
return status4xx;
}
public void setStatus4xx(Double status4xx) {
this.status4xx = status4xx;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status4xxRatio(Double status4xxRatio) {
this.status4xxRatio = status4xxRatio;
return this;
}
/**
* Get status4xxRatio
* @return status4xxRatio
**/
@Schema(description = "")
public Double getStatus4xxRatio() {
return status4xxRatio;
}
public void setStatus4xxRatio(Double status4xxRatio) {
this.status4xxRatio = status4xxRatio;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status5xx(Double status5xx) {
this.status5xx = status5xx;
return this;
}
/**
* Get status5xx
* @return status5xx
**/
@Schema(description = "")
public Double getStatus5xx() {
return status5xx;
}
public void setStatus5xx(Double status5xx) {
this.status5xx = status5xx;
}
public TopDataDetailForDescribeOriginStatusCodeRankingOutput status5xxRatio(Double status5xxRatio) {
this.status5xxRatio = status5xxRatio;
return this;
}
/**
* Get status5xxRatio
* @return status5xxRatio
**/
@Schema(description = "")
public Double getStatus5xxRatio() {
return status5xxRatio;
}
public void setStatus5xxRatio(Double status5xxRatio) {
this.status5xxRatio = status5xxRatio;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TopDataDetailForDescribeOriginStatusCodeRankingOutput topDataDetailForDescribeOriginStatusCodeRankingOutput = (TopDataDetailForDescribeOriginStatusCodeRankingOutput) o;
return Objects.equals(this.itemKey, topDataDetailForDescribeOriginStatusCodeRankingOutput.itemKey) &&
Objects.equals(this.status2xx, topDataDetailForDescribeOriginStatusCodeRankingOutput.status2xx) &&
Objects.equals(this.status2xxRatio, topDataDetailForDescribeOriginStatusCodeRankingOutput.status2xxRatio) &&
Objects.equals(this.status3xx, topDataDetailForDescribeOriginStatusCodeRankingOutput.status3xx) &&
Objects.equals(this.status3xxRatio, topDataDetailForDescribeOriginStatusCodeRankingOutput.status3xxRatio) &&
Objects.equals(this.status4xx, topDataDetailForDescribeOriginStatusCodeRankingOutput.status4xx) &&
Objects.equals(this.status4xxRatio, topDataDetailForDescribeOriginStatusCodeRankingOutput.status4xxRatio) &&
Objects.equals(this.status5xx, topDataDetailForDescribeOriginStatusCodeRankingOutput.status5xx) &&
Objects.equals(this.status5xxRatio, topDataDetailForDescribeOriginStatusCodeRankingOutput.status5xxRatio);
}
@Override
public int hashCode() {
return Objects.hash(itemKey, status2xx, status2xxRatio, status3xx, status3xxRatio, status4xx, status4xxRatio, status5xx, status5xxRatio);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TopDataDetailForDescribeOriginStatusCodeRankingOutput {\n");
sb.append(" itemKey: ").append(toIndentedString(itemKey)).append("\n");
sb.append(" status2xx: ").append(toIndentedString(status2xx)).append("\n");
sb.append(" status2xxRatio: ").append(toIndentedString(status2xxRatio)).append("\n");
sb.append(" status3xx: ").append(toIndentedString(status3xx)).append("\n");
sb.append(" status3xxRatio: ").append(toIndentedString(status3xxRatio)).append("\n");
sb.append(" status4xx: ").append(toIndentedString(status4xx)).append("\n");
sb.append(" status4xxRatio: ").append(toIndentedString(status4xxRatio)).append("\n");
sb.append(" status5xx: ").append(toIndentedString(status5xx)).append("\n");
sb.append(" status5xxRatio: ").append(toIndentedString(status5xxRatio)).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