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

com.volcengine.cdn.model.CertInfoListForDescribeCdnConfigOutput 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.CertificateForDescribeCdnConfigOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * CertInfoListForDescribeCdnConfigOutput
 */



public class CertInfoListForDescribeCdnConfigOutput {
  @SerializedName("CertId")
  private String certId = null;

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

  @SerializedName("Certificate")
  private CertificateForDescribeCdnConfigOutput certificate = null;

  @SerializedName("Desc")
  private String desc = 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;

  public CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput certificate(CertificateForDescribeCdnConfigOutput certificate) {
    this.certificate = certificate;
    return this;
  }

   /**
   * Get certificate
   * @return certificate
  **/
  @Valid
  @Schema(description = "")
  public CertificateForDescribeCdnConfigOutput getCertificate() {
    return certificate;
  }

  public void setCertificate(CertificateForDescribeCdnConfigOutput certificate) {
    this.certificate = certificate;
  }

  public CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput 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 CertInfoListForDescribeCdnConfigOutput 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;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CertInfoListForDescribeCdnConfigOutput certInfoListForDescribeCdnConfigOutput = (CertInfoListForDescribeCdnConfigOutput) o;
    return Objects.equals(this.certId, certInfoListForDescribeCdnConfigOutput.certId) &&
        Objects.equals(this.certName, certInfoListForDescribeCdnConfigOutput.certName) &&
        Objects.equals(this.certificate, certInfoListForDescribeCdnConfigOutput.certificate) &&
        Objects.equals(this.desc, certInfoListForDescribeCdnConfigOutput.desc) &&
        Objects.equals(this.effectiveTime, certInfoListForDescribeCdnConfigOutput.effectiveTime) &&
        Objects.equals(this.encryType, certInfoListForDescribeCdnConfigOutput.encryType) &&
        Objects.equals(this.expireTime, certInfoListForDescribeCdnConfigOutput.expireTime) &&
        Objects.equals(this.source, certInfoListForDescribeCdnConfigOutput.source);
  }

  @Override
  public int hashCode() {
    return Objects.hash(certId, certName, certificate, desc, effectiveTime, encryType, expireTime, source);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CertInfoListForDescribeCdnConfigOutput {\n");
    
    sb.append("    certId: ").append(toIndentedString(certId)).append("\n");
    sb.append("    certName: ").append(toIndentedString(certName)).append("\n");
    sb.append("    certificate: ").append(toIndentedString(certificate)).append("\n");
    sb.append("    desc: ").append(toIndentedString(desc)).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("}");
    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