Class GetOrRefreshAccessTokenResponseJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.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
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 typeMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
GetOrRefreshAccessTokenResponseJson
public GetOrRefreshAccessTokenResponseJson()
-
-
Method Details
-
getAccess_token
The access token- Returns:
- The access token
-
setAccess_token
The access token- Parameters:
access_token
- The access token
-
getRefresh_token
The refresh token- Returns:
- The refresh token
-
setRefresh_token
The refresh token- Parameters:
refresh_token
- The refresh token
-
getError_description
Error description- Returns:
- Error description
-
setError_description
Error description- Parameters:
error_description
- Error description
-
getError
Error- Returns:
- Error
-
setError
Error- Parameters:
error
- Error
-
getToken_type
Token type- Returns:
- Token type
-
setToken_type
Token type- Parameters:
token_type
- Token type
-
getExpires_in
-
setExpires_in
-