@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AppTokenExchangeSubElement extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AppTokenExchangeSubElement.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_APP_AUTH_TOKEN |
static String |
SERIALIZED_NAME_APP_REFRESH_TOKEN |
static String |
SERIALIZED_NAME_AUTH_APP_ID |
static String |
SERIALIZED_NAME_EXPIRES_IN |
static String |
SERIALIZED_NAME_RE_EXPIRES_IN |
static String |
SERIALIZED_NAME_USER_ID |
| 构造器和说明 |
|---|
AppTokenExchangeSubElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
AppTokenExchangeSubElement |
appAuthToken(String appAuthToken) |
AppTokenExchangeSubElement |
appRefreshToken(String appRefreshToken) |
AppTokenExchangeSubElement |
authAppId(String authAppId) |
boolean |
equals(Object o) |
AppTokenExchangeSubElement |
expiresIn(String expiresIn) |
static AppTokenExchangeSubElement |
fromJson(String jsonString)
Create an instance of AppTokenExchangeSubElement 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 |
getAppAuthToken()
应用授权令牌
|
String |
getAppRefreshToken()
刷新令牌
|
String |
getAuthAppId()
授权商户appid
|
String |
getExpiresIn()
过期时间
|
String |
getReExpiresIn()
刷新令牌过期时间
|
String |
getUserId()
授权商户的user_id
|
int |
hashCode() |
AppTokenExchangeSubElement |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AppTokenExchangeSubElement |
reExpiresIn(String reExpiresIn) |
void |
setAppAuthToken(String appAuthToken) |
void |
setAppRefreshToken(String appRefreshToken) |
void |
setAuthAppId(String authAppId) |
void |
setExpiresIn(String expiresIn) |
void |
setReExpiresIn(String reExpiresIn) |
void |
setUserId(String userId) |
String |
toJson()
Convert an instance of AppTokenExchangeSubElement to an JSON string
|
String |
toString() |
AppTokenExchangeSubElement |
userId(String userId) |
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_APP_AUTH_TOKEN
public static final String SERIALIZED_NAME_APP_REFRESH_TOKEN
public AppTokenExchangeSubElement appAuthToken(String appAuthToken)
public void setAppAuthToken(String appAuthToken)
public AppTokenExchangeSubElement appRefreshToken(String appRefreshToken)
public void setAppRefreshToken(String appRefreshToken)
public AppTokenExchangeSubElement authAppId(String authAppId)
public void setAuthAppId(String authAppId)
public AppTokenExchangeSubElement expiresIn(String expiresIn)
public void setExpiresIn(String expiresIn)
public AppTokenExchangeSubElement reExpiresIn(String reExpiresIn)
public void setReExpiresIn(String reExpiresIn)
public AppTokenExchangeSubElement userId(String userId)
public void setUserId(String userId)
public AppTokenExchangeSubElement 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 AppTokenExchangeSubElementpublic static AppTokenExchangeSubElement fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AppTokenExchangeSubElementpublic String toJson()
Copyright © 2024. All rights reserved.