com.volcengine.cdn.model.AuthModeConfigForDescribeCdnConfigOutput 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 io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* AuthModeConfigForDescribeCdnConfigOutput
*/
public class AuthModeConfigForDescribeCdnConfigOutput {
@SerializedName("BackupRemoteAddr")
private String backupRemoteAddr = null;
@SerializedName("MasterRemoteAddr")
private String masterRemoteAddr = null;
@SerializedName("PathType")
private String pathType = null;
@SerializedName("PathValue")
private String pathValue = null;
@SerializedName("RequestMethod")
private String requestMethod = null;
public AuthModeConfigForDescribeCdnConfigOutput backupRemoteAddr(String backupRemoteAddr) {
this.backupRemoteAddr = backupRemoteAddr;
return this;
}
/**
* Get backupRemoteAddr
* @return backupRemoteAddr
**/
@Schema(description = "")
public String getBackupRemoteAddr() {
return backupRemoteAddr;
}
public void setBackupRemoteAddr(String backupRemoteAddr) {
this.backupRemoteAddr = backupRemoteAddr;
}
public AuthModeConfigForDescribeCdnConfigOutput masterRemoteAddr(String masterRemoteAddr) {
this.masterRemoteAddr = masterRemoteAddr;
return this;
}
/**
* Get masterRemoteAddr
* @return masterRemoteAddr
**/
@Schema(description = "")
public String getMasterRemoteAddr() {
return masterRemoteAddr;
}
public void setMasterRemoteAddr(String masterRemoteAddr) {
this.masterRemoteAddr = masterRemoteAddr;
}
public AuthModeConfigForDescribeCdnConfigOutput pathType(String pathType) {
this.pathType = pathType;
return this;
}
/**
* Get pathType
* @return pathType
**/
@Schema(description = "")
public String getPathType() {
return pathType;
}
public void setPathType(String pathType) {
this.pathType = pathType;
}
public AuthModeConfigForDescribeCdnConfigOutput pathValue(String pathValue) {
this.pathValue = pathValue;
return this;
}
/**
* Get pathValue
* @return pathValue
**/
@Schema(description = "")
public String getPathValue() {
return pathValue;
}
public void setPathValue(String pathValue) {
this.pathValue = pathValue;
}
public AuthModeConfigForDescribeCdnConfigOutput requestMethod(String requestMethod) {
this.requestMethod = requestMethod;
return this;
}
/**
* Get requestMethod
* @return requestMethod
**/
@Schema(description = "")
public String getRequestMethod() {
return requestMethod;
}
public void setRequestMethod(String requestMethod) {
this.requestMethod = requestMethod;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AuthModeConfigForDescribeCdnConfigOutput authModeConfigForDescribeCdnConfigOutput = (AuthModeConfigForDescribeCdnConfigOutput) o;
return Objects.equals(this.backupRemoteAddr, authModeConfigForDescribeCdnConfigOutput.backupRemoteAddr) &&
Objects.equals(this.masterRemoteAddr, authModeConfigForDescribeCdnConfigOutput.masterRemoteAddr) &&
Objects.equals(this.pathType, authModeConfigForDescribeCdnConfigOutput.pathType) &&
Objects.equals(this.pathValue, authModeConfigForDescribeCdnConfigOutput.pathValue) &&
Objects.equals(this.requestMethod, authModeConfigForDescribeCdnConfigOutput.requestMethod);
}
@Override
public int hashCode() {
return Objects.hash(backupRemoteAddr, masterRemoteAddr, pathType, pathValue, requestMethod);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthModeConfigForDescribeCdnConfigOutput {\n");
sb.append(" backupRemoteAddr: ").append(toIndentedString(backupRemoteAddr)).append("\n");
sb.append(" masterRemoteAddr: ").append(toIndentedString(masterRemoteAddr)).append("\n");
sb.append(" pathType: ").append(toIndentedString(pathType)).append("\n");
sb.append(" pathValue: ").append(toIndentedString(pathValue)).append("\n");
sb.append(" requestMethod: ").append(toIndentedString(requestMethod)).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