public class DescribePurchaseStateInfoResponse extends AbstractModel
| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getAuthorizedCoresCnt()Get Number of purchased cores
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getAuthorizedImageCnt()Get Number of licensed images
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getAutomaticRenewal()Get Valid values: `0` (initial status, which is the default value and not set by the user); `1` (auto-renewal); `2` (no auto-renewal, which is specified by the user). | 
| String | getBeginTime()Get Start time
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getCoresCnt()Get Total number of cores
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getExpirationTime()Get Expiration time
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getGivenAuthorizedCnt()Get Number of free image licenses during the trial, which may expire. | 
| Long | getImageCnt()Get Number of images
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getPurchasedAuthorizedCnt()Get Number of purchased image licenses
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getRequestId()Get The unique request ID, which is returned for each request. | 
| Long | getState()Get Valid values: `0` (available for trial and purchase); `1` (available for purchase only after failed trial review or trial expiration); `2` (trial effective); `3` (Pro Edition effective); `4` (Pro Edition expired). | 
| String | getSubState()Get Sub-status, the meaning of which is subject to the `State` field. | 
| void | setAuthorizedCoresCnt(Long AuthorizedCoresCnt)Set Number of purchased cores
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAuthorizedImageCnt(Long AuthorizedImageCnt)Set Number of licensed images
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAutomaticRenewal(Long AutomaticRenewal)Set Valid values: `0` (initial status, which is the default value and not set by the user); `1` (auto-renewal); `2` (no auto-renewal, which is specified by the user). | 
| void | setBeginTime(String BeginTime)Set Start time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCoresCnt(Long CoresCnt)Set Total number of cores
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setExpirationTime(String ExpirationTime)Set Expiration time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setGivenAuthorizedCnt(Long GivenAuthorizedCnt)Set Number of free image licenses during the trial, which may expire. | 
| void | setImageCnt(Long ImageCnt)Set Number of images
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)Set Number of purchased image licenses
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRequestId(String RequestId)Set The unique request ID, which is returned for each request. | 
| void | setState(Long State)Set Valid values: `0` (available for trial and purchase); `1` (available for purchase only after failed trial review or trial expiration); `2` (trial effective); `3` (Pro Edition effective); `4` (Pro Edition expired). | 
| void | setSubState(String SubState)Set Sub-status, the meaning of which is subject to the `State` field. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic DescribePurchaseStateInfoResponse()
public DescribePurchaseStateInfoResponse(DescribePurchaseStateInfoResponse source)
public Long getState()
public void setState(Long State)
State - Valid values: `0` (available for trial and purchase); `1` (available for purchase only after failed trial review or trial expiration); `2` (trial effective); `3` (Pro Edition effective); `4` (Pro Edition expired).public Long getCoresCnt()
public void setCoresCnt(Long CoresCnt)
CoresCnt - Total number of cores
Note: This field may return null, indicating that no valid values can be obtained.public Long getAuthorizedCoresCnt()
public void setAuthorizedCoresCnt(Long AuthorizedCoresCnt)
AuthorizedCoresCnt - Number of purchased cores
Note: This field may return null, indicating that no valid values can be obtained.public Long getImageCnt()
public void setImageCnt(Long ImageCnt)
ImageCnt - Number of images
Note: This field may return null, indicating that no valid values can be obtained.public Long getAuthorizedImageCnt()
public void setAuthorizedImageCnt(Long AuthorizedImageCnt)
AuthorizedImageCnt - Number of licensed images
Note: This field may return null, indicating that no valid values can be obtained.public Long getPurchasedAuthorizedCnt()
public void setPurchasedAuthorizedCnt(Long PurchasedAuthorizedCnt)
PurchasedAuthorizedCnt - Number of purchased image licenses
Note: This field may return null, indicating that no valid values can be obtained.public String getExpirationTime()
public void setExpirationTime(String ExpirationTime)
ExpirationTime - Expiration time
Note: This field may return null, indicating that no valid values can be obtained.public Long getAutomaticRenewal()
public void setAutomaticRenewal(Long AutomaticRenewal)
AutomaticRenewal - Valid values: `0` (initial status, which is the default value and not set by the user); `1` (auto-renewal); `2` (no auto-renewal, which is specified by the user).
Note: This field may return null, indicating that no valid values can be obtained.public Long getGivenAuthorizedCnt()
public void setGivenAuthorizedCnt(Long GivenAuthorizedCnt)
GivenAuthorizedCnt - Number of free image licenses during the trial, which may expire.
Note: This field may return null, indicating that no valid values can be obtained.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime - Start time
Note: This field may return null, indicating that no valid values can be obtained.public String getSubState()
public void setSubState(String SubState)
SubState - Sub-status, the meaning of which is subject to the `State` field.
Valid values when `State` is `4`: `ISOLATE` (isolated); `DESTROED` (terminated).
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.