public class CreateSubscribeRequest extends AbstractModel
Constructor and Description |
---|
CreateSubscribeRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenew()
Get Whether to auto-renew.
|
Long |
getCount()
Get Quantity.
|
Long |
getDuration()
Get Purchase duration in months, which is required if `PayType` is 0.
|
Long |
getPayType()
Get Instance billing mode, which is always 1 (hourly billing),
|
String |
getProduct()
Get Subscribed database type.
|
void |
setAutoRenew(Long AutoRenew)
Set Whether to auto-renew.
|
void |
setCount(Long Count)
Set Quantity.
|
void |
setDuration(Long Duration)
Set Purchase duration in months, which is required if `PayType` is 0.
|
void |
setPayType(Long PayType)
Set Instance billing mode, which is always 1 (hourly billing),
|
void |
setProduct(String Product)
Set Subscribed database type.
|
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, toJsonString
public String getProduct()
public void setProduct(String Product)
Product
- Subscribed database type. Currently, MySQL is supportedpublic Long getPayType()
public void setPayType(Long PayType)
PayType
- Instance billing mode, which is always 1 (hourly billing),public Long getDuration()
public void setDuration(Long Duration)
Duration
- Purchase duration in months, which is required if `PayType` is 0. Maximum value: 120 (this field is not required of global site users and is better to be hidden)public Long getCount()
public void setCount(Long Count)
Count
- Quantity. Default value: 1. Maximum value: 10public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- Whether to auto-renew. Default value: 0. This flag does not take effect for hourly billed instances (this field should be hidden from global site users)Copyright © 2020. All rights reserved.