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

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


public class GetPurgePrefetchTaskQuotaResponse extends com.volcengine.model.AbstractResponse {
  @SerializedName("DirQuota")
  private Integer dirQuota = null;

  @SerializedName("DirRemain")
  private Integer dirRemain = null;

  @SerializedName("PrefetchUrlQuota")
  private Integer prefetchUrlQuota = null;

  @SerializedName("PrefetchUrlRemain")
  private Integer prefetchUrlRemain = null;

  @SerializedName("UrlQuota")
  private Integer urlQuota = null;

  @SerializedName("UrlRemain")
  private Integer urlRemain = null;

  public GetPurgePrefetchTaskQuotaResponse dirQuota(Integer dirQuota) {
    this.dirQuota = dirQuota;
    return this;
  }

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

  public void setDirQuota(Integer dirQuota) {
    this.dirQuota = dirQuota;
  }

  public GetPurgePrefetchTaskQuotaResponse dirRemain(Integer dirRemain) {
    this.dirRemain = dirRemain;
    return this;
  }

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

  public void setDirRemain(Integer dirRemain) {
    this.dirRemain = dirRemain;
  }

  public GetPurgePrefetchTaskQuotaResponse prefetchUrlQuota(Integer prefetchUrlQuota) {
    this.prefetchUrlQuota = prefetchUrlQuota;
    return this;
  }

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

  public void setPrefetchUrlQuota(Integer prefetchUrlQuota) {
    this.prefetchUrlQuota = prefetchUrlQuota;
  }

  public GetPurgePrefetchTaskQuotaResponse prefetchUrlRemain(Integer prefetchUrlRemain) {
    this.prefetchUrlRemain = prefetchUrlRemain;
    return this;
  }

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

  public void setPrefetchUrlRemain(Integer prefetchUrlRemain) {
    this.prefetchUrlRemain = prefetchUrlRemain;
  }

  public GetPurgePrefetchTaskQuotaResponse urlQuota(Integer urlQuota) {
    this.urlQuota = urlQuota;
    return this;
  }

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

  public void setUrlQuota(Integer urlQuota) {
    this.urlQuota = urlQuota;
  }

  public GetPurgePrefetchTaskQuotaResponse urlRemain(Integer urlRemain) {
    this.urlRemain = urlRemain;
    return this;
  }

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

  public void setUrlRemain(Integer urlRemain) {
    this.urlRemain = urlRemain;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GetPurgePrefetchTaskQuotaResponse getPurgePrefetchTaskQuotaResponse = (GetPurgePrefetchTaskQuotaResponse) o;
    return Objects.equals(this.dirQuota, getPurgePrefetchTaskQuotaResponse.dirQuota) &&
        Objects.equals(this.dirRemain, getPurgePrefetchTaskQuotaResponse.dirRemain) &&
        Objects.equals(this.prefetchUrlQuota, getPurgePrefetchTaskQuotaResponse.prefetchUrlQuota) &&
        Objects.equals(this.prefetchUrlRemain, getPurgePrefetchTaskQuotaResponse.prefetchUrlRemain) &&
        Objects.equals(this.urlQuota, getPurgePrefetchTaskQuotaResponse.urlQuota) &&
        Objects.equals(this.urlRemain, getPurgePrefetchTaskQuotaResponse.urlRemain);
  }

  @Override
  public int hashCode() {
    return Objects.hash(dirQuota, dirRemain, prefetchUrlQuota, prefetchUrlRemain, urlQuota, urlRemain);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetPurgePrefetchTaskQuotaResponse {\n");
    
    sb.append("    dirQuota: ").append(toIndentedString(dirQuota)).append("\n");
    sb.append("    dirRemain: ").append(toIndentedString(dirRemain)).append("\n");
    sb.append("    prefetchUrlQuota: ").append(toIndentedString(prefetchUrlQuota)).append("\n");
    sb.append("    prefetchUrlRemain: ").append(toIndentedString(prefetchUrlRemain)).append("\n");
    sb.append("    urlQuota: ").append(toIndentedString(urlQuota)).append("\n");
    sb.append("    urlRemain: ").append(toIndentedString(urlRemain)).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