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

com.volcengine.cdn.model.DescribeDistrictDataRequest 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;
/**
 * DescribeDistrictDataRequest
 */



public class DescribeDistrictDataRequest {
  @SerializedName("Domain")
  private String domain = null;

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

  @SerializedName("Interval")
  private String interval = null;

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

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

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

  @SerializedName("Metric")
  private String metric = null;

  @SerializedName("Project")
  private String project = null;

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

  @SerializedName("Province")
  private String province = null;

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

  public DescribeDistrictDataRequest domain(String domain) {
    this.domain = domain;
    return this;
  }

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

  public void setDomain(String domain) {
    this.domain = domain;
  }

  public DescribeDistrictDataRequest endTime(Long endTime) {
    this.endTime = endTime;
    return this;
  }

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

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

  public DescribeDistrictDataRequest interval(String interval) {
    this.interval = interval;
    return this;
  }

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

  public void setInterval(String interval) {
    this.interval = interval;
  }

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

  public DescribeDistrictDataRequest metric(String metric) {
    this.metric = metric;
    return this;
  }

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

  public void setMetric(String metric) {
    this.metric = metric;
  }

  public DescribeDistrictDataRequest project(String project) {
    this.project = project;
    return this;
  }

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

  public void setProject(String project) {
    this.project = project;
  }

  public DescribeDistrictDataRequest protocol(String protocol) {
    this.protocol = protocol;
    return this;
  }

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

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

  public DescribeDistrictDataRequest province(String province) {
    this.province = province;
    return this;
  }

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

  public void setProvince(String province) {
    this.province = province;
  }

  public DescribeDistrictDataRequest startTime(Long startTime) {
    this.startTime = startTime;
    return this;
  }

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

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


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeDistrictDataRequest describeDistrictDataRequest = (DescribeDistrictDataRequest) o;
    return Objects.equals(this.domain, describeDistrictDataRequest.domain) &&
        Objects.equals(this.endTime, describeDistrictDataRequest.endTime) &&
        Objects.equals(this.interval, describeDistrictDataRequest.interval) &&
        Objects.equals(this.ipVersion, describeDistrictDataRequest.ipVersion) &&
        Objects.equals(this.isp, describeDistrictDataRequest.isp) &&
        Objects.equals(this.location, describeDistrictDataRequest.location) &&
        Objects.equals(this.metric, describeDistrictDataRequest.metric) &&
        Objects.equals(this.project, describeDistrictDataRequest.project) &&
        Objects.equals(this.protocol, describeDistrictDataRequest.protocol) &&
        Objects.equals(this.province, describeDistrictDataRequest.province) &&
        Objects.equals(this.startTime, describeDistrictDataRequest.startTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(domain, endTime, interval, ipVersion, isp, location, metric, project, protocol, province, startTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeDistrictDataRequest {\n");
    
    sb.append("    domain: ").append(toIndentedString(domain)).append("\n");
    sb.append("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    interval: ").append(toIndentedString(interval)).append("\n");
    sb.append("    ipVersion: ").append(toIndentedString(ipVersion)).append("\n");
    sb.append("    isp: ").append(toIndentedString(isp)).append("\n");
    sb.append("    location: ").append(toIndentedString(location)).append("\n");
    sb.append("    metric: ").append(toIndentedString(metric)).append("\n");
    sb.append("    project: ").append(toIndentedString(project)).append("\n");
    sb.append("    protocol: ").append(toIndentedString(protocol)).append("\n");
    sb.append("    province: ").append(toIndentedString(province)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).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