@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class RecruitEnrollRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RecruitEnrollRule.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MAX_SIZE |
static String |
SERIALIZED_NAME_MIN_SIZE |
static String |
SERIALIZED_NAME_REQUIRED |
static String |
SERIALIZED_NAME_RULE_DATA |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
RecruitEnrollRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static RecruitEnrollRule |
fromJson(String jsonString)
Create an instance of RecruitEnrollRule 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.
|
Integer |
getMaxSize()
最大数量
|
Integer |
getMinSize()
最小数量
|
Boolean |
getRequired()
是否必填
|
RecruitEnrollRuleData |
getRuleData()
Get ruleData
|
String |
getType()
招商报名时提交的内容类型: 券:VOUCHER; 小程序:MINI_APP; 报名商户:ENROLL_MERCHANT; 素材:MATERIAL; 活动城市:CITY;
|
int |
hashCode() |
RecruitEnrollRule |
maxSize(Integer maxSize) |
RecruitEnrollRule |
minSize(Integer minSize) |
RecruitEnrollRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RecruitEnrollRule |
required(Boolean required) |
RecruitEnrollRule |
ruleData(RecruitEnrollRuleData ruleData) |
void |
setMaxSize(Integer maxSize) |
void |
setMinSize(Integer minSize) |
void |
setRequired(Boolean required) |
void |
setRuleData(RecruitEnrollRuleData ruleData) |
void |
setType(String type) |
String |
toJson()
Convert an instance of RecruitEnrollRule to an JSON string
|
String |
toString() |
RecruitEnrollRule |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public RecruitEnrollRule maxSize(Integer maxSize)
public void setMaxSize(Integer maxSize)
public RecruitEnrollRule minSize(Integer minSize)
public void setMinSize(Integer minSize)
public RecruitEnrollRule required(Boolean required)
public void setRequired(Boolean required)
public RecruitEnrollRule ruleData(RecruitEnrollRuleData ruleData)
@Nullable public RecruitEnrollRuleData getRuleData()
public void setRuleData(RecruitEnrollRuleData ruleData)
public RecruitEnrollRule type(String type)
@Nullable public String getType()
public void setType(String type)
public RecruitEnrollRule 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 RecruitEnrollRulepublic static RecruitEnrollRule fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RecruitEnrollRulepublic String toJson()
Copyright © 2024. All rights reserved.