public class DescribeDBPriceResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeDBPriceResponse() |
DescribeDBPriceResponse(DescribeDBPriceResponse 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 |
|---|---|
String |
getCurrency()
Get Currency: `CNY`, `USD`.
|
Long |
getOriginalPrice()
Get Original price of the instance.
|
Long |
getPrice()
Get Instance price.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setCurrency(String Currency)
Set Currency: `CNY`, `USD`.
|
void |
setOriginalPrice(Long OriginalPrice)
Set Original price of the instance.
|
void |
setPrice(Long Price)
Set Instance price.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
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 DescribeDBPriceResponse()
public DescribeDBPriceResponse(DescribeDBPriceResponse source)
public Long getPrice()
public void setPrice(Long Price)
Price - Instance price. If `Currency` is set to `CNY`, the unit will be 0.01 CNY. If `Currency` is set to `USD`, the unit will be US Cent.public Long getOriginalPrice()
public void setOriginalPrice(Long OriginalPrice)
OriginalPrice - Original price of the instance. If `Currency` is set to `CNY`, the unit will be 0.01 CNY. If `Currency` is set to `USD`, the unit will be US Cent.public String getCurrency()
public void setCurrency(String Currency)
Currency - Currency: `CNY`, `USD`.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.