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

com.tencentcloudapi.teo.v20220901.models.ModifyHostsCertificateRequest 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 ModifyHostsCertificateRequest extends AbstractModel{

    /**
    * 站点 ID。
    */
    @SerializedName("ZoneId")
    @Expose
    private String ZoneId;

    /**
    * 本次变更的域名列表。
    */
    @SerializedName("Hosts")
    @Expose
    private String [] Hosts;

    /**
    * 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。
    */
    @SerializedName("ServerCertInfo")
    @Expose
    private ServerCertInfo [] ServerCertInfo;

    /**
    * 托管类型,取值有:
  • apply:托管EO;
  • none:不托管EO;
  • 不填,默认取值为apply。 */ @SerializedName("ApplyType") @Expose private String ApplyType; /** * Get 站点 ID。 * @return ZoneId 站点 ID。 */ public String getZoneId() { return this.ZoneId; } /** * Set 站点 ID。 * @param ZoneId 站点 ID。 */ public void setZoneId(String ZoneId) { this.ZoneId = ZoneId; } /** * Get 本次变更的域名列表。 * @return Hosts 本次变更的域名列表。 */ public String [] getHosts() { return this.Hosts; } /** * Set 本次变更的域名列表。 * @param Hosts 本次变更的域名列表。 */ public void setHosts(String [] Hosts) { this.Hosts = Hosts; } /** * Get 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。 * @return ServerCertInfo 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。 */ public ServerCertInfo [] getServerCertInfo() { return this.ServerCertInfo; } /** * Set 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。 * @param ServerCertInfo 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。 */ public void setServerCertInfo(ServerCertInfo [] ServerCertInfo) { this.ServerCertInfo = ServerCertInfo; } /** * Get 托管类型,取值有:
  • apply:托管EO;
  • none:不托管EO;
  • 不填,默认取值为apply。 * @return ApplyType 托管类型,取值有:
  • apply:托管EO;
  • none:不托管EO;
  • 不填,默认取值为apply。 */ public String getApplyType() { return this.ApplyType; } /** * Set 托管类型,取值有:
  • apply:托管EO;
  • none:不托管EO;
  • 不填,默认取值为apply。 * @param ApplyType 托管类型,取值有:
  • apply:托管EO;
  • none:不托管EO;
  • 不填,默认取值为apply。 */ public void setApplyType(String ApplyType) { this.ApplyType = ApplyType; } public ModifyHostsCertificateRequest() { } /** * 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 ModifyHostsCertificateRequest(ModifyHostsCertificateRequest source) { if (source.ZoneId != null) { this.ZoneId = new String(source.ZoneId); } if (source.Hosts != null) { this.Hosts = new String[source.Hosts.length]; for (int i = 0; i < source.Hosts.length; i++) { this.Hosts[i] = new String(source.Hosts[i]); } } if (source.ServerCertInfo != null) { this.ServerCertInfo = new ServerCertInfo[source.ServerCertInfo.length]; for (int i = 0; i < source.ServerCertInfo.length; i++) { this.ServerCertInfo[i] = new ServerCertInfo(source.ServerCertInfo[i]); } } if (source.ApplyType != null) { this.ApplyType = new String(source.ApplyType); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ZoneId", this.ZoneId); this.setParamArraySimple(map, prefix + "Hosts.", this.Hosts); this.setParamArrayObj(map, prefix + "ServerCertInfo.", this.ServerCertInfo); this.setParamSimple(map, prefix + "ApplyType", this.ApplyType); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy