com.volcengine.cdn.model.CertInfoForBatchUpdateCdnConfigInput 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.CertificateForBatchUpdateCdnConfigInput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* CertInfoForBatchUpdateCdnConfigInput
*/
public class CertInfoForBatchUpdateCdnConfigInput {
@SerializedName("CertId")
private String certId = null;
@SerializedName("CertName")
private String certName = null;
@SerializedName("Certificate")
private CertificateForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput certificate(CertificateForBatchUpdateCdnConfigInput certificate) {
this.certificate = certificate;
return this;
}
/**
* Get certificate
* @return certificate
**/
@Valid
@Schema(description = "")
public CertificateForBatchUpdateCdnConfigInput getCertificate() {
return certificate;
}
public void setCertificate(CertificateForBatchUpdateCdnConfigInput certificate) {
this.certificate = certificate;
}
public CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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 CertInfoForBatchUpdateCdnConfigInput 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;
}
CertInfoForBatchUpdateCdnConfigInput certInfoForBatchUpdateCdnConfigInput = (CertInfoForBatchUpdateCdnConfigInput) o;
return Objects.equals(this.certId, certInfoForBatchUpdateCdnConfigInput.certId) &&
Objects.equals(this.certName, certInfoForBatchUpdateCdnConfigInput.certName) &&
Objects.equals(this.certificate, certInfoForBatchUpdateCdnConfigInput.certificate) &&
Objects.equals(this.desc, certInfoForBatchUpdateCdnConfigInput.desc) &&
Objects.equals(this.effectiveTime, certInfoForBatchUpdateCdnConfigInput.effectiveTime) &&
Objects.equals(this.encryType, certInfoForBatchUpdateCdnConfigInput.encryType) &&
Objects.equals(this.expireTime, certInfoForBatchUpdateCdnConfigInput.expireTime) &&
Objects.equals(this.source, certInfoForBatchUpdateCdnConfigInput.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 CertInfoForBatchUpdateCdnConfigInput {\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