public class CreateSubscribeRequest extends AbstractModel
| Constructor and Description |
|---|
CreateSubscribeRequest() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAutoRenew()
Get 是否自动续费,默认为0,1表示自动续费。小时计费实例设置该标识无效。
|
Long |
getCount()
Get 购买数量,默认为1,最大为10
|
Long |
getDuration()
Get 购买时长。PayType为0时必填。单位为月,最大支持120
|
Long |
getPayType()
Get 实例付费类型,1小时计费,0包年包月
|
String |
getProduct()
Get 订阅的数据库类型,目前支持的有 mysql
|
void |
setAutoRenew(Long AutoRenew)
Set 是否自动续费,默认为0,1表示自动续费。小时计费实例设置该标识无效。
|
void |
setCount(Long Count)
Set 购买数量,默认为1,最大为10
|
void |
setDuration(Long Duration)
Set 购买时长。PayType为0时必填。单位为月,最大支持120
|
void |
setPayType(Long PayType)
Set 实例付费类型,1小时计费,0包年包月
|
void |
setProduct(String Product)
Set 订阅的数据库类型,目前支持的有 mysql
|
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, toJsonStringpublic String getProduct()
public void setProduct(String Product)
Product - 订阅的数据库类型,目前支持的有 mysqlpublic Long getPayType()
public void setPayType(Long PayType)
PayType - 实例付费类型,1小时计费,0包年包月public Long getDuration()
public void setDuration(Long Duration)
Duration - 购买时长。PayType为0时必填。单位为月,最大支持120public Long getCount()
public void setCount(Long Count)
Count - 购买数量,默认为1,最大为10public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew - 是否自动续费,默认为0,1表示自动续费。小时计费实例设置该标识无效。Copyright © 2020. All rights reserved.