Class LicenseDetail
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cwp.v20180228.models.LicenseDetail
-
public class LicenseDetail extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LicenseDetail()LicenseDetail(LicenseDetail 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 StringgetAlias()Get 资源别名LonggetAutoRenewFlag()Get 0 初始化,1 自动续费,2 不自动续费StringgetBuyTime()Get 购买时间StringgetDeadline()Get 截止日期LonggetFreezeNum()Get 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。LonggetLicenseCnt()Get 总授权数LonggetLicenseId()Get 授权IDLonggetLicenseStatus()Get 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。LonggetLicenseType()Get 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月LonggetOrderStatus()Get 订单状态 1 正常 2隔离, 3销毁LonggetProjectId()Get 项目IDStringgetResourceId()Get 订单资源IDLonggetSourceType()Get 是否试用订单.Tags[]getTags()Get 平台标签 注意:此字段可能返回 null,表示取不到有效值。LonggetTaskId()Get 任务ID ,默认0 ,查询绑定进度用LonggetUsedLicenseCnt()Get 已使用授权数voidsetAlias(String Alias)Set 资源别名voidsetAutoRenewFlag(Long AutoRenewFlag)Set 0 初始化,1 自动续费,2 不自动续费voidsetBuyTime(String BuyTime)Set 购买时间voidsetDeadline(String Deadline)Set 截止日期voidsetFreezeNum(Long FreezeNum)Set 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。voidsetLicenseCnt(Long LicenseCnt)Set 总授权数voidsetLicenseId(Long LicenseId)Set 授权IDvoidsetLicenseStatus(Long LicenseStatus)Set 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。voidsetLicenseType(Long LicenseType)Set 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月voidsetOrderStatus(Long OrderStatus)Set 订单状态 1 正常 2隔离, 3销毁voidsetProjectId(Long ProjectId)Set 项目IDvoidsetResourceId(String ResourceId)Set 订单资源IDvoidsetSourceType(Long SourceType)Set 是否试用订单.voidsetTags(Tags[] Tags)Set 平台标签 注意:此字段可能返回 null,表示取不到有效值。voidsetTaskId(Long TaskId)Set 任务ID ,默认0 ,查询绑定进度用voidsetUsedLicenseCnt(Long UsedLicenseCnt)Set 已使用授权数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
-
LicenseDetail
public LicenseDetail()
-
LicenseDetail
public LicenseDetail(LicenseDetail 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
-
getLicenseId
public Long getLicenseId()
Get 授权ID- Returns:
- LicenseId 授权ID
-
setLicenseId
public void setLicenseId(Long LicenseId)
Set 授权ID- Parameters:
LicenseId- 授权ID
-
getLicenseType
public Long getLicenseType()
Get 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月- Returns:
- LicenseType 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月
-
setLicenseType
public void setLicenseType(Long LicenseType)
Set 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月- Parameters:
LicenseType- 授权类型,0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月
-
getLicenseStatus
public Long getLicenseStatus()
Get 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LicenseStatus 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。
-
setLicenseStatus
public void setLicenseStatus(Long LicenseStatus)
Set 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LicenseStatus- 授权状态 0 未使用,1 部分使用, 2 已用完, 3 不可用 注意:此字段可能返回 null,表示取不到有效值。
-
getLicenseCnt
public Long getLicenseCnt()
Get 总授权数- Returns:
- LicenseCnt 总授权数
-
setLicenseCnt
public void setLicenseCnt(Long LicenseCnt)
Set 总授权数- Parameters:
LicenseCnt- 总授权数
-
getUsedLicenseCnt
public Long getUsedLicenseCnt()
Get 已使用授权数- Returns:
- UsedLicenseCnt 已使用授权数
-
setUsedLicenseCnt
public void setUsedLicenseCnt(Long UsedLicenseCnt)
Set 已使用授权数- Parameters:
UsedLicenseCnt- 已使用授权数
-
getOrderStatus
public Long getOrderStatus()
Get 订单状态 1 正常 2隔离, 3销毁- Returns:
- OrderStatus 订单状态 1 正常 2隔离, 3销毁
-
setOrderStatus
public void setOrderStatus(Long OrderStatus)
Set 订单状态 1 正常 2隔离, 3销毁- Parameters:
OrderStatus- 订单状态 1 正常 2隔离, 3销毁
-
getDeadline
public String getDeadline()
Get 截止日期- Returns:
- Deadline 截止日期
-
setDeadline
public void setDeadline(String Deadline)
Set 截止日期- Parameters:
Deadline- 截止日期
-
getResourceId
public String getResourceId()
Get 订单资源ID- Returns:
- ResourceId 订单资源ID
-
setResourceId
public void setResourceId(String ResourceId)
Set 订单资源ID- Parameters:
ResourceId- 订单资源ID
-
getAutoRenewFlag
public Long getAutoRenewFlag()
Get 0 初始化,1 自动续费,2 不自动续费- Returns:
- AutoRenewFlag 0 初始化,1 自动续费,2 不自动续费
-
setAutoRenewFlag
public void setAutoRenewFlag(Long AutoRenewFlag)
Set 0 初始化,1 自动续费,2 不自动续费- Parameters:
AutoRenewFlag- 0 初始化,1 自动续费,2 不自动续费
-
getProjectId
public Long getProjectId()
Get 项目ID- Returns:
- ProjectId 项目ID
-
setProjectId
public void setProjectId(Long ProjectId)
Set 项目ID- Parameters:
ProjectId- 项目ID
-
getTaskId
public Long getTaskId()
Get 任务ID ,默认0 ,查询绑定进度用- Returns:
- TaskId 任务ID ,默认0 ,查询绑定进度用
-
setTaskId
public void setTaskId(Long TaskId)
Set 任务ID ,默认0 ,查询绑定进度用- Parameters:
TaskId- 任务ID ,默认0 ,查询绑定进度用
-
getBuyTime
public String getBuyTime()
Get 购买时间- Returns:
- BuyTime 购买时间
-
setBuyTime
public void setBuyTime(String BuyTime)
Set 购买时间- Parameters:
BuyTime- 购买时间
-
getSourceType
public Long getSourceType()
Get 是否试用订单.- Returns:
- SourceType 是否试用订单.
-
setSourceType
public void setSourceType(Long SourceType)
Set 是否试用订单.- Parameters:
SourceType- 是否试用订单.
-
getAlias
public String getAlias()
Get 资源别名- Returns:
- Alias 资源别名
-
setAlias
public void setAlias(String Alias)
Set 资源别名- Parameters:
Alias- 资源别名
-
getTags
public Tags[] getTags()
Get 平台标签 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Tags 平台标签 注意:此字段可能返回 null,表示取不到有效值。
-
setTags
public void setTags(Tags[] Tags)
Set 平台标签 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Tags- 平台标签 注意:此字段可能返回 null,表示取不到有效值。
-
getFreezeNum
public Long getFreezeNum()
Get 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FreezeNum 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。
-
setFreezeNum
public void setFreezeNum(Long FreezeNum)
Set 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FreezeNum- 冻结数,当为0时 为未冻结,非0 则表示冻结授权数额 注意:此字段可能返回 null,表示取不到有效值。
-
-