com.volcengine.cdn.model.DescribeCdnConfigResponse Maven / Gradle / Ivy
/*
* 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 com.volcengine.cdn.model.DomainConfigForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.FeatureConfigForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.ModuleLockConfigForDescribeCdnConfigOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* DescribeCdnConfigResponse
*/
public class DescribeCdnConfigResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("DomainConfig")
private DomainConfigForDescribeCdnConfigOutput domainConfig = null;
@SerializedName("FeatureConfig")
private FeatureConfigForDescribeCdnConfigOutput featureConfig = null;
@SerializedName("ModuleLockConfig")
private ModuleLockConfigForDescribeCdnConfigOutput moduleLockConfig = null;
public DescribeCdnConfigResponse domainConfig(DomainConfigForDescribeCdnConfigOutput domainConfig) {
this.domainConfig = domainConfig;
return this;
}
/**
* Get domainConfig
* @return domainConfig
**/
@Valid
@Schema(description = "")
public DomainConfigForDescribeCdnConfigOutput getDomainConfig() {
return domainConfig;
}
public void setDomainConfig(DomainConfigForDescribeCdnConfigOutput domainConfig) {
this.domainConfig = domainConfig;
}
public DescribeCdnConfigResponse featureConfig(FeatureConfigForDescribeCdnConfigOutput featureConfig) {
this.featureConfig = featureConfig;
return this;
}
/**
* Get featureConfig
* @return featureConfig
**/
@Valid
@Schema(description = "")
public FeatureConfigForDescribeCdnConfigOutput getFeatureConfig() {
return featureConfig;
}
public void setFeatureConfig(FeatureConfigForDescribeCdnConfigOutput featureConfig) {
this.featureConfig = featureConfig;
}
public DescribeCdnConfigResponse moduleLockConfig(ModuleLockConfigForDescribeCdnConfigOutput moduleLockConfig) {
this.moduleLockConfig = moduleLockConfig;
return this;
}
/**
* Get moduleLockConfig
* @return moduleLockConfig
**/
@Valid
@Schema(description = "")
public ModuleLockConfigForDescribeCdnConfigOutput getModuleLockConfig() {
return moduleLockConfig;
}
public void setModuleLockConfig(ModuleLockConfigForDescribeCdnConfigOutput moduleLockConfig) {
this.moduleLockConfig = moduleLockConfig;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DescribeCdnConfigResponse describeCdnConfigResponse = (DescribeCdnConfigResponse) o;
return Objects.equals(this.domainConfig, describeCdnConfigResponse.domainConfig) &&
Objects.equals(this.featureConfig, describeCdnConfigResponse.featureConfig) &&
Objects.equals(this.moduleLockConfig, describeCdnConfigResponse.moduleLockConfig);
}
@Override
public int hashCode() {
return Objects.hash(domainConfig, featureConfig, moduleLockConfig);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DescribeCdnConfigResponse {\n");
sb.append(" domainConfig: ").append(toIndentedString(domainConfig)).append("\n");
sb.append(" featureConfig: ").append(toIndentedString(featureConfig)).append("\n");
sb.append(" moduleLockConfig: ").append(toIndentedString(moduleLockConfig)).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