
com.tencentcloudapi.teo.v20220106.models.CreatePlanForZoneRequest 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.v20220106.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreatePlanForZoneRequest extends AbstractModel{
/**
* 站点ID。
*/
@SerializedName("ZoneId")
@Expose
private String ZoneId;
/**
* 所要购买套餐的类型,取值有:
sta: 全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm: 中国大陆内容分发网络标准版套餐;
sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;
ent: 全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm: 中国大陆内容分发网络企业版套餐;
ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。 当前账户可购买套餐类型请以DescribeAvailablePlans返回为准。
*/
@SerializedName("PlanType")
@Expose
private String PlanType;
/**
* 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 所要购买套餐的类型,取值有:
sta: 全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm: 中国大陆内容分发网络标准版套餐;
sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;
ent: 全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm: 中国大陆内容分发网络企业版套餐;
ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。 当前账户可购买套餐类型请以DescribeAvailablePlans返回为准。
* @return PlanType 所要购买套餐的类型,取值有:
sta: 全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm: 中国大陆内容分发网络标准版套餐;
sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;
ent: 全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm: 中国大陆内容分发网络企业版套餐;
ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。 当前账户可购买套餐类型请以DescribeAvailablePlans返回为准。
*/
public String getPlanType() {
return this.PlanType;
}
/**
* Set 所要购买套餐的类型,取值有:
sta: 全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm: 中国大陆内容分发网络标准版套餐;
sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;
ent: 全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm: 中国大陆内容分发网络企业版套餐;
ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。 当前账户可购买套餐类型请以DescribeAvailablePlans返回为准。
* @param PlanType 所要购买套餐的类型,取值有:
sta: 全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm: 中国大陆内容分发网络标准版套餐;
sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;
ent: 全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm: 中国大陆内容分发网络企业版套餐;
ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。 当前账户可购买套餐类型请以DescribeAvailablePlans返回为准。
*/
public void setPlanType(String PlanType) {
this.PlanType = PlanType;
}
public CreatePlanForZoneRequest() {
}
/**
* 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 CreatePlanForZoneRequest(CreatePlanForZoneRequest source) {
if (source.ZoneId != null) {
this.ZoneId = new String(source.ZoneId);
}
if (source.PlanType != null) {
this.PlanType = new String(source.PlanType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "PlanType", this.PlanType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy