com.volcengine.dcdn.model.HttpsForDescribeDomainDetailOutput 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 com.volcengine.dcdn.model.CertBindForDescribeDomainDetailOutput;
import com.volcengine.dcdn.model.ForceRedirectForDescribeDomainDetailOutput;
import com.volcengine.dcdn.model.HstsForDescribeDomainDetailOutput;
import com.volcengine.dcdn.model.TlsVersionsForDescribeDomainDetailOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* HttpsForDescribeDomainDetailOutput
*/
public class HttpsForDescribeDomainDetailOutput {
@SerializedName("CertBind")
private CertBindForDescribeDomainDetailOutput certBind = null;
@SerializedName("ForceRedirect")
private ForceRedirectForDescribeDomainDetailOutput forceRedirect = null;
@SerializedName("Hsts")
private HstsForDescribeDomainDetailOutput hsts = null;
@SerializedName("Http2")
private Boolean http2 = null;
@SerializedName("QUICSwitch")
private Boolean quICSwitch = null;
@SerializedName("TlsVersions")
private TlsVersionsForDescribeDomainDetailOutput tlsVersions = null;
public HttpsForDescribeDomainDetailOutput certBind(CertBindForDescribeDomainDetailOutput certBind) {
this.certBind = certBind;
return this;
}
/**
* Get certBind
* @return certBind
**/
@Valid
@Schema(description = "")
public CertBindForDescribeDomainDetailOutput getCertBind() {
return certBind;
}
public void setCertBind(CertBindForDescribeDomainDetailOutput certBind) {
this.certBind = certBind;
}
public HttpsForDescribeDomainDetailOutput forceRedirect(ForceRedirectForDescribeDomainDetailOutput forceRedirect) {
this.forceRedirect = forceRedirect;
return this;
}
/**
* Get forceRedirect
* @return forceRedirect
**/
@Valid
@Schema(description = "")
public ForceRedirectForDescribeDomainDetailOutput getForceRedirect() {
return forceRedirect;
}
public void setForceRedirect(ForceRedirectForDescribeDomainDetailOutput forceRedirect) {
this.forceRedirect = forceRedirect;
}
public HttpsForDescribeDomainDetailOutput hsts(HstsForDescribeDomainDetailOutput hsts) {
this.hsts = hsts;
return this;
}
/**
* Get hsts
* @return hsts
**/
@Valid
@Schema(description = "")
public HstsForDescribeDomainDetailOutput getHsts() {
return hsts;
}
public void setHsts(HstsForDescribeDomainDetailOutput hsts) {
this.hsts = hsts;
}
public HttpsForDescribeDomainDetailOutput http2(Boolean http2) {
this.http2 = http2;
return this;
}
/**
* Get http2
* @return http2
**/
@Schema(description = "")
public Boolean isHttp2() {
return http2;
}
public void setHttp2(Boolean http2) {
this.http2 = http2;
}
public HttpsForDescribeDomainDetailOutput quICSwitch(Boolean quICSwitch) {
this.quICSwitch = quICSwitch;
return this;
}
/**
* Get quICSwitch
* @return quICSwitch
**/
@Schema(description = "")
public Boolean isQuICSwitch() {
return quICSwitch;
}
public void setQuICSwitch(Boolean quICSwitch) {
this.quICSwitch = quICSwitch;
}
public HttpsForDescribeDomainDetailOutput tlsVersions(TlsVersionsForDescribeDomainDetailOutput tlsVersions) {
this.tlsVersions = tlsVersions;
return this;
}
/**
* Get tlsVersions
* @return tlsVersions
**/
@Valid
@Schema(description = "")
public TlsVersionsForDescribeDomainDetailOutput getTlsVersions() {
return tlsVersions;
}
public void setTlsVersions(TlsVersionsForDescribeDomainDetailOutput tlsVersions) {
this.tlsVersions = tlsVersions;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HttpsForDescribeDomainDetailOutput httpsForDescribeDomainDetailOutput = (HttpsForDescribeDomainDetailOutput) o;
return Objects.equals(this.certBind, httpsForDescribeDomainDetailOutput.certBind) &&
Objects.equals(this.forceRedirect, httpsForDescribeDomainDetailOutput.forceRedirect) &&
Objects.equals(this.hsts, httpsForDescribeDomainDetailOutput.hsts) &&
Objects.equals(this.http2, httpsForDescribeDomainDetailOutput.http2) &&
Objects.equals(this.quICSwitch, httpsForDescribeDomainDetailOutput.quICSwitch) &&
Objects.equals(this.tlsVersions, httpsForDescribeDomainDetailOutput.tlsVersions);
}
@Override
public int hashCode() {
return Objects.hash(certBind, forceRedirect, hsts, http2, quICSwitch, tlsVersions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HttpsForDescribeDomainDetailOutput {\n");
sb.append(" certBind: ").append(toIndentedString(certBind)).append("\n");
sb.append(" forceRedirect: ").append(toIndentedString(forceRedirect)).append("\n");
sb.append(" hsts: ").append(toIndentedString(hsts)).append("\n");
sb.append(" http2: ").append(toIndentedString(http2)).append("\n");
sb.append(" quICSwitch: ").append(toIndentedString(quICSwitch)).append("\n");
sb.append(" tlsVersions: ").append(toIndentedString(tlsVersions)).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