Class RenewDBInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.models.RenewDBInstanceRequest
-
public class RenewDBInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RenewDBInstanceRequest()
RenewDBInstanceRequest(RenewDBInstanceRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAutoRenewFlag()
Get 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。Long
getAutoVoucher()
Get 是否自动使用代金券,0-不使用;1-使用;默认不使用String
getInstanceId()
Get 实例ID,形如mssql-j8kv137vLong
getPeriod()
Get 续费多少个月,取值范围为1-48,默认为1String[]
getVoucherIds()
Get 代金券ID数组,目前只支持使用1张代金券void
setAutoRenewFlag(Long AutoRenewFlag)
Set 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。void
setAutoVoucher(Long AutoVoucher)
Set 是否自动使用代金券,0-不使用;1-使用;默认不使用void
setInstanceId(String InstanceId)
Set 实例ID,形如mssql-j8kv137vvoid
setPeriod(Long Period)
Set 续费多少个月,取值范围为1-48,默认为1void
setVoucherIds(String[] VoucherIds)
Set 代金券ID数组,目前只支持使用1张代金券void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RenewDBInstanceRequest
public RenewDBInstanceRequest()
-
RenewDBInstanceRequest
public RenewDBInstanceRequest(RenewDBInstanceRequest 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例ID,形如mssql-j8kv137v- Returns:
- InstanceId 实例ID,形如mssql-j8kv137v
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID,形如mssql-j8kv137v- Parameters:
InstanceId
- 实例ID,形如mssql-j8kv137v
-
getPeriod
public Long getPeriod()
Get 续费多少个月,取值范围为1-48,默认为1- Returns:
- Period 续费多少个月,取值范围为1-48,默认为1
-
setPeriod
public void setPeriod(Long Period)
Set 续费多少个月,取值范围为1-48,默认为1- Parameters:
Period
- 续费多少个月,取值范围为1-48,默认为1
-
getAutoVoucher
public Long getAutoVoucher()
Get 是否自动使用代金券,0-不使用;1-使用;默认不使用- Returns:
- AutoVoucher 是否自动使用代金券,0-不使用;1-使用;默认不使用
-
setAutoVoucher
public void setAutoVoucher(Long AutoVoucher)
Set 是否自动使用代金券,0-不使用;1-使用;默认不使用- Parameters:
AutoVoucher
- 是否自动使用代金券,0-不使用;1-使用;默认不使用
-
getVoucherIds
public String[] getVoucherIds()
Get 代金券ID数组,目前只支持使用1张代金券- Returns:
- VoucherIds 代金券ID数组,目前只支持使用1张代金券
-
setVoucherIds
public void setVoucherIds(String[] VoucherIds)
Set 代金券ID数组,目前只支持使用1张代金券- Parameters:
VoucherIds
- 代金券ID数组,目前只支持使用1张代金券
-
getAutoRenewFlag
public Long getAutoRenewFlag()
Get 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。- Returns:
- AutoRenewFlag 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。
-
setAutoRenewFlag
public void setAutoRenewFlag(Long AutoRenewFlag)
Set 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。- Parameters:
AutoRenewFlag
- 续费标记 0:正常续费 1:自动续费:只用于按量计费转包年包月时有效。
-
-