@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class UserDetails extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UserDetails.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_USER_CHANGE_MOBILE |
static String |
SERIALIZED_NAME_USER_MOBILE |
static String |
SERIALIZED_NAME_USER_NAME |
static String |
SERIALIZED_NAME_USER_RELATION |
| 构造器和说明 |
|---|
UserDetails() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static UserDetails |
fromJson(String jsonString)
Create an instance of UserDetails 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 |
getUserChangeMobile()
用户变更手机号,替换旧的手机号
|
String |
getUserMobile()
孩子家长的手机号
|
String |
getUserName()
张三
|
String |
getUserRelation()
孩子与家长的关系: 1、爸爸 2、妈妈 3、爷爷 4、奶奶 5、外公 6、外婆 7、家长
|
int |
hashCode() |
UserDetails |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setUserChangeMobile(String userChangeMobile) |
void |
setUserMobile(String userMobile) |
void |
setUserName(String userName) |
void |
setUserRelation(String userRelation) |
String |
toJson()
Convert an instance of UserDetails to an JSON string
|
String |
toString() |
UserDetails |
userChangeMobile(String userChangeMobile) |
UserDetails |
userMobile(String userMobile) |
UserDetails |
userName(String userName) |
UserDetails |
userRelation(String userRelation) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_USER_CHANGE_MOBILE
public UserDetails userChangeMobile(String userChangeMobile)
@Nullable public String getUserChangeMobile()
public void setUserChangeMobile(String userChangeMobile)
public UserDetails userMobile(String userMobile)
public void setUserMobile(String userMobile)
public UserDetails userName(String userName)
public void setUserName(String userName)
public UserDetails userRelation(String userRelation)
@Nullable public String getUserRelation()
public void setUserRelation(String userRelation)
public UserDetails 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 UserDetailspublic static UserDetails fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to UserDetailspublic String toJson()
Copyright © 2024. All rights reserved.