public class Package extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
Package()  | 
Package(Package 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 | 
getAppId()
Get AppID 
 | 
BindInstanceInfo[] | 
getBindInstanceInfos()
Get Specifies the bound instance information. 
 | 
String | 
getExpireTime()
Get Specifies the expiration time: 2022-08-01 00:00:00. 
 | 
Boolean | 
getHasQuota()
Get Whether there is inventory surplus. 
 | 
BindInstanceInfo[] | 
getHistoryBindResourceInfos()
Get Information of the instance historically bound (now unbound) to the resource pack. 
 | 
String | 
getPackageId()
Get The unique ID of the resource package. 
 | 
String | 
getPackageName()
Get Resource package name. 
 | 
String | 
getPackageRegion()
Get Resource package region of use. 
 | 
Float | 
getPackageTotalSpec()
Get Total resource package quantity. 
 | 
String | 
getPackageType()
Get Specifies the resource package type. 
 | 
Float | 
getPackageUsedSpec()
Get Used amount of resource package. 
 | 
String | 
getStartTime()
Get Specifies the effective time: 2022-07-01 00:00:00. 
 | 
String | 
getStatus()
Get Specifies the status of the resource package. 
 | 
void | 
setAppId(Long AppId)
Set AppID 
 | 
void | 
setBindInstanceInfos(BindInstanceInfo[] BindInstanceInfos)
Set Specifies the bound instance information. 
 | 
void | 
setExpireTime(String ExpireTime)
Set Specifies the expiration time: 2022-08-01 00:00:00. 
 | 
void | 
setHasQuota(Boolean HasQuota)
Set Whether there is inventory surplus. 
 | 
void | 
setHistoryBindResourceInfos(BindInstanceInfo[] HistoryBindResourceInfos)
Set Information of the instance historically bound (now unbound) to the resource pack. 
 | 
void | 
setPackageId(String PackageId)
Set The unique ID of the resource package. 
 | 
void | 
setPackageName(String PackageName)
Set Resource package name. 
 | 
void | 
setPackageRegion(String PackageRegion)
Set Resource package region of use. 
 | 
void | 
setPackageTotalSpec(Float PackageTotalSpec)
Set Total resource package quantity. 
 | 
void | 
setPackageType(String PackageType)
Set Specifies the resource package type. 
 | 
void | 
setPackageUsedSpec(Float PackageUsedSpec)
Set Used amount of resource package. 
 | 
void | 
setStartTime(String StartTime)
Set Specifies the effective time: 2022-07-01 00:00:00. 
 | 
void | 
setStatus(String Status)
Set Specifies the status of the resource package. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Package()
public Package(Package source)
public Long getAppId()
public void setAppId(Long AppId)
AppId - AppIDpublic String getPackageId()
public void setPackageId(String PackageId)
PackageId - The unique ID of the resource package.public String getPackageName()
public void setPackageName(String PackageName)
PackageName - Resource package name.public String getPackageType()
public void setPackageType(String PackageType)
PackageType - Specifies the resource package type.
CCU: compute resource package. DISK: storage resource package.public String getPackageRegion()
public void setPackageRegion(String PackageRegion)
PackageRegion - Resource package region of use.
China - common in the chinese mainland. overseas - universally applicable in hong kong (china), macao (china), taiwan (china), and overseas.public String getStatus()
public void setStatus(String Status)
Status - Specifies the status of the resource package.
creating - indicates that it is in the process of being created.
{using} specifies that it is in use.
expired-expired;.
normal_finish - specifies that it is used up.
`Apply_refund`: apply for a refund.
Specifies that the fee has been refunded.public Float getPackageTotalSpec()
public void setPackageTotalSpec(Float PackageTotalSpec)
PackageTotalSpec - Total resource package quantity.public Float getPackageUsedSpec()
public void setPackageUsedSpec(Float PackageUsedSpec)
PackageUsedSpec - Used amount of resource package.public Boolean getHasQuota()
public void setHasQuota(Boolean HasQuota)
HasQuota - Whether there is inventory surplus.public BindInstanceInfo[] getBindInstanceInfos()
public void setBindInstanceInfos(BindInstanceInfo[] BindInstanceInfos)
BindInstanceInfos - Specifies the bound instance information.public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Specifies the effective time: 2022-07-01 00:00:00.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - Specifies the expiration time: 2022-08-01 00:00:00.public BindInstanceInfo[] getHistoryBindResourceInfos()
public void setHistoryBindResourceInfos(BindInstanceInfo[] HistoryBindResourceInfos)
HistoryBindResourceInfos - Information of the instance historically bound (now unbound) to the resource pack.Copyright © 2025. All rights reserved.