@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ContactInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ContactInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMAIL |
static String |
SERIALIZED_NAME_ID_CARD_NO |
static String |
SERIALIZED_NAME_MOBILE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PHONE |
static String |
SERIALIZED_NAME_TAG |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
ContactInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ContactInfo |
addTagItem(String tagItem) |
ContactInfo |
email(String email) |
boolean |
equals(Object o) |
static ContactInfo |
fromJson(String jsonString)
Create an instance of ContactInfo 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 |
getEmail()
电子邮箱
|
String |
getIdCardNo()
身份证号
|
String |
getMobile()
手机号
|
String |
getName()
联系人名字
|
String |
getPhone()
电话
|
List<String> |
getTag()
商户联系人业务标识枚举,表示商户联系人的职责
|
String |
getType()
联系人类型,取值范围:LEGAL_PERSON:法人;CONTROLLER:实际控制人;AGENT:代理人;OTHER:其他
|
int |
hashCode() |
ContactInfo |
idCardNo(String idCardNo) |
ContactInfo |
mobile(String mobile) |
ContactInfo |
name(String name) |
ContactInfo |
phone(String phone) |
ContactInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEmail(String email) |
void |
setIdCardNo(String idCardNo) |
void |
setMobile(String mobile) |
void |
setName(String name) |
void |
setPhone(String phone) |
void |
setTag(List<String> tag) |
void |
setType(String type) |
ContactInfo |
tag(List<String> tag) |
String |
toJson()
Convert an instance of ContactInfo to an JSON string
|
String |
toString() |
ContactInfo |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public ContactInfo email(String email)
public void setEmail(String email)
public ContactInfo idCardNo(String idCardNo)
public void setIdCardNo(String idCardNo)
public ContactInfo mobile(String mobile)
public void setMobile(String mobile)
public ContactInfo name(String name)
public void setName(String name)
public ContactInfo phone(String phone)
public void setPhone(String phone)
public ContactInfo tag(List<String> tag)
public ContactInfo addTagItem(String tagItem)
public ContactInfo type(String type)
@Nullable public String getType()
public void setType(String type)
public ContactInfo 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 ContactInfopublic static ContactInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ContactInfopublic String toJson()
Copyright © 2024. All rights reserved.