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

com.volcengine.cdn.model.CertInfoForListCdnCertInfoOutput 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.CertFingerprintForListCdnCertInfoOutput;
import com.volcengine.cdn.model.ConfiguredDomainDetailForListCdnCertInfoOutput;
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;
/**
 * CertInfoForListCdnCertInfoOutput
 */



public class CertInfoForListCdnCertInfoOutput {
  @SerializedName("CertFingerprint")
  private CertFingerprintForListCdnCertInfoOutput certFingerprint = null;

  @SerializedName("CertId")
  private String certId = null;

  @SerializedName("CertName")
  private String certName = null;

  @SerializedName("CertType")
  private String certType = null;

  @SerializedName("ConfiguredDomain")
  private String configuredDomain = null;

  @SerializedName("ConfiguredDomainDetail")
  private List configuredDomainDetail = null;

  @SerializedName("Desc")
  private String desc = null;

  @SerializedName("DnsName")
  private String dnsName = null;

  @SerializedName("EffectiveTime")
  private Long effectiveTime = null;

  @SerializedName("EncryType")
  private String encryType = null;

  @SerializedName("ExpireTime")
  private Long expireTime = null;

  @SerializedName("Source")
  private String source = null;

  @SerializedName("Status")
  private String status = null;

  public CertInfoForListCdnCertInfoOutput certFingerprint(CertFingerprintForListCdnCertInfoOutput certFingerprint) {
    this.certFingerprint = certFingerprint;
    return this;
  }

   /**
   * Get certFingerprint
   * @return certFingerprint
  **/
  @Valid
  @Schema(description = "")
  public CertFingerprintForListCdnCertInfoOutput getCertFingerprint() {
    return certFingerprint;
  }

  public void setCertFingerprint(CertFingerprintForListCdnCertInfoOutput certFingerprint) {
    this.certFingerprint = certFingerprint;
  }

  public CertInfoForListCdnCertInfoOutput certId(String certId) {
    this.certId = certId;
    return this;
  }

   /**
   * Get certId
   * @return certId
  **/
  @Schema(description = "")
  public String getCertId() {
    return certId;
  }

  public void setCertId(String certId) {
    this.certId = certId;
  }

  public CertInfoForListCdnCertInfoOutput certName(String certName) {
    this.certName = certName;
    return this;
  }

   /**
   * Get certName
   * @return certName
  **/
  @Schema(description = "")
  public String getCertName() {
    return certName;
  }

  public void setCertName(String certName) {
    this.certName = certName;
  }

  public CertInfoForListCdnCertInfoOutput certType(String certType) {
    this.certType = certType;
    return this;
  }

   /**
   * Get certType
   * @return certType
  **/
  @Schema(description = "")
  public String getCertType() {
    return certType;
  }

  public void setCertType(String certType) {
    this.certType = certType;
  }

  public CertInfoForListCdnCertInfoOutput configuredDomain(String configuredDomain) {
    this.configuredDomain = configuredDomain;
    return this;
  }

   /**
   * Get configuredDomain
   * @return configuredDomain
  **/
  @Schema(description = "")
  public String getConfiguredDomain() {
    return configuredDomain;
  }

  public void setConfiguredDomain(String configuredDomain) {
    this.configuredDomain = configuredDomain;
  }

  public CertInfoForListCdnCertInfoOutput configuredDomainDetail(List configuredDomainDetail) {
    this.configuredDomainDetail = configuredDomainDetail;
    return this;
  }

  public CertInfoForListCdnCertInfoOutput addConfiguredDomainDetailItem(ConfiguredDomainDetailForListCdnCertInfoOutput configuredDomainDetailItem) {
    if (this.configuredDomainDetail == null) {
      this.configuredDomainDetail = new ArrayList();
    }
    this.configuredDomainDetail.add(configuredDomainDetailItem);
    return this;
  }

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

  public void setConfiguredDomainDetail(List configuredDomainDetail) {
    this.configuredDomainDetail = configuredDomainDetail;
  }

  public CertInfoForListCdnCertInfoOutput desc(String desc) {
    this.desc = desc;
    return this;
  }

   /**
   * Get desc
   * @return desc
  **/
  @Schema(description = "")
  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public CertInfoForListCdnCertInfoOutput dnsName(String dnsName) {
    this.dnsName = dnsName;
    return this;
  }

   /**
   * Get dnsName
   * @return dnsName
  **/
  @Schema(description = "")
  public String getDnsName() {
    return dnsName;
  }

  public void setDnsName(String dnsName) {
    this.dnsName = dnsName;
  }

  public CertInfoForListCdnCertInfoOutput effectiveTime(Long effectiveTime) {
    this.effectiveTime = effectiveTime;
    return this;
  }

   /**
   * Get effectiveTime
   * @return effectiveTime
  **/
  @Schema(description = "")
  public Long getEffectiveTime() {
    return effectiveTime;
  }

  public void setEffectiveTime(Long effectiveTime) {
    this.effectiveTime = effectiveTime;
  }

  public CertInfoForListCdnCertInfoOutput encryType(String encryType) {
    this.encryType = encryType;
    return this;
  }

   /**
   * Get encryType
   * @return encryType
  **/
  @Schema(description = "")
  public String getEncryType() {
    return encryType;
  }

  public void setEncryType(String encryType) {
    this.encryType = encryType;
  }

  public CertInfoForListCdnCertInfoOutput expireTime(Long expireTime) {
    this.expireTime = expireTime;
    return this;
  }

   /**
   * Get expireTime
   * @return expireTime
  **/
  @Schema(description = "")
  public Long getExpireTime() {
    return expireTime;
  }

  public void setExpireTime(Long expireTime) {
    this.expireTime = expireTime;
  }

  public CertInfoForListCdnCertInfoOutput source(String source) {
    this.source = source;
    return this;
  }

   /**
   * Get source
   * @return source
  **/
  @Schema(description = "")
  public String getSource() {
    return source;
  }

  public void setSource(String source) {
    this.source = source;
  }

  public CertInfoForListCdnCertInfoOutput status(String status) {
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @Schema(description = "")
  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CertInfoForListCdnCertInfoOutput certInfoForListCdnCertInfoOutput = (CertInfoForListCdnCertInfoOutput) o;
    return Objects.equals(this.certFingerprint, certInfoForListCdnCertInfoOutput.certFingerprint) &&
        Objects.equals(this.certId, certInfoForListCdnCertInfoOutput.certId) &&
        Objects.equals(this.certName, certInfoForListCdnCertInfoOutput.certName) &&
        Objects.equals(this.certType, certInfoForListCdnCertInfoOutput.certType) &&
        Objects.equals(this.configuredDomain, certInfoForListCdnCertInfoOutput.configuredDomain) &&
        Objects.equals(this.configuredDomainDetail, certInfoForListCdnCertInfoOutput.configuredDomainDetail) &&
        Objects.equals(this.desc, certInfoForListCdnCertInfoOutput.desc) &&
        Objects.equals(this.dnsName, certInfoForListCdnCertInfoOutput.dnsName) &&
        Objects.equals(this.effectiveTime, certInfoForListCdnCertInfoOutput.effectiveTime) &&
        Objects.equals(this.encryType, certInfoForListCdnCertInfoOutput.encryType) &&
        Objects.equals(this.expireTime, certInfoForListCdnCertInfoOutput.expireTime) &&
        Objects.equals(this.source, certInfoForListCdnCertInfoOutput.source) &&
        Objects.equals(this.status, certInfoForListCdnCertInfoOutput.status);
  }

  @Override
  public int hashCode() {
    return Objects.hash(certFingerprint, certId, certName, certType, configuredDomain, configuredDomainDetail, desc, dnsName, effectiveTime, encryType, expireTime, source, status);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CertInfoForListCdnCertInfoOutput {\n");
    
    sb.append("    certFingerprint: ").append(toIndentedString(certFingerprint)).append("\n");
    sb.append("    certId: ").append(toIndentedString(certId)).append("\n");
    sb.append("    certName: ").append(toIndentedString(certName)).append("\n");
    sb.append("    certType: ").append(toIndentedString(certType)).append("\n");
    sb.append("    configuredDomain: ").append(toIndentedString(configuredDomain)).append("\n");
    sb.append("    configuredDomainDetail: ").append(toIndentedString(configuredDomainDetail)).append("\n");
    sb.append("    desc: ").append(toIndentedString(desc)).append("\n");
    sb.append("    dnsName: ").append(toIndentedString(dnsName)).append("\n");
    sb.append("    effectiveTime: ").append(toIndentedString(effectiveTime)).append("\n");
    sb.append("    encryType: ").append(toIndentedString(encryType)).append("\n");
    sb.append("    expireTime: ").append(toIndentedString(expireTime)).append("\n");
    sb.append("    source: ").append(toIndentedString(source)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).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