public class MobileDeviceSessionLogInfo extends DeviceSessionLogInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
MobileDeviceSessionLogInfo.Builder
Builder for
MobileDeviceSessionLogInfo. |
| Modifier and Type | Field and Description |
|---|---|
protected MobileClientPlatform |
clientType |
protected java.lang.String |
clientVersion |
protected java.lang.String |
deviceName |
protected java.lang.String |
lastCarrier |
protected java.lang.String |
osVersion |
protected MobileSessionLogInfo |
sessionInfo |
created, ipAddress, updated| Constructor and Description |
|---|
MobileDeviceSessionLogInfo(java.lang.String deviceName,
MobileClientPlatform clientType)
Information about linked Dropbox mobile client sessions
|
MobileDeviceSessionLogInfo(java.lang.String deviceName,
MobileClientPlatform clientType,
java.lang.String ipAddress,
java.util.Date created,
java.util.Date updated,
MobileSessionLogInfo sessionInfo,
java.lang.String clientVersion,
java.lang.String osVersion,
java.lang.String lastCarrier)
Information about linked Dropbox mobile client sessions
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MobileClientPlatform |
getClientType()
The mobile application type.
|
java.lang.String |
getClientVersion()
The Dropbox client version.
|
java.util.Date |
getCreated()
The time this session was created.
|
java.lang.String |
getDeviceName()
The device name.
|
java.lang.String |
getIpAddress()
The IP address of the last activity from this session.
|
java.lang.String |
getLastCarrier()
last carrier used by the device.
|
java.lang.String |
getOsVersion()
The hosting OS version.
|
MobileSessionLogInfo |
getSessionInfo()
Mobile session unique id.
|
java.util.Date |
getUpdated()
The time of the last activity from this session.
|
int |
hashCode() |
static MobileDeviceSessionLogInfo.Builder |
newBuilder(java.lang.String deviceName,
MobileClientPlatform clientType)
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
newBuilderprotected final MobileSessionLogInfo sessionInfo
protected final java.lang.String deviceName
protected final MobileClientPlatform clientType
protected final java.lang.String clientVersion
protected final java.lang.String osVersion
protected final java.lang.String lastCarrier
public MobileDeviceSessionLogInfo(java.lang.String deviceName,
MobileClientPlatform clientType,
java.lang.String ipAddress,
java.util.Date created,
java.util.Date updated,
MobileSessionLogInfo sessionInfo,
java.lang.String clientVersion,
java.lang.String osVersion,
java.lang.String lastCarrier)
Use newBuilder to create instances of this class without
specifying values for all optional fields.
deviceName - The device name. Must not be null.clientType - The mobile application type. Must not be null.ipAddress - The IP address of the last activity from this session.
Might be missing due to historical data gap.created - The time this session was created. Might be missing due
to historical data gap.updated - The time of the last activity from this session. Might be
missing due to historical data gap.sessionInfo - Mobile session unique id. Might be missing due to
historical data gap.clientVersion - The Dropbox client version.osVersion - The hosting OS version.lastCarrier - last carrier used by the device.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public MobileDeviceSessionLogInfo(java.lang.String deviceName,
MobileClientPlatform clientType)
The default values for unset fields will be used.
deviceName - The device name. Must not be null.clientType - The mobile application type. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public java.lang.String getDeviceName()
null.public MobileClientPlatform getClientType()
null.public java.lang.String getIpAddress()
getIpAddress in class DeviceSessionLogInfonull if not present.public java.util.Date getCreated()
getCreated in class DeviceSessionLogInfonull if not present.public java.util.Date getUpdated()
getUpdated in class DeviceSessionLogInfonull if not present.public MobileSessionLogInfo getSessionInfo()
null if not present.public java.lang.String getClientVersion()
null if not present.public java.lang.String getOsVersion()
null if not present.public java.lang.String getLastCarrier()
null if not present.public static MobileDeviceSessionLogInfo.Builder newBuilder(java.lang.String deviceName, MobileClientPlatform clientType)
deviceName - The device name. Must not be null.clientType - The mobile application type. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public int hashCode()
hashCode in class DeviceSessionLogInfopublic boolean equals(java.lang.Object obj)
equals in class DeviceSessionLogInfopublic java.lang.String toString()
toString in class DeviceSessionLogInfopublic java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline in class DeviceSessionLogInfo