public class Package extends AbstractModel
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 Note: This field may return null, indicating that no valid values can be obtained.
|
BindInstanceInfo[] |
getBindInstanceInfos()
Get Information of the instance bound Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getExpireTime()
Get Validity time: 2022-08-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getHasQuota()
Get Remaining usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPackageId()
Get The unique ID of a resource pack Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPackageName()
Get Resource pack name Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPackageRegion()
Get Region of the resource pack.
|
Float |
getPackageTotalSpec()
Get Total number of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPackageType()
Get Resource pack type.
|
Float |
getPackageUsedSpec()
Get Consumed usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStartTime()
Get Validity time: 2022-07-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStatus()
Get Resource pack status.
|
void |
setAppId(Long AppId)
Set AppID Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setBindInstanceInfos(BindInstanceInfo[] BindInstanceInfos)
Set Information of the instance bound Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExpireTime(String ExpireTime)
Set Validity time: 2022-08-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setHasQuota(Boolean HasQuota)
Set Remaining usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPackageId(String PackageId)
Set The unique ID of a resource pack Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPackageName(String PackageName)
Set Resource pack name Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPackageRegion(String PackageRegion)
Set Region of the resource pack.
|
void |
setPackageTotalSpec(Float PackageTotalSpec)
Set Total number of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPackageType(String PackageType)
Set Resource pack type.
|
void |
setPackageUsedSpec(Float PackageUsedSpec)
Set Consumed usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStartTime(String StartTime)
Set Validity time: 2022-07-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(String Status)
Set Resource pack status.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Package()
public Package(Package source)
public Long getAppId()
public void setAppId(Long AppId)
AppId
- AppID Note: This field may return null, indicating that no valid values can be obtained.public String getPackageId()
public void setPackageId(String PackageId)
PackageId
- The unique ID of a resource pack Note: This field may return null, indicating that no valid values can be obtained.public String getPackageName()
public void setPackageName(String PackageName)
PackageName
- Resource pack name Note: This field may return null, indicating that no valid values can be obtained.public String getPackageType()
public void setPackageType(String PackageType)
PackageType
- Resource pack type. Valid values: `CCU` (compute resource pack), `DISK` (storage resource pack). Note: This field may return null, indicating that no valid values can be obtained.public String getPackageRegion()
public void setPackageRegion(String PackageRegion)
PackageRegion
- Region of the resource pack. Valid values: `China` (Chinese mainland), `overseas` (outside Chinese mainland). Note: This field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status
- Resource pack status. Valid values: `creating`, `using`, `expired`, `normal_finish` (used up), `apply_refund` (requesting a refund), `refund` (refunded).
Note: This field may return null, indicating that no valid values can be obtained.public Float getPackageTotalSpec()
public void setPackageTotalSpec(Float PackageTotalSpec)
PackageTotalSpec
- Total number of resource packs Note: This field may return null, indicating that no valid values can be obtained.public Float getPackageUsedSpec()
public void setPackageUsedSpec(Float PackageUsedSpec)
PackageUsedSpec
- Consumed usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.public Boolean getHasQuota()
public void setHasQuota(Boolean HasQuota)
HasQuota
- Remaining usage of resource packs Note: This field may return null, indicating that no valid values can be obtained.public BindInstanceInfo[] getBindInstanceInfos()
public void setBindInstanceInfos(BindInstanceInfo[] BindInstanceInfos)
BindInstanceInfos
- Information of the instance bound Note: This field may return null, indicating that no valid values can be obtained.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Validity time: 2022-07-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Validity time: 2022-08-01 00:00:00 Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.