Package com.dropbox.core.v2.teamlog
Class LegacyDeviceSessionLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
-
- com.dropbox.core.v2.teamlog.LegacyDeviceSessionLogInfo
-
public class LegacyDeviceSessionLogInfo extends DeviceSessionLogInfo
Information on sessions, in legacy format
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LegacyDeviceSessionLogInfo.Builder
Builder forLegacyDeviceSessionLogInfo
.
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
created, ipAddress, updated
-
-
Constructor Summary
Constructors Constructor Description LegacyDeviceSessionLogInfo()
Information on sessions, in legacy formatLegacyDeviceSessionLogInfo(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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
sessionInfo
@Nullable protected final SessionLogInfo sessionInfo
-
displayName
@Nullable protected final java.lang.String displayName
-
isEmmManaged
@Nullable protected final java.lang.Boolean isEmmManaged
-
platform
@Nullable protected final java.lang.String platform
-
macAddress
@Nullable protected final java.lang.String macAddress
-
osVersion
@Nullable protected final java.lang.String osVersion
-
deviceType
@Nullable protected final java.lang.String deviceType
-
clientVersion
@Nullable protected final java.lang.String clientVersion
-
legacyUniqId
@Nullable protected final java.lang.String legacyUniqId
-
-
Constructor Detail
-
LegacyDeviceSessionLogInfo
public LegacyDeviceSessionLogInfo(@Nullable java.lang.String ipAddress, @Nullable java.util.Date created, @Nullable java.util.Date updated, @Nullable SessionLogInfo sessionInfo, @Nullable java.lang.String displayName, @Nullable java.lang.Boolean isEmmManaged, @Nullable java.lang.String platform, @Nullable java.lang.String macAddress, @Nullable java.lang.String osVersion, @Nullable java.lang.String deviceType, @Nullable java.lang.String clientVersion, @Nullable java.lang.String legacyUniqId)
Information on sessions, in legacy formatUse
newBuilder()
to create instances of this class without specifying values for all optional fields.- Parameters:
ipAddress
- The IP address of the last activity from this session.created
- The time this session was created.updated
- The time of the last activity from this session.sessionInfo
- Session unique id.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.
-
LegacyDeviceSessionLogInfo
public LegacyDeviceSessionLogInfo()
Information on sessions, in legacy formatThe default values for unset fields will be used.
-
-
Method Detail
-
getIpAddress
@Nullable public java.lang.String getIpAddress()
The IP address of the last activity from this session.- Overrides:
getIpAddress
in classDeviceSessionLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getCreated
@Nullable public java.util.Date getCreated()
The time this session was created.- Overrides:
getCreated
in classDeviceSessionLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getUpdated
@Nullable public java.util.Date getUpdated()
The time of the last activity from this session.- Overrides:
getUpdated
in classDeviceSessionLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getSessionInfo
@Nullable public SessionLogInfo getSessionInfo()
Session unique id.- Returns:
- value for this field, or
null
if not present.
-
getDisplayName
@Nullable public java.lang.String getDisplayName()
The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getIsEmmManaged
@Nullable public java.lang.Boolean getIsEmmManaged()
Is device managed by emm. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getPlatform
@Nullable public java.lang.String getPlatform()
Information on the hosting platform. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getMacAddress
@Nullable public java.lang.String getMacAddress()
The mac address of the last activity from this session. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getOsVersion
@Nullable public java.lang.String getOsVersion()
The hosting OS version. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getDeviceType
@Nullable public java.lang.String getDeviceType()
Information on the hosting device type. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getClientVersion
@Nullable public java.lang.String getClientVersion()
The Dropbox client version. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getLegacyUniqId
@Nullable public java.lang.String getLegacyUniqId()
Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static LegacyDeviceSessionLogInfo.Builder newBuilder()
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDeviceSessionLogInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classDeviceSessionLogInfo
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDeviceSessionLogInfo
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultiline
in classDeviceSessionLogInfo
- Returns:
- Formatted, multiline String representation of this object
-
-