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

com.volcengine.dcdn.model.TopIPForDescribeTopIPOutput 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;
/**
 * TopIPForDescribeTopIPOutput
 */


public class TopIPForDescribeTopIPOutput {
  @SerializedName("Bandwidth")
  private Float bandwidth = null;

  @SerializedName("IP")
  private String IP = null;

  @SerializedName("QPS")
  private Float QPS = null;

  @SerializedName("Rank")
  private Float rank = null;

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

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

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

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

  public void setIP(String IP) {
    this.IP = IP;
  }

  public TopIPForDescribeTopIPOutput 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 TopIPForDescribeTopIPOutput 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 TopIPForDescribeTopIPOutput 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 TopIPForDescribeTopIPOutput 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;
    }
    TopIPForDescribeTopIPOutput topIPForDescribeTopIPOutput = (TopIPForDescribeTopIPOutput) o;
    return Objects.equals(this.bandwidth, topIPForDescribeTopIPOutput.bandwidth) &&
        Objects.equals(this.IP, topIPForDescribeTopIPOutput.IP) &&
        Objects.equals(this.QPS, topIPForDescribeTopIPOutput.QPS) &&
        Objects.equals(this.rank, topIPForDescribeTopIPOutput.rank) &&
        Objects.equals(this.request, topIPForDescribeTopIPOutput.request) &&
        Objects.equals(this.traffic, topIPForDescribeTopIPOutput.traffic);
  }

  @Override
  public int hashCode() {
    return Objects.hash(bandwidth, IP, QPS, rank, request, traffic);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TopIPForDescribeTopIPOutput {\n");
    
    sb.append("    bandwidth: ").append(toIndentedString(bandwidth)).append("\n");
    sb.append("    IP: ").append(toIndentedString(IP)).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("    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