com.volcengine.cdn.model.TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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;
/**
* TopDataDetailForDescribeEdgeStatusCodeRankingOutput
*/
public class TopDataDetailForDescribeEdgeStatusCodeRankingOutput {
@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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput 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;
}
TopDataDetailForDescribeEdgeStatusCodeRankingOutput topDataDetailForDescribeEdgeStatusCodeRankingOutput = (TopDataDetailForDescribeEdgeStatusCodeRankingOutput) o;
return Objects.equals(this.itemKey, topDataDetailForDescribeEdgeStatusCodeRankingOutput.itemKey) &&
Objects.equals(this.status2xx, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status2xx) &&
Objects.equals(this.status2xxRatio, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status2xxRatio) &&
Objects.equals(this.status3xx, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status3xx) &&
Objects.equals(this.status3xxRatio, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status3xxRatio) &&
Objects.equals(this.status4xx, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status4xx) &&
Objects.equals(this.status4xxRatio, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status4xxRatio) &&
Objects.equals(this.status5xx, topDataDetailForDescribeEdgeStatusCodeRankingOutput.status5xx) &&
Objects.equals(this.status5xxRatio, topDataDetailForDescribeEdgeStatusCodeRankingOutput.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 TopDataDetailForDescribeEdgeStatusCodeRankingOutput {\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