
com.tencentcloudapi.teo.v20220901.models.PlanInfo 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 PlanInfo extends AbstractModel{
/**
* 结算货币类型,取值有:
CNY :人民币结算;
USD :美元结算。
*/
@SerializedName("Currency")
@Expose
private String Currency;
/**
* 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
*/
@SerializedName("Flux")
@Expose
private Long Flux;
/**
* 结算周期,取值有:
y :按年结算;
m :按月结算;
h :按小时结算;
M :按分钟结算;
s :按秒结算。
*/
@SerializedName("Frequency")
@Expose
private String Frequency;
/**
* 套餐类型,取值有:
sta :全球内容分发网络(不包括中国大陆)标准版套餐;
sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;
sta_cm :中国大陆内容分发网络标准版套餐;
sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;
ent :全球内容分发网络(不包括中国大陆)企业版套餐;
ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;
ent_cm :中国大陆内容分发网络企业版套餐;
ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理。
*/
@SerializedName("PlanType")
@Expose
private String PlanType;
/**
* 套餐价格(单位:分)。
*/
@SerializedName("Price")
@Expose
private Float Price;
/**
* 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
*/
@SerializedName("Request")
@Expose
private Long Request;
/**
* 套餐所能绑定的站点个数。
*/
@SerializedName("SiteNumber")
@Expose
private Long SiteNumber;
/**
* 套餐加速区域类型,取值有:
mainland :中国大陆;
overseas :全球(不包括中国大陆)。
*/
@SerializedName("Area")
@Expose
private String Area;
/**
* Get 结算货币类型,取值有:
CNY :人民币结算;
USD :美元结算。
* @return Currency 结算货币类型,取值有:
CNY :人民币结算;
USD :美元结算。
*/
public String getCurrency() {
return this.Currency;
}
/**
* Set 结算货币类型,取值有:
CNY :人民币结算;
USD :美元结算。
* @param Currency 结算货币类型,取值有:
CNY :人民币结算;
USD :美元结算。
*/
public void setCurrency(String Currency) {
this.Currency = Currency;
}
/**
* Get 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
* @return Flux 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
*/
public Long getFlux() {
return this.Flux;
}
/**
* Set 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
* @param Flux 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
*/
public void setFlux(Long Flux) {
this.Flux = Flux;
}
/**
* Get 结算周期,取值有:
y :按年结算;
m :按月结算;
h :按小时结算;
M :按分钟结算;
s :按秒结算。
* @return Frequency 结算周期,取值有:
y :按年结算;
m :按月结算;
h :按小时结算;
M :按分钟结算;
s :按秒结算。
*/
public String getFrequency() {
return this.Frequency;
}
/**
* Set 结算周期,取值有:
y :按年结算;
m :按月结算;
h :按小时结算;
M :按分钟结算;
s :按秒结算。
* @param Frequency 结算周期,取值有:
y :按年结算;
m :按月结算;
h :按小时结算;
M :按分钟结算;
s :按秒结算。
*/
public void setFrequency(String Frequency) {
this.Frequency = Frequency;
}
/**
* 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管理。
* @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管理。
*/
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管理。
* @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管理。
*/
public void setPlanType(String PlanType) {
this.PlanType = PlanType;
}
/**
* Get 套餐价格(单位:分)。
* @return Price 套餐价格(单位:分)。
*/
public Float getPrice() {
return this.Price;
}
/**
* Set 套餐价格(单位:分)。
* @param Price 套餐价格(单位:分)。
*/
public void setPrice(Float Price) {
this.Price = Price;
}
/**
* Get 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
* @return Request 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
*/
public Long getRequest() {
return this.Request;
}
/**
* Set 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
* @param Request 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
*/
public void setRequest(Long Request) {
this.Request = Request;
}
/**
* Get 套餐所能绑定的站点个数。
* @return SiteNumber 套餐所能绑定的站点个数。
*/
public Long getSiteNumber() {
return this.SiteNumber;
}
/**
* Set 套餐所能绑定的站点个数。
* @param SiteNumber 套餐所能绑定的站点个数。
*/
public void setSiteNumber(Long SiteNumber) {
this.SiteNumber = SiteNumber;
}
/**
* Get 套餐加速区域类型,取值有:
mainland :中国大陆;
overseas :全球(不包括中国大陆)。
* @return Area 套餐加速区域类型,取值有:
mainland :中国大陆;
overseas :全球(不包括中国大陆)。
*/
public String getArea() {
return this.Area;
}
/**
* Set 套餐加速区域类型,取值有:
mainland :中国大陆;
overseas :全球(不包括中国大陆)。
* @param Area 套餐加速区域类型,取值有:
mainland :中国大陆;
overseas :全球(不包括中国大陆)。
*/
public void setArea(String Area) {
this.Area = Area;
}
public PlanInfo() {
}
/**
* 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 PlanInfo(PlanInfo source) {
if (source.Currency != null) {
this.Currency = new String(source.Currency);
}
if (source.Flux != null) {
this.Flux = new Long(source.Flux);
}
if (source.Frequency != null) {
this.Frequency = new String(source.Frequency);
}
if (source.PlanType != null) {
this.PlanType = new String(source.PlanType);
}
if (source.Price != null) {
this.Price = new Float(source.Price);
}
if (source.Request != null) {
this.Request = new Long(source.Request);
}
if (source.SiteNumber != null) {
this.SiteNumber = new Long(source.SiteNumber);
}
if (source.Area != null) {
this.Area = new String(source.Area);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Currency", this.Currency);
this.setParamSimple(map, prefix + "Flux", this.Flux);
this.setParamSimple(map, prefix + "Frequency", this.Frequency);
this.setParamSimple(map, prefix + "PlanType", this.PlanType);
this.setParamSimple(map, prefix + "Price", this.Price);
this.setParamSimple(map, prefix + "Request", this.Request);
this.setParamSimple(map, prefix + "SiteNumber", this.SiteNumber);
this.setParamSimple(map, prefix + "Area", this.Area);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy