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

com.tencentcloudapi.teo.v20220901.models.AliasDomain Maven / Gradle / Ivy

There is a newer version: 3.0.1076
Show newest version
/*
 * 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class AliasDomain extends AbstractModel {

    /**
    * The alias domain name.
    */
    @SerializedName("AliasName")
    @Expose
    private String AliasName;

    /**
    * The site ID.
    */
    @SerializedName("ZoneId")
    @Expose
    private String ZoneId;

    /**
    * The target domain name.
    */
    @SerializedName("TargetName")
    @Expose
    private String TargetName;

    /**
    * Status of the alias domain name. Values:
  • `active`: Activated
  • `pending`: Deploying
  • `conflict`: Reclaimed
  • `stop`: Stopped
  • */ @SerializedName("Status") @Expose private String Status; /** * The blocking mode. Values:
  • `0`: Not blocked
  • `11`: Blocked due to regulatory compliance
  • `14`: Blocked due to ICP filing not obtained
  • */ @SerializedName("ForbidMode") @Expose private Long ForbidMode; /** * Creation time of the alias domain name. */ @SerializedName("CreatedOn") @Expose private String CreatedOn; /** * Modification time of the alias domain name. */ @SerializedName("ModifiedOn") @Expose private String ModifiedOn; /** * Get The alias domain name. * @return AliasName The alias domain name. */ public String getAliasName() { return this.AliasName; } /** * Set The alias domain name. * @param AliasName The alias domain name. */ public void setAliasName(String AliasName) { this.AliasName = AliasName; } /** * Get The site ID. * @return ZoneId The site ID. */ public String getZoneId() { return this.ZoneId; } /** * Set The site ID. * @param ZoneId The site ID. */ public void setZoneId(String ZoneId) { this.ZoneId = ZoneId; } /** * Get The target domain name. * @return TargetName The target domain name. */ public String getTargetName() { return this.TargetName; } /** * Set The target domain name. * @param TargetName The target domain name. */ public void setTargetName(String TargetName) { this.TargetName = TargetName; } /** * Get Status of the alias domain name. Values:
  • `active`: Activated
  • `pending`: Deploying
  • `conflict`: Reclaimed
  • `stop`: Stopped
  • * @return Status Status of the alias domain name. Values:
  • `active`: Activated
  • `pending`: Deploying
  • `conflict`: Reclaimed
  • `stop`: Stopped
  • */ public String getStatus() { return this.Status; } /** * Set Status of the alias domain name. Values:
  • `active`: Activated
  • `pending`: Deploying
  • `conflict`: Reclaimed
  • `stop`: Stopped
  • * @param Status Status of the alias domain name. Values:
  • `active`: Activated
  • `pending`: Deploying
  • `conflict`: Reclaimed
  • `stop`: Stopped
  • */ public void setStatus(String Status) { this.Status = Status; } /** * Get The blocking mode. Values:
  • `0`: Not blocked
  • `11`: Blocked due to regulatory compliance
  • `14`: Blocked due to ICP filing not obtained
  • * @return ForbidMode The blocking mode. Values:
  • `0`: Not blocked
  • `11`: Blocked due to regulatory compliance
  • `14`: Blocked due to ICP filing not obtained
  • */ public Long getForbidMode() { return this.ForbidMode; } /** * Set The blocking mode. Values:
  • `0`: Not blocked
  • `11`: Blocked due to regulatory compliance
  • `14`: Blocked due to ICP filing not obtained
  • * @param ForbidMode The blocking mode. Values:
  • `0`: Not blocked
  • `11`: Blocked due to regulatory compliance
  • `14`: Blocked due to ICP filing not obtained
  • */ public void setForbidMode(Long ForbidMode) { this.ForbidMode = ForbidMode; } /** * Get Creation time of the alias domain name. * @return CreatedOn Creation time of the alias domain name. */ public String getCreatedOn() { return this.CreatedOn; } /** * Set Creation time of the alias domain name. * @param CreatedOn Creation time of the alias domain name. */ public void setCreatedOn(String CreatedOn) { this.CreatedOn = CreatedOn; } /** * Get Modification time of the alias domain name. * @return ModifiedOn Modification time of the alias domain name. */ public String getModifiedOn() { return this.ModifiedOn; } /** * Set Modification time of the alias domain name. * @param ModifiedOn Modification time of the alias domain name. */ public void setModifiedOn(String ModifiedOn) { this.ModifiedOn = ModifiedOn; } public AliasDomain() { } /** * 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 AliasDomain(AliasDomain source) { if (source.AliasName != null) { this.AliasName = new String(source.AliasName); } if (source.ZoneId != null) { this.ZoneId = new String(source.ZoneId); } if (source.TargetName != null) { this.TargetName = new String(source.TargetName); } if (source.Status != null) { this.Status = new String(source.Status); } if (source.ForbidMode != null) { this.ForbidMode = new Long(source.ForbidMode); } if (source.CreatedOn != null) { this.CreatedOn = new String(source.CreatedOn); } if (source.ModifiedOn != null) { this.ModifiedOn = new String(source.ModifiedOn); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "AliasName", this.AliasName); this.setParamSimple(map, prefix + "ZoneId", this.ZoneId); this.setParamSimple(map, prefix + "TargetName", this.TargetName); this.setParamSimple(map, prefix + "Status", this.Status); this.setParamSimple(map, prefix + "ForbidMode", this.ForbidMode); this.setParamSimple(map, prefix + "CreatedOn", this.CreatedOn); this.setParamSimple(map, prefix + "ModifiedOn", this.ModifiedOn); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy