@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class CardUserInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CardUserInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_USER_UNI_ID |
static String |
SERIALIZED_NAME_USER_UNI_ID_TYPE |
| 构造器和说明 |
|---|
CardUserInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static CardUserInfo |
fromJson(String jsonString)
Create an instance of CardUserInfo 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 |
getOpenId()
用户open_id
|
String |
getUserUniId()
用户唯一标识, 根据user_uni_id_type类型来定 (目前暂支持支付宝userId) 支付宝userId说明:支付宝用户号是以2088开头的16位纯数字组成
|
String |
getUserUniIdType()
用户唯一标识类型
|
int |
hashCode() |
CardUserInfo |
openId(String openId) |
CardUserInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setOpenId(String openId) |
void |
setUserUniId(String userUniId) |
void |
setUserUniIdType(String userUniIdType) |
String |
toJson()
Convert an instance of CardUserInfo to an JSON string
|
String |
toString() |
CardUserInfo |
userUniId(String userUniId) |
CardUserInfo |
userUniIdType(String userUniIdType) |
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_UNI_ID_TYPE
public CardUserInfo openId(String openId)
public void setOpenId(String openId)
public CardUserInfo userUniId(String userUniId)
@Nullable public String getUserUniId()
public void setUserUniId(String userUniId)
public CardUserInfo userUniIdType(String userUniIdType)
public void setUserUniIdType(String userUniIdType)
public CardUserInfo 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 CardUserInfopublic static CardUserInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to CardUserInfopublic String toJson()
Copyright © 2024. All rights reserved.