Class CheckBoxAccessTokenResultJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.CheckBoxAccessTokenResultJson
- All Implemented Interfaces:
Serializable
public class CheckBoxAccessTokenResultJson extends BaseJson
Result of checking Box access token.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CheckBoxAccessTokenResultJson()
-
Method Summary
Modifier and Type Method Description Boolean
getHasAccessToken()
A flag to indicate if the Box access token exists or not.Boolean
getTokenExpired()
A flag to indicate if the Box refresh token expires or not.void
setHasAccessToken(Boolean hasAccessToken)
A flag to indicate if the Box access token exists or not.void
setTokenExpired(Boolean tokenExpired)
A flag to indicate if the Box refresh token expires or not.Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
CheckBoxAccessTokenResultJson
public CheckBoxAccessTokenResultJson()
-
-
Method Details
-
getTokenExpired
A flag to indicate if the Box refresh token expires or not. True if the refresh token expires.- Returns:
- A flag to indicate if the Box refresh token expires or not. True if the refresh token expires.
-
setTokenExpired
A flag to indicate if the Box refresh token expires or not. True if the refresh token expires.- Parameters:
tokenExpired
- A flag to indicate if the Box refresh token expires or not. True if the refresh token expires.
-
getHasAccessToken
A flag to indicate if the Box access token exists or not. True if the access token exists.- Returns:
- A flag to indicate if the Box access token exists or not. True if the access token exists.
-
setHasAccessToken
A flag to indicate if the Box access token exists or not. True if the access token exists.- Parameters:
hasAccessToken
- A flag to indicate if the Box access token exists or not. True if the access token exists.
-