Class NewSessionJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods 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.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getServerVersion
public String getServerVersion()
Server version- Returns:
- Server version
-
setServerVersion
public void setServerVersion(String serverVersion)
Server version- Parameters:
serverVersion
- Server version
-
getRooms
public ItemListJson<WorkspaceInfoJson> 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
public void setRooms(ItemListJson<WorkspaceInfoJson> rooms)
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
public UserDataJson getUserData()
Internal, do not use.- Returns:
- Internal, do not use.
-
setUserData
public void setUserData(UserDataJson userData)
Internal, do not use.- Parameters:
userData
- Internal, do not use.
-
getServerRevision
public Integer getServerRevision()
Server revision- Returns:
- Server revision
-
setServerRevision
public void setServerRevision(Integer serverRevision)
Server revision- Parameters:
serverRevision
- Server revision
-
getSsid
public String getSsid()
Secure session token- Returns:
- Secure session token
-
setSsid
public void setSsid(String ssid)
Secure session token- Parameters:
ssid
- Secure session token
-
getDeviceInfo
public DeviceInfoJson getDeviceInfo()
Device info- Returns:
- Device info
-
setDeviceInfo
public void setDeviceInfo(DeviceInfoJson deviceInfo)
Device info- Parameters:
deviceInfo
- Device info
-
-