Class CreateLicenseOrderRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cwp.v20180228.models.CreateLicenseOrderRequest
-
public class CreateLicenseOrderRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateLicenseOrderRequest()CreateLicenseOrderRequest(CreateLicenseOrderRequest source)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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoProtectOpenConfig()Get 该字段作废BooleangetAutoRenewFlag()Get 是否自动续费, 默认不自动续费.LonggetLicenseNum()Get 授权数量 , 需要购买的数量.LonggetLicenseType()Get 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0OrderModifyObjectgetModifyConfig()Get 变配参数LonggetProjectId()Get 项目ID .LonggetRegionId()Get 购买订单地域,这里仅支持 1 广州,9 新加坡.Tags[]getTags()Get 标签数组, 空则表示不需要绑定标签LonggetTimeSpan()Get 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效voidsetAutoProtectOpenConfig(String AutoProtectOpenConfig)Set 该字段作废voidsetAutoRenewFlag(Boolean AutoRenewFlag)Set 是否自动续费, 默认不自动续费.voidsetLicenseNum(Long LicenseNum)Set 授权数量 , 需要购买的数量.voidsetLicenseType(Long LicenseType)Set 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0voidsetModifyConfig(OrderModifyObject ModifyConfig)Set 变配参数voidsetProjectId(Long ProjectId)Set 项目ID .voidsetRegionId(Long RegionId)Set 购买订单地域,这里仅支持 1 广州,9 新加坡.voidsetTags(Tags[] Tags)Set 标签数组, 空则表示不需要绑定标签voidsetTimeSpan(Long TimeSpan)Set 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateLicenseOrderRequest
public CreateLicenseOrderRequest()
-
CreateLicenseOrderRequest
public CreateLicenseOrderRequest(CreateLicenseOrderRequest source)
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.
-
-
Method Detail
-
getTags
public Tags[] getTags()
Get 标签数组, 空则表示不需要绑定标签- Returns:
- Tags 标签数组, 空则表示不需要绑定标签
-
setTags
public void setTags(Tags[] Tags)
Set 标签数组, 空则表示不需要绑定标签- Parameters:
Tags- 标签数组, 空则表示不需要绑定标签
-
getLicenseType
public Long getLicenseType()
Get 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0- Returns:
- LicenseType 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0
-
setLicenseType
public void setLicenseType(Long LicenseType)
Set 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0- Parameters:
LicenseType- 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月 默认为0
-
getLicenseNum
public Long getLicenseNum()
Get 授权数量 , 需要购买的数量. 默认为1- Returns:
- LicenseNum 授权数量 , 需要购买的数量. 默认为1
-
setLicenseNum
public void setLicenseNum(Long LicenseNum)
Set 授权数量 , 需要购买的数量. 默认为1- Parameters:
LicenseNum- 授权数量 , 需要购买的数量. 默认为1
-
getRegionId
public Long getRegionId()
Get 购买订单地域,这里仅支持 1 广州,9 新加坡. 推荐选择广州. 新加坡地域为白名单用户购买. 默认为1- Returns:
- RegionId 购买订单地域,这里仅支持 1 广州,9 新加坡. 推荐选择广州. 新加坡地域为白名单用户购买. 默认为1
-
setRegionId
public void setRegionId(Long RegionId)
Set 购买订单地域,这里仅支持 1 广州,9 新加坡. 推荐选择广州. 新加坡地域为白名单用户购买. 默认为1- Parameters:
RegionId- 购买订单地域,这里仅支持 1 广州,9 新加坡. 推荐选择广州. 新加坡地域为白名单用户购买. 默认为1
-
getProjectId
public Long getProjectId()
Get 项目ID . 默认为0- Returns:
- ProjectId 项目ID . 默认为0
-
setProjectId
public void setProjectId(Long ProjectId)
Set 项目ID . 默认为0- Parameters:
ProjectId- 项目ID . 默认为0
-
getTimeSpan
public Long getTimeSpan()
Get 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效- Returns:
- TimeSpan 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效
-
setTimeSpan
public void setTimeSpan(Long TimeSpan)
Set 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效- Parameters:
TimeSpan- 购买时间长度,默认1 , 可选值为1,2,3,4,5,6,7,8,9,10,11,12,24,36 该参数仅包年包月生效
-
getAutoRenewFlag
public Boolean getAutoRenewFlag()
Get 是否自动续费, 默认不自动续费. 该参数仅包年包月生效- Returns:
- AutoRenewFlag 是否自动续费, 默认不自动续费. 该参数仅包年包月生效
-
setAutoRenewFlag
public void setAutoRenewFlag(Boolean AutoRenewFlag)
Set 是否自动续费, 默认不自动续费. 该参数仅包年包月生效- Parameters:
AutoRenewFlag- 是否自动续费, 默认不自动续费. 该参数仅包年包月生效
-
getAutoProtectOpenConfig
public String getAutoProtectOpenConfig()
Get 该字段作废- Returns:
- AutoProtectOpenConfig 该字段作废
-
setAutoProtectOpenConfig
public void setAutoProtectOpenConfig(String AutoProtectOpenConfig)
Set 该字段作废- Parameters:
AutoProtectOpenConfig- 该字段作废
-
getModifyConfig
public OrderModifyObject getModifyConfig()
Get 变配参数- Returns:
- ModifyConfig 变配参数
-
setModifyConfig
public void setModifyConfig(OrderModifyObject ModifyConfig)
Set 变配参数- Parameters:
ModifyConfig- 变配参数
-
-