@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherSendRuleDetailModify extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherSendRuleDetailModify.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_NATURAL_PERSON_LIMIT |
static String |
SERIALIZED_NAME_PHONE_NUMBER_LIMIT |
static String |
SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER |
| 构造器和说明 |
|---|
VoucherSendRuleDetailModify() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static VoucherSendRuleDetailModify |
fromJson(String jsonString)
Create an instance of VoucherSendRuleDetailModify given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getNaturalPersonLimit()
是否开启自然人领取限制。
|
String |
getPhoneNumberLimit()
是否开启电话号码领取限制。
|
Integer |
getVoucherQuantityLimitPerUser()
每人领取限制。
|
int |
hashCode() |
VoucherSendRuleDetailModify |
naturalPersonLimit(Boolean naturalPersonLimit) |
VoucherSendRuleDetailModify |
phoneNumberLimit(String phoneNumberLimit) |
VoucherSendRuleDetailModify |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setNaturalPersonLimit(Boolean naturalPersonLimit) |
void |
setPhoneNumberLimit(String phoneNumberLimit) |
void |
setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
String |
toJson()
Convert an instance of VoucherSendRuleDetailModify to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
VoucherSendRuleDetailModify |
voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser) |
public static final String SERIALIZED_NAME_NATURAL_PERSON_LIMIT
public static final String SERIALIZED_NAME_PHONE_NUMBER_LIMIT
public static final String SERIALIZED_NAME_VOUCHER_QUANTITY_LIMIT_PER_USER
public VoucherSendRuleDetailModify naturalPersonLimit(Boolean naturalPersonLimit)
@Nullable public Boolean getNaturalPersonLimit()
public void setNaturalPersonLimit(Boolean naturalPersonLimit)
public VoucherSendRuleDetailModify phoneNumberLimit(String phoneNumberLimit)
@Nullable public String getPhoneNumberLimit()
public void setPhoneNumberLimit(String phoneNumberLimit)
public VoucherSendRuleDetailModify voucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
@Nullable public Integer getVoucherQuantityLimitPerUser()
public void setVoucherQuantityLimitPerUser(Integer voucherQuantityLimitPerUser)
public VoucherSendRuleDetailModify putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to VoucherSendRuleDetailModifypublic static VoucherSendRuleDetailModify fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherSendRuleDetailModifypublic String toJson()
Copyright © 2024. All rights reserved.