All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.dcdn.model.ValueForDescribeDomainIspDataOutput Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * 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;
/**
 * ValueForDescribeDomainIspDataOutput
 */


public class ValueForDescribeDomainIspDataOutput {
  @SerializedName("AvgResponseTime")
  private Float avgResponseTime = null;

  @SerializedName("Bandwidth")
  private Float bandwidth = null;

  @SerializedName("Isp")
  private String isp = null;

  @SerializedName("IspEname")
  private String ispEname = null;

  @SerializedName("Request")
  private Float request = null;

  @SerializedName("RequestProportion")
  private Float requestProportion = null;

  @SerializedName("Traffic")
  private Float traffic = null;

  @SerializedName("TrafficProportion")
  private Float trafficProportion = null;

  public ValueForDescribeDomainIspDataOutput avgResponseTime(Float avgResponseTime) {
    this.avgResponseTime = avgResponseTime;
    return this;
  }

   /**
   * Get avgResponseTime
   * @return avgResponseTime
  **/
  @Schema(description = "")
  public Float getAvgResponseTime() {
    return avgResponseTime;
  }

  public void setAvgResponseTime(Float avgResponseTime) {
    this.avgResponseTime = avgResponseTime;
  }

  public ValueForDescribeDomainIspDataOutput 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 ValueForDescribeDomainIspDataOutput isp(String isp) {
    this.isp = isp;
    return this;
  }

   /**
   * Get isp
   * @return isp
  **/
  @Schema(description = "")
  public String getIsp() {
    return isp;
  }

  public void setIsp(String isp) {
    this.isp = isp;
  }

  public ValueForDescribeDomainIspDataOutput ispEname(String ispEname) {
    this.ispEname = ispEname;
    return this;
  }

   /**
   * Get ispEname
   * @return ispEname
  **/
  @Schema(description = "")
  public String getIspEname() {
    return ispEname;
  }

  public void setIspEname(String ispEname) {
    this.ispEname = ispEname;
  }

  public ValueForDescribeDomainIspDataOutput 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 ValueForDescribeDomainIspDataOutput requestProportion(Float requestProportion) {
    this.requestProportion = requestProportion;
    return this;
  }

   /**
   * Get requestProportion
   * @return requestProportion
  **/
  @Schema(description = "")
  public Float getRequestProportion() {
    return requestProportion;
  }

  public void setRequestProportion(Float requestProportion) {
    this.requestProportion = requestProportion;
  }

  public ValueForDescribeDomainIspDataOutput 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;
  }

  public ValueForDescribeDomainIspDataOutput trafficProportion(Float trafficProportion) {
    this.trafficProportion = trafficProportion;
    return this;
  }

   /**
   * Get trafficProportion
   * @return trafficProportion
  **/
  @Schema(description = "")
  public Float getTrafficProportion() {
    return trafficProportion;
  }

  public void setTrafficProportion(Float trafficProportion) {
    this.trafficProportion = trafficProportion;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ValueForDescribeDomainIspDataOutput valueForDescribeDomainIspDataOutput = (ValueForDescribeDomainIspDataOutput) o;
    return Objects.equals(this.avgResponseTime, valueForDescribeDomainIspDataOutput.avgResponseTime) &&
        Objects.equals(this.bandwidth, valueForDescribeDomainIspDataOutput.bandwidth) &&
        Objects.equals(this.isp, valueForDescribeDomainIspDataOutput.isp) &&
        Objects.equals(this.ispEname, valueForDescribeDomainIspDataOutput.ispEname) &&
        Objects.equals(this.request, valueForDescribeDomainIspDataOutput.request) &&
        Objects.equals(this.requestProportion, valueForDescribeDomainIspDataOutput.requestProportion) &&
        Objects.equals(this.traffic, valueForDescribeDomainIspDataOutput.traffic) &&
        Objects.equals(this.trafficProportion, valueForDescribeDomainIspDataOutput.trafficProportion);
  }

  @Override
  public int hashCode() {
    return Objects.hash(avgResponseTime, bandwidth, isp, ispEname, request, requestProportion, traffic, trafficProportion);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ValueForDescribeDomainIspDataOutput {\n");
    
    sb.append("    avgResponseTime: ").append(toIndentedString(avgResponseTime)).append("\n");
    sb.append("    bandwidth: ").append(toIndentedString(bandwidth)).append("\n");
    sb.append("    isp: ").append(toIndentedString(isp)).append("\n");
    sb.append("    ispEname: ").append(toIndentedString(ispEname)).append("\n");
    sb.append("    request: ").append(toIndentedString(request)).append("\n");
    sb.append("    requestProportion: ").append(toIndentedString(requestProportion)).append("\n");
    sb.append("    traffic: ").append(toIndentedString(traffic)).append("\n");
    sb.append("    trafficProportion: ").append(toIndentedString(trafficProportion)).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