@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenAuthTokenAppModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenAuthTokenAppModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CODE |
static String |
SERIALIZED_NAME_GRANT_TYPE |
static String |
SERIALIZED_NAME_REFRESH_TOKEN |
| 构造器和说明 |
|---|
AlipayOpenAuthTokenAppModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenAuthTokenAppModel |
code(String code) |
boolean |
equals(Object o) |
static AlipayOpenAuthTokenAppModel |
fromJson(String jsonString)
Create an instance of AlipayOpenAuthTokenAppModel 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 |
getCode()
应用授权码,传入应用授权后得到的 app_auth_code。
|
String |
getGrantType()
授权方式。
|
String |
getRefreshToken()
刷新令牌,上次换取访问令牌时得到。
|
AlipayOpenAuthTokenAppModel |
grantType(String grantType) |
int |
hashCode() |
AlipayOpenAuthTokenAppModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AlipayOpenAuthTokenAppModel |
refreshToken(String refreshToken) |
void |
setCode(String code) |
void |
setGrantType(String grantType) |
void |
setRefreshToken(String refreshToken) |
String |
toJson()
Convert an instance of AlipayOpenAuthTokenAppModel 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 AlipayOpenAuthTokenAppModel code(String code)
@Nullable public String getCode()
public void setCode(String code)
public AlipayOpenAuthTokenAppModel grantType(String grantType)
@Nullable public String getGrantType()
public void setGrantType(String grantType)
public AlipayOpenAuthTokenAppModel refreshToken(String refreshToken)
@Nullable public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public AlipayOpenAuthTokenAppModel 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 AlipayOpenAuthTokenAppModelpublic static AlipayOpenAuthTokenAppModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenAuthTokenAppModelpublic String toJson()
Copyright © 2024. All rights reserved.