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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getTokenExpired
public Boolean 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
public void setTokenExpired(Boolean tokenExpired)
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
public Boolean 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
public void setHasAccessToken(Boolean hasAccessToken)
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.
-
-