
com.tencentcloudapi.teo.v20220901.models.ServerCertInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.teo.v20220901.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ServerCertInfo extends AbstractModel{
/**
* 服务器证书 ID。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CertId")
@Expose
private String CertId;
/**
* 证书备注名。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Alias")
@Expose
private String Alias;
/**
* 证书类型,取值有:
default:默认证书;
upload:用户上传;
managed:腾讯云托管。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 证书过期时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ExpireTime")
@Expose
private String ExpireTime;
/**
* 证书部署时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("DeployTime")
@Expose
private String DeployTime;
/**
* 签名算法。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SignAlgo")
@Expose
private String SignAlgo;
/**
* Get 服务器证书 ID。
注意:此字段可能返回 null,表示取不到有效值。
* @return CertId 服务器证书 ID。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCertId() {
return this.CertId;
}
/**
* Set 服务器证书 ID。
注意:此字段可能返回 null,表示取不到有效值。
* @param CertId 服务器证书 ID。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCertId(String CertId) {
this.CertId = CertId;
}
/**
* Get 证书备注名。
注意:此字段可能返回 null,表示取不到有效值。
* @return Alias 证书备注名。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAlias() {
return this.Alias;
}
/**
* Set 证书备注名。
注意:此字段可能返回 null,表示取不到有效值。
* @param Alias 证书备注名。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAlias(String Alias) {
this.Alias = Alias;
}
/**
* Get 证书类型,取值有:
default:默认证书;
upload:用户上传;
managed:腾讯云托管。
注意:此字段可能返回 null,表示取不到有效值。
* @return Type 证书类型,取值有:
default:默认证书;
upload:用户上传;
managed:腾讯云托管。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getType() {
return this.Type;
}
/**
* Set 证书类型,取值有:
default:默认证书;
upload:用户上传;
managed:腾讯云托管。
注意:此字段可能返回 null,表示取不到有效值。
* @param Type 证书类型,取值有:
default:默认证书;
upload:用户上传;
managed:腾讯云托管。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 证书过期时间。
注意:此字段可能返回 null,表示取不到有效值。
* @return ExpireTime 证书过期时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getExpireTime() {
return this.ExpireTime;
}
/**
* Set 证书过期时间。
注意:此字段可能返回 null,表示取不到有效值。
* @param ExpireTime 证书过期时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setExpireTime(String ExpireTime) {
this.ExpireTime = ExpireTime;
}
/**
* Get 证书部署时间。
注意:此字段可能返回 null,表示取不到有效值。
* @return DeployTime 证书部署时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDeployTime() {
return this.DeployTime;
}
/**
* Set 证书部署时间。
注意:此字段可能返回 null,表示取不到有效值。
* @param DeployTime 证书部署时间。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDeployTime(String DeployTime) {
this.DeployTime = DeployTime;
}
/**
* Get 签名算法。
注意:此字段可能返回 null,表示取不到有效值。
* @return SignAlgo 签名算法。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSignAlgo() {
return this.SignAlgo;
}
/**
* Set 签名算法。
注意:此字段可能返回 null,表示取不到有效值。
* @param SignAlgo 签名算法。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSignAlgo(String SignAlgo) {
this.SignAlgo = SignAlgo;
}
public ServerCertInfo() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public ServerCertInfo(ServerCertInfo source) {
if (source.CertId != null) {
this.CertId = new String(source.CertId);
}
if (source.Alias != null) {
this.Alias = new String(source.Alias);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.ExpireTime != null) {
this.ExpireTime = new String(source.ExpireTime);
}
if (source.DeployTime != null) {
this.DeployTime = new String(source.DeployTime);
}
if (source.SignAlgo != null) {
this.SignAlgo = new String(source.SignAlgo);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CertId", this.CertId);
this.setParamSimple(map, prefix + "Alias", this.Alias);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.setParamSimple(map, prefix + "DeployTime", this.DeployTime);
this.setParamSimple(map, prefix + "SignAlgo", this.SignAlgo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy