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

com.volcengine.cdn.model.IPForDescribeCdnIPOutput Maven / Gradle / Ivy

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



public class IPForDescribeCdnIPOutput {
  @SerializedName("CdnIp")
  private Boolean cdnIp = null;

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

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

  @SerializedName("Location")
  private String location = null;

  public IPForDescribeCdnIPOutput cdnIp(Boolean cdnIp) {
    this.cdnIp = cdnIp;
    return this;
  }

   /**
   * Get cdnIp
   * @return cdnIp
  **/
  @Schema(description = "")
  public Boolean isCdnIp() {
    return cdnIp;
  }

  public void setCdnIp(Boolean cdnIp) {
    this.cdnIp = cdnIp;
  }

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

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

  public void setLocation(String location) {
    this.location = location;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    IPForDescribeCdnIPOutput ipForDescribeCdnIPOutput = (IPForDescribeCdnIPOutput) o;
    return Objects.equals(this.cdnIp, ipForDescribeCdnIPOutput.cdnIp) &&
        Objects.equals(this.IP, ipForDescribeCdnIPOutput.IP) &&
        Objects.equals(this.ISP, ipForDescribeCdnIPOutput.ISP) &&
        Objects.equals(this.location, ipForDescribeCdnIPOutput.location);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cdnIp, IP, ISP, location);
  }


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