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

com.volcengine.dcdn.model.RuleForUpdateSingleDomainConfigInput 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 javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * RuleForUpdateSingleDomainConfigInput
 */


public class RuleForUpdateSingleDomainConfigInput {
  @SerializedName("CacheTime")
  private Integer cacheTime = null;

  @SerializedName("CacheTimeUnit")
  private String cacheTimeUnit = null;

  @SerializedName("RespUrl")
  private String respUrl = null;

  @SerializedName("Status")
  private String status = null;

  public RuleForUpdateSingleDomainConfigInput cacheTime(Integer cacheTime) {
    this.cacheTime = cacheTime;
    return this;
  }

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

  public void setCacheTime(Integer cacheTime) {
    this.cacheTime = cacheTime;
  }

  public RuleForUpdateSingleDomainConfigInput cacheTimeUnit(String cacheTimeUnit) {
    this.cacheTimeUnit = cacheTimeUnit;
    return this;
  }

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

  public void setCacheTimeUnit(String cacheTimeUnit) {
    this.cacheTimeUnit = cacheTimeUnit;
  }

  public RuleForUpdateSingleDomainConfigInput respUrl(String respUrl) {
    this.respUrl = respUrl;
    return this;
  }

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

  public void setRespUrl(String respUrl) {
    this.respUrl = respUrl;
  }

  public RuleForUpdateSingleDomainConfigInput status(String status) {
    this.status = status;
    return this;
  }

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

  public void setStatus(String status) {
    this.status = status;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    RuleForUpdateSingleDomainConfigInput ruleForUpdateSingleDomainConfigInput = (RuleForUpdateSingleDomainConfigInput) o;
    return Objects.equals(this.cacheTime, ruleForUpdateSingleDomainConfigInput.cacheTime) &&
        Objects.equals(this.cacheTimeUnit, ruleForUpdateSingleDomainConfigInput.cacheTimeUnit) &&
        Objects.equals(this.respUrl, ruleForUpdateSingleDomainConfigInput.respUrl) &&
        Objects.equals(this.status, ruleForUpdateSingleDomainConfigInput.status);
  }

  @Override
  public int hashCode() {
    return Objects.hash(cacheTime, cacheTimeUnit, respUrl, status);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RuleForUpdateSingleDomainConfigInput {\n");
    
    sb.append("    cacheTime: ").append(toIndentedString(cacheTime)).append("\n");
    sb.append("    cacheTimeUnit: ").append(toIndentedString(cacheTimeUnit)).append("\n");
    sb.append("    respUrl: ").append(toIndentedString(respUrl)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).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