com.volcengine.cdn.model.CertInfoForListCertInfoOutput 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.CertFingerprintForListCertInfoOutput;
import com.volcengine.cdn.model.ConfiguredDomainDetailForListCertInfoOutput;
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;
/**
* CertInfoForListCertInfoOutput
*/
public class CertInfoForListCertInfoOutput {
@SerializedName("CertFingerprint")
private CertFingerprintForListCertInfoOutput 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 CertInfoForListCertInfoOutput certFingerprint(CertFingerprintForListCertInfoOutput certFingerprint) {
this.certFingerprint = certFingerprint;
return this;
}
/**
* Get certFingerprint
* @return certFingerprint
**/
@Valid
@Schema(description = "")
public CertFingerprintForListCertInfoOutput getCertFingerprint() {
return certFingerprint;
}
public void setCertFingerprint(CertFingerprintForListCertInfoOutput certFingerprint) {
this.certFingerprint = certFingerprint;
}
public CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput configuredDomainDetail(List configuredDomainDetail) {
this.configuredDomainDetail = configuredDomainDetail;
return this;
}
public CertInfoForListCertInfoOutput addConfiguredDomainDetailItem(ConfiguredDomainDetailForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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 CertInfoForListCertInfoOutput 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;
}
CertInfoForListCertInfoOutput certInfoForListCertInfoOutput = (CertInfoForListCertInfoOutput) o;
return Objects.equals(this.certFingerprint, certInfoForListCertInfoOutput.certFingerprint) &&
Objects.equals(this.certId, certInfoForListCertInfoOutput.certId) &&
Objects.equals(this.certName, certInfoForListCertInfoOutput.certName) &&
Objects.equals(this.certType, certInfoForListCertInfoOutput.certType) &&
Objects.equals(this.configuredDomain, certInfoForListCertInfoOutput.configuredDomain) &&
Objects.equals(this.configuredDomainDetail, certInfoForListCertInfoOutput.configuredDomainDetail) &&
Objects.equals(this.desc, certInfoForListCertInfoOutput.desc) &&
Objects.equals(this.dnsName, certInfoForListCertInfoOutput.dnsName) &&
Objects.equals(this.effectiveTime, certInfoForListCertInfoOutput.effectiveTime) &&
Objects.equals(this.encryType, certInfoForListCertInfoOutput.encryType) &&
Objects.equals(this.expireTime, certInfoForListCertInfoOutput.expireTime) &&
Objects.equals(this.source, certInfoForListCertInfoOutput.source) &&
Objects.equals(this.status, certInfoForListCertInfoOutput.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 CertInfoForListCertInfoOutput {\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