com.volcengine.dcdn.model.CacheRuleForDescribeDomainDetailOutput Maven / Gradle / Ivy
/*
* 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;
/**
* CacheRuleForDescribeDomainDetailOutput
*/
public class CacheRuleForDescribeDomainDetailOutput {
@SerializedName("CacheTime")
private Integer cacheTime = null;
@SerializedName("CacheTimeUnit")
private String cacheTimeUnit = null;
@SerializedName("Contents")
private String contents = null;
@SerializedName("IgnoreCase")
private Boolean ignoreCase = null;
@SerializedName("ParamsFilterType")
private String paramsFilterType = null;
@SerializedName("ParamsReserveList")
private String paramsReserveList = null;
@SerializedName("Policy")
private String policy = null;
@SerializedName("Type")
private String type = null;
public CacheRuleForDescribeDomainDetailOutput 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 CacheRuleForDescribeDomainDetailOutput 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 CacheRuleForDescribeDomainDetailOutput contents(String contents) {
this.contents = contents;
return this;
}
/**
* Get contents
* @return contents
**/
@Schema(description = "")
public String getContents() {
return contents;
}
public void setContents(String contents) {
this.contents = contents;
}
public CacheRuleForDescribeDomainDetailOutput ignoreCase(Boolean ignoreCase) {
this.ignoreCase = ignoreCase;
return this;
}
/**
* Get ignoreCase
* @return ignoreCase
**/
@Schema(description = "")
public Boolean isIgnoreCase() {
return ignoreCase;
}
public void setIgnoreCase(Boolean ignoreCase) {
this.ignoreCase = ignoreCase;
}
public CacheRuleForDescribeDomainDetailOutput paramsFilterType(String paramsFilterType) {
this.paramsFilterType = paramsFilterType;
return this;
}
/**
* Get paramsFilterType
* @return paramsFilterType
**/
@Schema(description = "")
public String getParamsFilterType() {
return paramsFilterType;
}
public void setParamsFilterType(String paramsFilterType) {
this.paramsFilterType = paramsFilterType;
}
public CacheRuleForDescribeDomainDetailOutput paramsReserveList(String paramsReserveList) {
this.paramsReserveList = paramsReserveList;
return this;
}
/**
* Get paramsReserveList
* @return paramsReserveList
**/
@Schema(description = "")
public String getParamsReserveList() {
return paramsReserveList;
}
public void setParamsReserveList(String paramsReserveList) {
this.paramsReserveList = paramsReserveList;
}
public CacheRuleForDescribeDomainDetailOutput policy(String policy) {
this.policy = policy;
return this;
}
/**
* Get policy
* @return policy
**/
@Schema(description = "")
public String getPolicy() {
return policy;
}
public void setPolicy(String policy) {
this.policy = policy;
}
public CacheRuleForDescribeDomainDetailOutput 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;
}
CacheRuleForDescribeDomainDetailOutput cacheRuleForDescribeDomainDetailOutput = (CacheRuleForDescribeDomainDetailOutput) o;
return Objects.equals(this.cacheTime, cacheRuleForDescribeDomainDetailOutput.cacheTime) &&
Objects.equals(this.cacheTimeUnit, cacheRuleForDescribeDomainDetailOutput.cacheTimeUnit) &&
Objects.equals(this.contents, cacheRuleForDescribeDomainDetailOutput.contents) &&
Objects.equals(this.ignoreCase, cacheRuleForDescribeDomainDetailOutput.ignoreCase) &&
Objects.equals(this.paramsFilterType, cacheRuleForDescribeDomainDetailOutput.paramsFilterType) &&
Objects.equals(this.paramsReserveList, cacheRuleForDescribeDomainDetailOutput.paramsReserveList) &&
Objects.equals(this.policy, cacheRuleForDescribeDomainDetailOutput.policy) &&
Objects.equals(this.type, cacheRuleForDescribeDomainDetailOutput.type);
}
@Override
public int hashCode() {
return Objects.hash(cacheTime, cacheTimeUnit, contents, ignoreCase, paramsFilterType, paramsReserveList, policy, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CacheRuleForDescribeDomainDetailOutput {\n");
sb.append(" cacheTime: ").append(toIndentedString(cacheTime)).append("\n");
sb.append(" cacheTimeUnit: ").append(toIndentedString(cacheTimeUnit)).append("\n");
sb.append(" contents: ").append(toIndentedString(contents)).append("\n");
sb.append(" ignoreCase: ").append(toIndentedString(ignoreCase)).append("\n");
sb.append(" paramsFilterType: ").append(toIndentedString(paramsFilterType)).append("\n");
sb.append(" paramsReserveList: ").append(toIndentedString(paramsReserveList)).append("\n");
sb.append(" policy: ").append(toIndentedString(policy)).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