@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ContactModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ContactModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTACT_EMAIL |
static String |
SERIALIZED_NAME_CONTACT_MOBILE |
static String |
SERIALIZED_NAME_CONTACT_NAME |
| 构造器和说明 |
|---|
ContactModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
ContactModel |
contactEmail(String contactEmail) |
ContactModel |
contactMobile(String contactMobile) |
ContactModel |
contactName(String contactName) |
boolean |
equals(Object o) |
static ContactModel |
fromJson(String jsonString)
Create an instance of ContactModel 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 |
getContactEmail()
联系人邮箱
|
String |
getContactMobile()
联系人手机号码
|
String |
getContactName()
联系人名称
|
int |
hashCode() |
ContactModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setContactEmail(String contactEmail) |
void |
setContactMobile(String contactMobile) |
void |
setContactName(String contactName) |
String |
toJson()
Convert an instance of ContactModel 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 static final String SERIALIZED_NAME_CONTACT_MOBILE
public ContactModel contactEmail(String contactEmail)
public void setContactEmail(String contactEmail)
public ContactModel contactMobile(String contactMobile)
public void setContactMobile(String contactMobile)
public ContactModel contactName(String contactName)
public void setContactName(String contactName)
public ContactModel 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 ContactModelpublic static ContactModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ContactModelpublic String toJson()
Copyright © 2024. All rights reserved.