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

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



public class DescribeStatisticalRankingRequest {
  @SerializedName("Area")
  private String area = null;

  @SerializedName("Domain")
  private String domain = null;

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

  @SerializedName("Item")
  private String item = null;

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

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

  @SerializedName("UaType")
  private String uaType = null;

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

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

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

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

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

  public void setItem(String item) {
    this.item = item;
  }

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

  public DescribeStatisticalRankingRequest uaType(String uaType) {
    this.uaType = uaType;
    return this;
  }

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

  public void setUaType(String uaType) {
    this.uaType = uaType;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeStatisticalRankingRequest describeStatisticalRankingRequest = (DescribeStatisticalRankingRequest) o;
    return Objects.equals(this.area, describeStatisticalRankingRequest.area) &&
        Objects.equals(this.domain, describeStatisticalRankingRequest.domain) &&
        Objects.equals(this.endTime, describeStatisticalRankingRequest.endTime) &&
        Objects.equals(this.item, describeStatisticalRankingRequest.item) &&
        Objects.equals(this.metric, describeStatisticalRankingRequest.metric) &&
        Objects.equals(this.startTime, describeStatisticalRankingRequest.startTime) &&
        Objects.equals(this.uaType, describeStatisticalRankingRequest.uaType);
  }

  @Override
  public int hashCode() {
    return Objects.hash(area, domain, endTime, item, metric, startTime, uaType);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeStatisticalRankingRequest {\n");
    
    sb.append("    area: ").append(toIndentedString(area)).append("\n");
    sb.append("    domain: ").append(toIndentedString(domain)).append("\n");
    sb.append("    endTime: ").append(toIndentedString(endTime)).append("\n");
    sb.append("    item: ").append(toIndentedString(item)).append("\n");
    sb.append("    metric: ").append(toIndentedString(metric)).append("\n");
    sb.append("    startTime: ").append(toIndentedString(startTime)).append("\n");
    sb.append("    uaType: ").append(toIndentedString(uaType)).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