Class GetOrRefreshAccessTokenResponseJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.GetOrRefreshAccessTokenResponseJson
-
- All Implemented Interfaces:
Serializable
public class GetOrRefreshAccessTokenResponseJson extends BaseJson
Response from getting information about an access token that needs to be obtained or refreshed- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetOrRefreshAccessTokenResponseJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccess_token()
The access tokenString
getError()
ErrorString
getError_description()
Error descriptionLong
getExpires_in()
String
getRefresh_token()
The refresh tokenString
getToken_type()
Token typevoid
setAccess_token(String access_token)
The access tokenvoid
setError(String error)
Errorvoid
setError_description(String error_description)
Error descriptionvoid
setExpires_in(Long expires_in)
void
setRefresh_token(String refresh_token)
The refresh tokenvoid
setToken_type(String token_type)
Token type-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getAccess_token
public String getAccess_token()
The access token- Returns:
- The access token
-
setAccess_token
public void setAccess_token(String access_token)
The access token- Parameters:
access_token
- The access token
-
getRefresh_token
public String getRefresh_token()
The refresh token- Returns:
- The refresh token
-
setRefresh_token
public void setRefresh_token(String refresh_token)
The refresh token- Parameters:
refresh_token
- The refresh token
-
getError_description
public String getError_description()
Error description- Returns:
- Error description
-
setError_description
public void setError_description(String error_description)
Error description- Parameters:
error_description
- Error description
-
getToken_type
public String getToken_type()
Token type- Returns:
- Token type
-
setToken_type
public void setToken_type(String token_type)
Token type- Parameters:
token_type
- Token type
-
getError
public String getError()
Error- Returns:
- Error
-
setError
public void setError(String error)
Error- Parameters:
error
- Error
-
getExpires_in
public Long getExpires_in()
-
setExpires_in
public void setExpires_in(Long expires_in)
-
-