@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipaySystemOauthTokenResponseModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipaySystemOauthTokenResponseModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACCESS_TOKEN |
static String |
SERIALIZED_NAME_ALIPAY_USER_ID |
static String |
SERIALIZED_NAME_AUTH_START |
static String |
SERIALIZED_NAME_AUTH_TOKEN_TYPE |
static String |
SERIALIZED_NAME_EXPIRES_IN |
static String |
SERIALIZED_NAME_OPEN_ID |
static String |
SERIALIZED_NAME_RE_EXPIRES_IN |
static String |
SERIALIZED_NAME_REFRESH_TOKEN |
static String |
SERIALIZED_NAME_UNION_ID |
static String |
SERIALIZED_NAME_USER_ID |
| 构造器和说明 |
|---|
AlipaySystemOauthTokenResponseModel() |
public static final String SERIALIZED_NAME_ALIPAY_USER_ID
public static final String SERIALIZED_NAME_AUTH_TOKEN_TYPE
public AlipaySystemOauthTokenResponseModel accessToken(String accessToken)
public void setAccessToken(String accessToken)
public AlipaySystemOauthTokenResponseModel alipayUserId(String alipayUserId)
public void setAlipayUserId(String alipayUserId)
public AlipaySystemOauthTokenResponseModel authStart(String authStart)
public void setAuthStart(String authStart)
public AlipaySystemOauthTokenResponseModel authTokenType(String authTokenType)
@Nullable public String getAuthTokenType()
public void setAuthTokenType(String authTokenType)
public AlipaySystemOauthTokenResponseModel expiresIn(String expiresIn)
public void setExpiresIn(String expiresIn)
public AlipaySystemOauthTokenResponseModel openId(String openId)
public void setOpenId(String openId)
public AlipaySystemOauthTokenResponseModel reExpiresIn(String reExpiresIn)
public void setReExpiresIn(String reExpiresIn)
public AlipaySystemOauthTokenResponseModel refreshToken(String refreshToken)
@Nullable public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public AlipaySystemOauthTokenResponseModel unionId(String unionId)
@Nullable public String getUnionId()
public void setUnionId(String unionId)
public AlipaySystemOauthTokenResponseModel userId(String userId)
public void setUserId(String userId)
public AlipaySystemOauthTokenResponseModel 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 AlipaySystemOauthTokenResponseModelpublic static AlipaySystemOauthTokenResponseModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipaySystemOauthTokenResponseModelpublic String toJson()
Copyright © 2024. All rights reserved.