All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.cdn.model.HTTPSForDescribeCdnConfigOutput Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * 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.CertCheckForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.CertInfoForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.CertInfoListForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.ForcedRedirectForDescribeCdnConfigOutput;
import com.volcengine.cdn.model.HstsForDescribeCdnConfigOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * HTTPSForDescribeCdnConfigOutput
 */



public class HTTPSForDescribeCdnConfigOutput {
  @SerializedName("CertCheck")
  private CertCheckForDescribeCdnConfigOutput certCheck = null;

  @SerializedName("CertInfo")
  private CertInfoForDescribeCdnConfigOutput certInfo = null;

  @SerializedName("CertInfoList")
  private List certInfoList = null;

  @SerializedName("DisableHttp")
  private Boolean disableHttp = null;

  @SerializedName("ForcedRedirect")
  private ForcedRedirectForDescribeCdnConfigOutput forcedRedirect = null;

  @SerializedName("HTTP2")
  private Boolean htTP2 = null;

  @SerializedName("Hsts")
  private HstsForDescribeCdnConfigOutput hsts = null;

  @SerializedName("OCSP")
  private Boolean OCSP = null;

  @SerializedName("Switch")
  private Boolean _switch = null;

  @SerializedName("TlsVersion")
  private List tlsVersion = null;

  public HTTPSForDescribeCdnConfigOutput certCheck(CertCheckForDescribeCdnConfigOutput certCheck) {
    this.certCheck = certCheck;
    return this;
  }

   /**
   * Get certCheck
   * @return certCheck
  **/
  @Valid
  @Schema(description = "")
  public CertCheckForDescribeCdnConfigOutput getCertCheck() {
    return certCheck;
  }

  public void setCertCheck(CertCheckForDescribeCdnConfigOutput certCheck) {
    this.certCheck = certCheck;
  }

  public HTTPSForDescribeCdnConfigOutput certInfo(CertInfoForDescribeCdnConfigOutput certInfo) {
    this.certInfo = certInfo;
    return this;
  }

   /**
   * Get certInfo
   * @return certInfo
  **/
  @Valid
  @Schema(description = "")
  public CertInfoForDescribeCdnConfigOutput getCertInfo() {
    return certInfo;
  }

  public void setCertInfo(CertInfoForDescribeCdnConfigOutput certInfo) {
    this.certInfo = certInfo;
  }

  public HTTPSForDescribeCdnConfigOutput certInfoList(List certInfoList) {
    this.certInfoList = certInfoList;
    return this;
  }

  public HTTPSForDescribeCdnConfigOutput addCertInfoListItem(CertInfoListForDescribeCdnConfigOutput certInfoListItem) {
    if (this.certInfoList == null) {
      this.certInfoList = new ArrayList();
    }
    this.certInfoList.add(certInfoListItem);
    return this;
  }

   /**
   * Get certInfoList
   * @return certInfoList
  **/
  @Valid
  @Schema(description = "")
  public List getCertInfoList() {
    return certInfoList;
  }

  public void setCertInfoList(List certInfoList) {
    this.certInfoList = certInfoList;
  }

  public HTTPSForDescribeCdnConfigOutput disableHttp(Boolean disableHttp) {
    this.disableHttp = disableHttp;
    return this;
  }

   /**
   * Get disableHttp
   * @return disableHttp
  **/
  @Schema(description = "")
  public Boolean isDisableHttp() {
    return disableHttp;
  }

  public void setDisableHttp(Boolean disableHttp) {
    this.disableHttp = disableHttp;
  }

  public HTTPSForDescribeCdnConfigOutput forcedRedirect(ForcedRedirectForDescribeCdnConfigOutput forcedRedirect) {
    this.forcedRedirect = forcedRedirect;
    return this;
  }

   /**
   * Get forcedRedirect
   * @return forcedRedirect
  **/
  @Valid
  @Schema(description = "")
  public ForcedRedirectForDescribeCdnConfigOutput getForcedRedirect() {
    return forcedRedirect;
  }

  public void setForcedRedirect(ForcedRedirectForDescribeCdnConfigOutput forcedRedirect) {
    this.forcedRedirect = forcedRedirect;
  }

  public HTTPSForDescribeCdnConfigOutput 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 HTTPSForDescribeCdnConfigOutput hsts(HstsForDescribeCdnConfigOutput hsts) {
    this.hsts = hsts;
    return this;
  }

   /**
   * Get hsts
   * @return hsts
  **/
  @Valid
  @Schema(description = "")
  public HstsForDescribeCdnConfigOutput getHsts() {
    return hsts;
  }

  public void setHsts(HstsForDescribeCdnConfigOutput hsts) {
    this.hsts = hsts;
  }

  public HTTPSForDescribeCdnConfigOutput OCSP(Boolean OCSP) {
    this.OCSP = OCSP;
    return this;
  }

   /**
   * Get OCSP
   * @return OCSP
  **/
  @Schema(description = "")
  public Boolean isOCSP() {
    return OCSP;
  }

  public void setOCSP(Boolean OCSP) {
    this.OCSP = OCSP;
  }

  public HTTPSForDescribeCdnConfigOutput _switch(Boolean _switch) {
    this._switch = _switch;
    return this;
  }

   /**
   * Get _switch
   * @return _switch
  **/
  @Schema(description = "")
  public Boolean isSwitch() {
    return _switch;
  }

  public void setSwitch(Boolean _switch) {
    this._switch = _switch;
  }

  public HTTPSForDescribeCdnConfigOutput tlsVersion(List tlsVersion) {
    this.tlsVersion = tlsVersion;
    return this;
  }

  public HTTPSForDescribeCdnConfigOutput addTlsVersionItem(String tlsVersionItem) {
    if (this.tlsVersion == null) {
      this.tlsVersion = new ArrayList();
    }
    this.tlsVersion.add(tlsVersionItem);
    return this;
  }

   /**
   * Get tlsVersion
   * @return tlsVersion
  **/
  @Schema(description = "")
  public List getTlsVersion() {
    return tlsVersion;
  }

  public void setTlsVersion(List tlsVersion) {
    this.tlsVersion = tlsVersion;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    HTTPSForDescribeCdnConfigOutput htTPSForDescribeCdnConfigOutput = (HTTPSForDescribeCdnConfigOutput) o;
    return Objects.equals(this.certCheck, htTPSForDescribeCdnConfigOutput.certCheck) &&
        Objects.equals(this.certInfo, htTPSForDescribeCdnConfigOutput.certInfo) &&
        Objects.equals(this.certInfoList, htTPSForDescribeCdnConfigOutput.certInfoList) &&
        Objects.equals(this.disableHttp, htTPSForDescribeCdnConfigOutput.disableHttp) &&
        Objects.equals(this.forcedRedirect, htTPSForDescribeCdnConfigOutput.forcedRedirect) &&
        Objects.equals(this.htTP2, htTPSForDescribeCdnConfigOutput.htTP2) &&
        Objects.equals(this.hsts, htTPSForDescribeCdnConfigOutput.hsts) &&
        Objects.equals(this.OCSP, htTPSForDescribeCdnConfigOutput.OCSP) &&
        Objects.equals(this._switch, htTPSForDescribeCdnConfigOutput._switch) &&
        Objects.equals(this.tlsVersion, htTPSForDescribeCdnConfigOutput.tlsVersion);
  }

  @Override
  public int hashCode() {
    return Objects.hash(certCheck, certInfo, certInfoList, disableHttp, forcedRedirect, htTP2, hsts, OCSP, _switch, tlsVersion);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class HTTPSForDescribeCdnConfigOutput {\n");
    
    sb.append("    certCheck: ").append(toIndentedString(certCheck)).append("\n");
    sb.append("    certInfo: ").append(toIndentedString(certInfo)).append("\n");
    sb.append("    certInfoList: ").append(toIndentedString(certInfoList)).append("\n");
    sb.append("    disableHttp: ").append(toIndentedString(disableHttp)).append("\n");
    sb.append("    forcedRedirect: ").append(toIndentedString(forcedRedirect)).append("\n");
    sb.append("    htTP2: ").append(toIndentedString(htTP2)).append("\n");
    sb.append("    hsts: ").append(toIndentedString(hsts)).append("\n");
    sb.append("    OCSP: ").append(toIndentedString(OCSP)).append("\n");
    sb.append("    _switch: ").append(toIndentedString(_switch)).append("\n");
    sb.append("    tlsVersion: ").append(toIndentedString(tlsVersion)).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