@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class OpenFormFieldDO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OpenFormFieldDO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_OPTIONAL |
static String |
SERIALIZED_NAME_REQUIRED |
| 构造器和说明 |
|---|
OpenFormFieldDO() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static OpenFormFieldDO |
fromJson(String jsonString)
Create an instance of OpenFormFieldDO 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.
|
String |
getOptional()
表单可选字段配置,common_fields属性定义一个表单字段数组,表单字段有效值列表与required字段有效值列表相同。
|
String |
getRequired()
表单必填字段配置,common_fields属性定义一个表单字段数组,字段有效值如下列表所示: OPEN_FORM_FIELD_MOBILE -- 手机号 OPEN_FORM_FIELD_GENDER -- 性别 OPEN_FORM_FIELD_NAME -- 姓名 OPEN_FORM_FIELD_BIRTHDAY -- 生日 OPEN_FORM_FIELD_IDCARD -- 身份证 OPEN_FORM_FIELD_EMAIL -- 邮箱 OPEN_FORM_FIELD_ADDRESS -- 地址 OPEN_FORM_FIELD_CITY -- 城市 OPEN_FORM_FIELD_IS_STUDENT -- 是否学生认证 OPEN_FORM_FIELD_MEMBER_GRADE -- 会员等级
|
int |
hashCode() |
OpenFormFieldDO |
optional(String optional) |
OpenFormFieldDO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
OpenFormFieldDO |
required(String required) |
void |
setOptional(String optional) |
void |
setRequired(String required) |
String |
toJson()
Convert an instance of OpenFormFieldDO 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
|
public OpenFormFieldDO optional(String optional)
@Nullable public String getOptional()
public void setOptional(String optional)
public OpenFormFieldDO required(String required)
@Nullable public String getRequired()
public void setRequired(String required)
public OpenFormFieldDO 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 OpenFormFieldDOpublic static OpenFormFieldDO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to OpenFormFieldDOpublic String toJson()
Copyright © 2024. All rights reserved.