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

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

There is a newer version: 0.1.129
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 java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * DescribeTopDomainsRequest
 */


public class DescribeTopDomainsRequest {
  @SerializedName("AcceleratingRegion")
  private String acceleratingRegion = null;

  @SerializedName("Area")
  private String area = null;

  @SerializedName("Domains")
  private List domains = null;

  @SerializedName("EndTime")
  private String endTime = null;

  @SerializedName("IPVersion")
  private String ipVersion = null;

  @SerializedName("IspNameEn")
  private List ispNameEn = null;

  @SerializedName("Limit")
  private Integer limit = null;

  @SerializedName("ProjectName")
  private List projectName = null;

  @SerializedName("Protocol")
  private List protocol = null;

  @SerializedName("Region")
  private List region = null;

  @SerializedName("Sort")
  private String sort = null;

  @SerializedName("StartTime")
  private String startTime = null;

  @SerializedName("Type")
  private String type = null;

  public DescribeTopDomainsRequest acceleratingRegion(String acceleratingRegion) {
    this.acceleratingRegion = acceleratingRegion;
    return this;
  }

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

  public void setAcceleratingRegion(String acceleratingRegion) {
    this.acceleratingRegion = acceleratingRegion;
  }

  public DescribeTopDomainsRequest area(String area) {
    this.area = area;
    return this;
  }

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

  public void setArea(String area) {
    this.area = area;
  }

  public DescribeTopDomainsRequest domains(List domains) {
    this.domains = domains;
    return this;
  }

  public DescribeTopDomainsRequest addDomainsItem(String domainsItem) {
    if (this.domains == null) {
      this.domains = new ArrayList();
    }
    this.domains.add(domainsItem);
    return this;
  }

   /**
   * Get domains
   * @return domains
  **/
  @Schema(description = "")
  public List getDomains() {
    return domains;
  }

  public void setDomains(List domains) {
    this.domains = domains;
  }

  public DescribeTopDomainsRequest endTime(String endTime) {
    this.endTime = endTime;
    return this;
  }

   /**
   * Get endTime
   * @return endTime
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getEndTime() {
    return endTime;
  }

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

  public DescribeTopDomainsRequest ipVersion(String ipVersion) {
    this.ipVersion = ipVersion;
    return this;
  }

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

  public void setIpVersion(String ipVersion) {
    this.ipVersion = ipVersion;
  }

  public DescribeTopDomainsRequest ispNameEn(List ispNameEn) {
    this.ispNameEn = ispNameEn;
    return this;
  }

  public DescribeTopDomainsRequest addIspNameEnItem(String ispNameEnItem) {
    if (this.ispNameEn == null) {
      this.ispNameEn = new ArrayList();
    }
    this.ispNameEn.add(ispNameEnItem);
    return this;
  }

   /**
   * Get ispNameEn
   * @return ispNameEn
  **/
  @Schema(description = "")
  public List getIspNameEn() {
    return ispNameEn;
  }

  public void setIspNameEn(List ispNameEn) {
    this.ispNameEn = ispNameEn;
  }

  public DescribeTopDomainsRequest limit(Integer limit) {
    this.limit = limit;
    return this;
  }

   /**
   * Get limit
   * @return limit
  **/
  @Schema(description = "")
  public Integer getLimit() {
    return limit;
  }

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  public DescribeTopDomainsRequest projectName(List projectName) {
    this.projectName = projectName;
    return this;
  }

  public DescribeTopDomainsRequest addProjectNameItem(String projectNameItem) {
    if (this.projectName == null) {
      this.projectName = new ArrayList();
    }
    this.projectName.add(projectNameItem);
    return this;
  }

   /**
   * Get projectName
   * @return projectName
  **/
  @Schema(description = "")
  public List getProjectName() {
    return projectName;
  }

  public void setProjectName(List projectName) {
    this.projectName = projectName;
  }

  public DescribeTopDomainsRequest protocol(List protocol) {
    this.protocol = protocol;
    return this;
  }

  public DescribeTopDomainsRequest addProtocolItem(String protocolItem) {
    if (this.protocol == null) {
      this.protocol = new ArrayList();
    }
    this.protocol.add(protocolItem);
    return this;
  }

   /**
   * Get protocol
   * @return protocol
  **/
  @Schema(description = "")
  public List getProtocol() {
    return protocol;
  }

  public void setProtocol(List protocol) {
    this.protocol = protocol;
  }

  public DescribeTopDomainsRequest region(List region) {
    this.region = region;
    return this;
  }

  public DescribeTopDomainsRequest addRegionItem(String regionItem) {
    if (this.region == null) {
      this.region = new ArrayList();
    }
    this.region.add(regionItem);
    return this;
  }

   /**
   * Get region
   * @return region
  **/
  @Schema(description = "")
  public List getRegion() {
    return region;
  }

  public void setRegion(List region) {
    this.region = region;
  }

  public DescribeTopDomainsRequest sort(String sort) {
    this.sort = sort;
    return this;
  }

   /**
   * Get sort
   * @return sort
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getSort() {
    return sort;
  }

  public void setSort(String sort) {
    this.sort = sort;
  }

  public DescribeTopDomainsRequest startTime(String startTime) {
    this.startTime = startTime;
    return this;
  }

   /**
   * Get startTime
   * @return startTime
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getStartTime() {
    return startTime;
  }

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }

  public DescribeTopDomainsRequest type(String type) {
    this.type = type;
    return this;
  }

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

  public void setType(String type) {
    this.type = type;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeTopDomainsRequest describeTopDomainsRequest = (DescribeTopDomainsRequest) o;
    return Objects.equals(this.acceleratingRegion, describeTopDomainsRequest.acceleratingRegion) &&
        Objects.equals(this.area, describeTopDomainsRequest.area) &&
        Objects.equals(this.domains, describeTopDomainsRequest.domains) &&
        Objects.equals(this.endTime, describeTopDomainsRequest.endTime) &&
        Objects.equals(this.ipVersion, describeTopDomainsRequest.ipVersion) &&
        Objects.equals(this.ispNameEn, describeTopDomainsRequest.ispNameEn) &&
        Objects.equals(this.limit, describeTopDomainsRequest.limit) &&
        Objects.equals(this.projectName, describeTopDomainsRequest.projectName) &&
        Objects.equals(this.protocol, describeTopDomainsRequest.protocol) &&
        Objects.equals(this.region, describeTopDomainsRequest.region) &&
        Objects.equals(this.sort, describeTopDomainsRequest.sort) &&
        Objects.equals(this.startTime, describeTopDomainsRequest.startTime) &&
        Objects.equals(this.type, describeTopDomainsRequest.type);
  }

  @Override
  public int hashCode() {
    return Objects.hash(acceleratingRegion, area, domains, endTime, ipVersion, ispNameEn, limit, projectName, protocol, region, sort, startTime, type);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeTopDomainsRequest {\n");
    
    sb.append("    acceleratingRegion: ").append(toIndentedString(acceleratingRegion)).append("\n");
    sb.append("    area: ").append(toIndentedString(area)).append("\n");
    sb.append("    domains: ").append(toIndentedString(domains)).append("\n");
    sb.append("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    ipVersion: ").append(toIndentedString(ipVersion)).append("\n");
    sb.append("    ispNameEn: ").append(toIndentedString(ispNameEn)).append("\n");
    sb.append("    limit: ").append(toIndentedString(limit)).append("\n");
    sb.append("    projectName: ").append(toIndentedString(projectName)).append("\n");
    sb.append("    protocol: ").append(toIndentedString(protocol)).append("\n");
    sb.append("    region: ").append(toIndentedString(region)).append("\n");
    sb.append("    sort: ").append(toIndentedString(sort)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).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