Class NewSessionJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.NewSessionJson
- All Implemented Interfaces:
Serializable
public class NewSessionJson extends BaseJson
Details of a new session that was created
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NewSessionJson()
-
Method Summary
Modifier and Type Method Description DeviceInfoJson
getDeviceInfo()
Device infoItemListJson<WorkspaceInfoJson>
getRooms()
Used to return the workspace list when prefetchRooms parameter was passed along with the login information.Integer
getServerRevision()
Server revisionString
getServerVersion()
Server versionString
getSsid()
Secure session tokenUserDataJson
getUserData()
Internal, do not use.void
setDeviceInfo(DeviceInfoJson deviceInfo)
Device infovoid
setRooms(ItemListJson<WorkspaceInfoJson> rooms)
Used to return the workspace list when prefetchRooms parameter was passed along with the login information.void
setServerRevision(Integer serverRevision)
Server revisionvoid
setServerVersion(String serverVersion)
Server versionvoid
setSsid(String ssid)
Secure session tokenvoid
setUserData(UserDataJson userData)
Internal, do not use.Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
NewSessionJson
public NewSessionJson()
-
-
Method Details
-
getServerVersion
Server version- Returns:
- Server version
-
setServerVersion
Server version- Parameters:
serverVersion
- Server version
-
getRooms
Used to return the workspace list when prefetchRooms parameter was passed along with the login information.- Returns:
- Used to return the workspace list when prefetchRooms parameter was passed along with the login information.
-
setRooms
Used to return the workspace list when prefetchRooms parameter was passed along with the login information.- Parameters:
rooms
- Used to return the workspace list when prefetchRooms parameter was passed along with the login information.
-
getUserData
Internal, do not use.- Returns:
- Internal, do not use.
-
setUserData
Internal, do not use.- Parameters:
userData
- Internal, do not use.
-
getServerRevision
Server revision- Returns:
- Server revision
-
setServerRevision
Server revision- Parameters:
serverRevision
- Server revision
-
getSsid
Secure session token- Returns:
- Secure session token
-
setSsid
Secure session token- Parameters:
ssid
- Secure session token
-
getDeviceInfo
Device info- Returns:
- Device info
-
setDeviceInfo
Device info- Parameters:
deviceInfo
- Device info
-