public class SalePackageSpec extends AbstractModel
header, skipSign
Constructor and Description |
---|
SalePackageSpec() |
SalePackageSpec(SalePackageSpec 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 |
getExpireDay()
Get Validity period of a resource pack in days Note: This field may return null, indicating that no valid values can be obtained.
|
Float |
getMaxPackageSpec()
Get Maximum number of resources for the current edition of the resource pack.
|
Float |
getMinPackageSpec()
Get Minimum number of resources for the current edition of the resource pack.
|
String |
getPackageRegion()
Get Region of the resource pack Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPackageType()
Get Resource pack type.
|
String |
getPackageVersion()
Get Resource pack edition.
|
void |
setExpireDay(Long ExpireDay)
Set Validity period of a resource pack in days Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMaxPackageSpec(Float MaxPackageSpec)
Set Maximum number of resources for the current edition of the resource pack.
|
void |
setMinPackageSpec(Float MinPackageSpec)
Set Minimum number of resources for the current edition of the resource pack.
|
void |
setPackageRegion(String PackageRegion)
Set Region of the resource pack Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPackageType(String PackageType)
Set Resource pack type.
|
void |
setPackageVersion(String PackageVersion)
Set Resource pack edition.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SalePackageSpec()
public SalePackageSpec(SalePackageSpec source)
public String getPackageRegion()
public void setPackageRegion(String PackageRegion)
PackageRegion
- Region of the resource pack 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 getPackageVersion()
public void setPackageVersion(String PackageVersion)
PackageVersion
- Resource pack edition. Valid values: `base` (basic edition), `common` (general edition), `enterprise` (enterprise edition). Note: This field may return null, indicating that no valid values can be obtained.public Float getMinPackageSpec()
public void setMinPackageSpec(Float MinPackageSpec)
MinPackageSpec
- Minimum number of resources for the current edition of the resource pack. Unit of the compute resources: pcs. Unit of the storage resources: GB. Note: This field may return null, indicating that no valid values can be obtained.public Float getMaxPackageSpec()
public void setMaxPackageSpec(Float MaxPackageSpec)
MaxPackageSpec
- Maximum number of resources for the current edition of the resource pack. Unit of the compute resources: pcs. Unit of the storage resources: GB. Note: This field may return null, indicating that no valid values can be obtained.public Long getExpireDay()
public void setExpireDay(Long ExpireDay)
ExpireDay
- Validity period of a resource pack in days Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.