public class CreateLicenseOrderRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateLicenseOrderRequest() |
CreateLicenseOrderRequest(CreateLicenseOrderRequest 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 |
getAutoProtectOpenConfig()
Get This field is deprecated.
|
Boolean |
getAutoRenewFlag()
Get Whether to auto-renew.
|
Long |
getLicenseNum()
Get Authorization quantity: the number of units that need to be purchased
The default is 1.
|
Long |
getLicenseType()
Get Authorization type.
|
OrderModifyObject |
getModifyConfig()
Get Reconfiguration Parameters
|
Long |
getProjectId()
Get Project ID
The default is 0.
|
Long |
getRegionId()
Get Region of purchase order.
|
Tags[] |
getTags()
Get Tag array.
|
Long |
getTimeSpan()
Get Purchase duration, with a default value of 1.
|
void |
setAutoProtectOpenConfig(String AutoProtectOpenConfig)
Set This field is deprecated.
|
void |
setAutoRenewFlag(Boolean AutoRenewFlag)
Set Whether to auto-renew.
|
void |
setLicenseNum(Long LicenseNum)
Set Authorization quantity: the number of units that need to be purchased
The default is 1.
|
void |
setLicenseType(Long LicenseType)
Set Authorization type.
|
void |
setModifyConfig(OrderModifyObject ModifyConfig)
Set Reconfiguration Parameters
|
void |
setProjectId(Long ProjectId)
Set Project ID
The default is 0.
|
void |
setRegionId(Long RegionId)
Set Region of purchase order.
|
void |
setTags(Tags[] Tags)
Set Tag array.
|
void |
setTimeSpan(Long TimeSpan)
Set Purchase duration, with a default value of 1.
|
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 CreateLicenseOrderRequest()
public CreateLicenseOrderRequest(CreateLicenseOrderRequest source)
public Tags[] getTags()
public void setTags(Tags[] Tags)
Tags
- Tag array. Leaving it blank indicates no tags need to be bound.public Long getLicenseType()
public void setLicenseType(Long LicenseType)
LicenseType
- Authorization type. 0: Pro Edition-pay-as-you-go; 1: Pro Edition-monthly subscription; 2 - Ultimate Edition-monthly subscriptionThe default is 0.public Long getLicenseNum()
public void setLicenseNum(Long LicenseNum)
LicenseNum
- Authorization quantity: the number of units that need to be purchased
The default is 1.public Long getRegionId()
public void setRegionId(Long RegionId)
RegionId
- Region of purchase order. In this case, only 1 - Guangzhou and 9 - Singapore are supported. Guangzhou is recommended. Singapore region is reserved for allowlisted users.
The default is 1.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID
The default is 0.public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- Purchase duration, with a default value of 1. The optional values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36
This parameter is only valid for monthly subscription.public Boolean getAutoRenewFlag()
public void setAutoRenewFlag(Boolean AutoRenewFlag)
AutoRenewFlag
- Whether to auto-renew. The default is not to auto-renew.
This parameter is only valid for monthly subscription.public String getAutoProtectOpenConfig()
public void setAutoProtectOpenConfig(String AutoProtectOpenConfig)
AutoProtectOpenConfig
- This field is deprecated.public OrderModifyObject getModifyConfig()
public void setModifyConfig(OrderModifyObject ModifyConfig)
ModifyConfig
- Reconfiguration ParametersCopyright © 2025. All rights reserved.