com.volcengine.cdn.model.RemoteAuthRuleActionForDescribeCdnConfigOutput 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.AuthModeConfigForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.AuthResponseConfigForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.QueryStringRulesForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.RequestHeaderRulesForDescribeCdnConfigOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* RemoteAuthRuleActionForDescribeCdnConfigOutput
*/
public class RemoteAuthRuleActionForDescribeCdnConfigOutput {
@SerializedName("AuthModeConfig")
private AuthModeConfigForDescribeCdnConfigOutput authModeConfig = null;
@SerializedName("AuthResponseConfig")
private AuthResponseConfigForDescribeCdnConfigOutput authResponseConfig = null;
@SerializedName("QueryStringRules")
private QueryStringRulesForDescribeCdnConfigOutput queryStringRules = null;
@SerializedName("RequestBodyRules")
private String requestBodyRules = null;
@SerializedName("RequestHeaderRules")
private RequestHeaderRulesForDescribeCdnConfigOutput requestHeaderRules = null;
public RemoteAuthRuleActionForDescribeCdnConfigOutput authModeConfig(AuthModeConfigForDescribeCdnConfigOutput authModeConfig) {
this.authModeConfig = authModeConfig;
return this;
}
/**
* Get authModeConfig
* @return authModeConfig
**/
@Valid
@Schema(description = "")
public AuthModeConfigForDescribeCdnConfigOutput getAuthModeConfig() {
return authModeConfig;
}
public void setAuthModeConfig(AuthModeConfigForDescribeCdnConfigOutput authModeConfig) {
this.authModeConfig = authModeConfig;
}
public RemoteAuthRuleActionForDescribeCdnConfigOutput authResponseConfig(AuthResponseConfigForDescribeCdnConfigOutput authResponseConfig) {
this.authResponseConfig = authResponseConfig;
return this;
}
/**
* Get authResponseConfig
* @return authResponseConfig
**/
@Valid
@Schema(description = "")
public AuthResponseConfigForDescribeCdnConfigOutput getAuthResponseConfig() {
return authResponseConfig;
}
public void setAuthResponseConfig(AuthResponseConfigForDescribeCdnConfigOutput authResponseConfig) {
this.authResponseConfig = authResponseConfig;
}
public RemoteAuthRuleActionForDescribeCdnConfigOutput queryStringRules(QueryStringRulesForDescribeCdnConfigOutput queryStringRules) {
this.queryStringRules = queryStringRules;
return this;
}
/**
* Get queryStringRules
* @return queryStringRules
**/
@Valid
@Schema(description = "")
public QueryStringRulesForDescribeCdnConfigOutput getQueryStringRules() {
return queryStringRules;
}
public void setQueryStringRules(QueryStringRulesForDescribeCdnConfigOutput queryStringRules) {
this.queryStringRules = queryStringRules;
}
public RemoteAuthRuleActionForDescribeCdnConfigOutput requestBodyRules(String requestBodyRules) {
this.requestBodyRules = requestBodyRules;
return this;
}
/**
* Get requestBodyRules
* @return requestBodyRules
**/
@Schema(description = "")
public String getRequestBodyRules() {
return requestBodyRules;
}
public void setRequestBodyRules(String requestBodyRules) {
this.requestBodyRules = requestBodyRules;
}
public RemoteAuthRuleActionForDescribeCdnConfigOutput requestHeaderRules(RequestHeaderRulesForDescribeCdnConfigOutput requestHeaderRules) {
this.requestHeaderRules = requestHeaderRules;
return this;
}
/**
* Get requestHeaderRules
* @return requestHeaderRules
**/
@Valid
@Schema(description = "")
public RequestHeaderRulesForDescribeCdnConfigOutput getRequestHeaderRules() {
return requestHeaderRules;
}
public void setRequestHeaderRules(RequestHeaderRulesForDescribeCdnConfigOutput requestHeaderRules) {
this.requestHeaderRules = requestHeaderRules;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RemoteAuthRuleActionForDescribeCdnConfigOutput remoteAuthRuleActionForDescribeCdnConfigOutput = (RemoteAuthRuleActionForDescribeCdnConfigOutput) o;
return Objects.equals(this.authModeConfig, remoteAuthRuleActionForDescribeCdnConfigOutput.authModeConfig) &&
Objects.equals(this.authResponseConfig, remoteAuthRuleActionForDescribeCdnConfigOutput.authResponseConfig) &&
Objects.equals(this.queryStringRules, remoteAuthRuleActionForDescribeCdnConfigOutput.queryStringRules) &&
Objects.equals(this.requestBodyRules, remoteAuthRuleActionForDescribeCdnConfigOutput.requestBodyRules) &&
Objects.equals(this.requestHeaderRules, remoteAuthRuleActionForDescribeCdnConfigOutput.requestHeaderRules);
}
@Override
public int hashCode() {
return Objects.hash(authModeConfig, authResponseConfig, queryStringRules, requestBodyRules, requestHeaderRules);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RemoteAuthRuleActionForDescribeCdnConfigOutput {\n");
sb.append(" authModeConfig: ").append(toIndentedString(authModeConfig)).append("\n");
sb.append(" authResponseConfig: ").append(toIndentedString(authResponseConfig)).append("\n");
sb.append(" queryStringRules: ").append(toIndentedString(queryStringRules)).append("\n");
sb.append(" requestBodyRules: ").append(toIndentedString(requestBodyRules)).append("\n");
sb.append(" requestHeaderRules: ").append(toIndentedString(requestHeaderRules)).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