public class LegacyDeviceSessionLogInfo extends DeviceSessionLogInfo
Modifier and Type | Class and Description |
---|---|
static class |
LegacyDeviceSessionLogInfo.Builder
Builder for
LegacyDeviceSessionLogInfo . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
clientVersion |
protected java.lang.String |
deviceType |
protected java.lang.String |
displayName |
protected java.lang.Boolean |
isEmmManaged |
protected java.lang.String |
legacyUniqId |
protected java.lang.String |
macAddress |
protected java.lang.String |
osVersion |
protected java.lang.String |
platform |
protected SessionLogInfo |
sessionInfo |
created, ipAddress, updated
Constructor and Description |
---|
LegacyDeviceSessionLogInfo()
Information on sessions, in legacy format
|
LegacyDeviceSessionLogInfo(java.lang.String ipAddress,
java.util.Date created,
java.util.Date updated,
SessionLogInfo sessionInfo,
java.lang.String displayName,
java.lang.Boolean isEmmManaged,
java.lang.String platform,
java.lang.String macAddress,
java.lang.String osVersion,
java.lang.String deviceType,
java.lang.String clientVersion,
java.lang.String legacyUniqId)
Information on sessions, in legacy format
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientVersion()
The Dropbox client version.
|
java.util.Date |
getCreated()
The time this session was created.
|
java.lang.String |
getDeviceType()
Information on the hosting device type.
|
java.lang.String |
getDisplayName()
The device name.
|
java.lang.String |
getIpAddress()
The IP address of the last activity from this session.
|
java.lang.Boolean |
getIsEmmManaged()
Is device managed by emm.
|
java.lang.String |
getLegacyUniqId()
Alternative unique device session id, instead of session id field.
|
java.lang.String |
getMacAddress()
The mac address of the last activity from this session.
|
java.lang.String |
getOsVersion()
The hosting OS version.
|
java.lang.String |
getPlatform()
Information on the hosting platform.
|
SessionLogInfo |
getSessionInfo()
Session unique id.
|
java.util.Date |
getUpdated()
The time of the last activity from this session.
|
int |
hashCode() |
static LegacyDeviceSessionLogInfo.Builder |
newBuilder()
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.
|
protected final SessionLogInfo sessionInfo
protected final java.lang.String displayName
protected final java.lang.Boolean isEmmManaged
protected final java.lang.String platform
protected final java.lang.String macAddress
protected final java.lang.String osVersion
protected final java.lang.String deviceType
protected final java.lang.String clientVersion
protected final java.lang.String legacyUniqId
public LegacyDeviceSessionLogInfo(java.lang.String ipAddress, java.util.Date created, java.util.Date updated, SessionLogInfo sessionInfo, java.lang.String displayName, java.lang.Boolean isEmmManaged, java.lang.String platform, java.lang.String macAddress, java.lang.String osVersion, java.lang.String deviceType, java.lang.String clientVersion, java.lang.String legacyUniqId)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
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
- Session unique id. Might be missing due to historical
data gap.displayName
- The device name. Might be missing due to historical
data gap.isEmmManaged
- Is device managed by emm. Might be missing due to
historical data gap.platform
- Information on the hosting platform. Might be missing
due to historical data gap.macAddress
- The mac address of the last activity from this
session. Might be missing due to historical data gap.osVersion
- The hosting OS version. Might be missing due to
historical data gap.deviceType
- Information on the hosting device type. Might be
missing due to historical data gap.clientVersion
- The Dropbox client version. Might be missing due to
historical data gap.legacyUniqId
- Alternative unique device session id, instead of
session id field. Might be missing due to historical data gap.public LegacyDeviceSessionLogInfo()
The default values for unset fields will be used.
public java.lang.String getIpAddress()
getIpAddress
in class DeviceSessionLogInfo
null
if not present.public java.util.Date getCreated()
getCreated
in class DeviceSessionLogInfo
null
if not present.public java.util.Date getUpdated()
getUpdated
in class DeviceSessionLogInfo
null
if not present.public SessionLogInfo getSessionInfo()
null
if not present.public java.lang.String getDisplayName()
null
if not present.public java.lang.Boolean getIsEmmManaged()
null
if not present.public java.lang.String getPlatform()
null
if not present.public java.lang.String getMacAddress()
null
if not present.public java.lang.String getOsVersion()
null
if not present.public java.lang.String getDeviceType()
null
if not present.public java.lang.String getClientVersion()
null
if not present.public java.lang.String getLegacyUniqId()
null
if not present.public static LegacyDeviceSessionLogInfo.Builder newBuilder()
public int hashCode()
hashCode
in class DeviceSessionLogInfo
public boolean equals(java.lang.Object obj)
equals
in class DeviceSessionLogInfo
public java.lang.String toString()
toString
in class DeviceSessionLogInfo
public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class DeviceSessionLogInfo