com.volcengine.cdn.model.CertInfoForDescribeCdnConfigOutput 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 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;
/**
* CertInfoForDescribeCdnConfigOutput
*/
public class CertInfoForDescribeCdnConfigOutput {
@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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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 CertInfoForDescribeCdnConfigOutput 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;
}
CertInfoForDescribeCdnConfigOutput certInfoForDescribeCdnConfigOutput = (CertInfoForDescribeCdnConfigOutput) o;
return Objects.equals(this.certId, certInfoForDescribeCdnConfigOutput.certId) &&
Objects.equals(this.certName, certInfoForDescribeCdnConfigOutput.certName) &&
Objects.equals(this.certificate, certInfoForDescribeCdnConfigOutput.certificate) &&
Objects.equals(this.desc, certInfoForDescribeCdnConfigOutput.desc) &&
Objects.equals(this.effectiveTime, certInfoForDescribeCdnConfigOutput.effectiveTime) &&
Objects.equals(this.encryType, certInfoForDescribeCdnConfigOutput.encryType) &&
Objects.equals(this.expireTime, certInfoForDescribeCdnConfigOutput.expireTime) &&
Objects.equals(this.source, certInfoForDescribeCdnConfigOutput.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 CertInfoForDescribeCdnConfigOutput {\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