Class DescribePurchaseStateInfoResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcss.v20201101.models.DescribePurchaseStateInfoResponse
-
public class DescribePurchaseStateInfoResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribePurchaseStateInfoResponse()DescribePurchaseStateInfoResponse(DescribePurchaseStateInfoResponse 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 LonggetAuthorizedCoresCnt()Get 已购买核数 注意:此字段可能返回 null,表示取不到有效值。LonggetAuthorizedImageCnt()Get 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。LonggetAutomaticRenewal()Get 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。StringgetBeginTime()Get 起始时间 注意:此字段可能返回 null,表示取不到有效值。LonggetCoresCnt()Get 总核数 注意:此字段可能返回 null,表示取不到有效值。StringgetExpirationTime()Get 过期时间 注意:此字段可能返回 null,表示取不到有效值。LonggetGivenAuthorizedCnt()Get 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。LonggetImageCnt()Get 镜像数 注意:此字段可能返回 null,表示取不到有效值。LonggetPurchasedAuthorizedCnt()Get 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。LonggetState()Get 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期StringgetSubState()Get 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。voidsetAuthorizedCoresCnt(Long AuthorizedCoresCnt)Set 已购买核数 注意:此字段可能返回 null,表示取不到有效值。voidsetAuthorizedImageCnt(Long AuthorizedImageCnt)Set 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。voidsetAutomaticRenewal(Long AutomaticRenewal)Set 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。voidsetBeginTime(String BeginTime)Set 起始时间 注意:此字段可能返回 null,表示取不到有效值。voidsetCoresCnt(Long CoresCnt)Set 总核数 注意:此字段可能返回 null,表示取不到有效值。voidsetExpirationTime(String ExpirationTime)Set 过期时间 注意:此字段可能返回 null,表示取不到有效值。voidsetGivenAuthorizedCnt(Long GivenAuthorizedCnt)Set 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。voidsetImageCnt(Long ImageCnt)Set 镜像数 注意:此字段可能返回 null,表示取不到有效值。voidsetPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)Set 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetState(Long State)Set 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期voidsetSubState(String SubState)Set 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。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
-
DescribePurchaseStateInfoResponse
public DescribePurchaseStateInfoResponse()
-
DescribePurchaseStateInfoResponse
public DescribePurchaseStateInfoResponse(DescribePurchaseStateInfoResponse 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
-
getState
public Long getState()
Get 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期- Returns:
- State 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期
-
setState
public void setState(Long State)
Set 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期- Parameters:
State- 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期
-
getCoresCnt
public Long getCoresCnt()
Get 总核数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CoresCnt 总核数 注意:此字段可能返回 null,表示取不到有效值。
-
setCoresCnt
public void setCoresCnt(Long CoresCnt)
Set 总核数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CoresCnt- 总核数 注意:此字段可能返回 null,表示取不到有效值。
-
getAuthorizedCoresCnt
public Long getAuthorizedCoresCnt()
Get 已购买核数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AuthorizedCoresCnt 已购买核数 注意:此字段可能返回 null,表示取不到有效值。
-
setAuthorizedCoresCnt
public void setAuthorizedCoresCnt(Long AuthorizedCoresCnt)
Set 已购买核数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AuthorizedCoresCnt- 已购买核数 注意:此字段可能返回 null,表示取不到有效值。
-
getImageCnt
public Long getImageCnt()
Get 镜像数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ImageCnt 镜像数 注意:此字段可能返回 null,表示取不到有效值。
-
setImageCnt
public void setImageCnt(Long ImageCnt)
Set 镜像数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ImageCnt- 镜像数 注意:此字段可能返回 null,表示取不到有效值。
-
getAuthorizedImageCnt
public Long getAuthorizedImageCnt()
Get 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AuthorizedImageCnt 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。
-
setAuthorizedImageCnt
public void setAuthorizedImageCnt(Long AuthorizedImageCnt)
Set 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AuthorizedImageCnt- 已授权镜像数 注意:此字段可能返回 null,表示取不到有效值。
-
getPurchasedAuthorizedCnt
public Long getPurchasedAuthorizedCnt()
Get 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PurchasedAuthorizedCnt 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。
-
setPurchasedAuthorizedCnt
public void setPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)
Set 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PurchasedAuthorizedCnt- 已购买镜像授权数 注意:此字段可能返回 null,表示取不到有效值。
-
getExpirationTime
public String getExpirationTime()
Get 过期时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExpirationTime 过期时间 注意:此字段可能返回 null,表示取不到有效值。
-
setExpirationTime
public void setExpirationTime(String ExpirationTime)
Set 过期时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExpirationTime- 过期时间 注意:此字段可能返回 null,表示取不到有效值。
-
getAutomaticRenewal
public Long getAutomaticRenewal()
Get 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AutomaticRenewal 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。
-
setAutomaticRenewal
public void setAutomaticRenewal(Long AutomaticRenewal)
Set 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AutomaticRenewal- 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置) 注意:此字段可能返回 null,表示取不到有效值。
-
getGivenAuthorizedCnt
public Long getGivenAuthorizedCnt()
Get 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GivenAuthorizedCnt 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。
-
setGivenAuthorizedCnt
public void setGivenAuthorizedCnt(Long GivenAuthorizedCnt)
Set 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GivenAuthorizedCnt- 试用期间赠送镜像授权数,可能会过期 注意:此字段可能返回 null,表示取不到有效值。
-
getBeginTime
public String getBeginTime()
Get 起始时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BeginTime 起始时间 注意:此字段可能返回 null,表示取不到有效值。
-
setBeginTime
public void setBeginTime(String BeginTime)
Set 起始时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BeginTime- 起始时间 注意:此字段可能返回 null,表示取不到有效值。
-
getSubState
public String getSubState()
Get 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SubState 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。
-
setSubState
public void setSubState(String SubState)
Set 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SubState- 子状态(具体意义依据State字段而定) State为4时,有效值为: ISOLATE(隔离) DESTROED(已销毁) 注意:此字段可能返回 null,表示取不到有效值。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-