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 SummaryNested Classes Modifier and Type Class Description static classLegacyDeviceSessionLogInfo.BuilderBuilder forLegacyDeviceSessionLogInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringclientVersionprotected java.lang.StringdeviceTypeprotected java.lang.StringdisplayNameprotected java.lang.BooleanisEmmManagedprotected java.lang.StringlegacyUniqIdprotected java.lang.StringmacAddressprotected java.lang.StringosVersionprotected java.lang.Stringplatformprotected SessionLogInfosessionInfo- 
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfocreated, ipAddress, updated
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetClientVersion()The Dropbox client version.java.util.DategetCreated()The time this session was created.java.lang.StringgetDeviceType()Information on the hosting device type.java.lang.StringgetDisplayName()The device name.java.lang.StringgetIpAddress()The IP address of the last activity from this session.java.lang.BooleangetIsEmmManaged()Is device managed by emm.java.lang.StringgetLegacyUniqId()Alternative unique device session id, instead of session id field.java.lang.StringgetMacAddress()The mac address of the last activity from this session.java.lang.StringgetOsVersion()The hosting OS version.java.lang.StringgetPlatform()Information on the hosting platform.SessionLogInfogetSessionInfo()Session unique id.java.util.DategetUpdated()The time of the last activity from this session.inthashCode()static LegacyDeviceSessionLogInfo.BuildernewBuilder()Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
sessionInfoprotected final SessionLogInfo sessionInfo 
 - 
displayNameprotected final java.lang.String displayName 
 - 
isEmmManagedprotected final java.lang.Boolean isEmmManaged 
 - 
platformprotected final java.lang.String platform 
 - 
macAddressprotected final java.lang.String macAddress 
 - 
osVersionprotected final java.lang.String osVersion 
 - 
deviceTypeprotected final java.lang.String deviceType 
 - 
clientVersionprotected final java.lang.String clientVersion 
 - 
legacyUniqIdprotected final java.lang.String legacyUniqId 
 
- 
 - 
Constructor Detail- 
LegacyDeviceSessionLogInfopublic 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 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.
 
 - 
LegacyDeviceSessionLogInfopublic LegacyDeviceSessionLogInfo() Information on sessions, in legacy formatThe default values for unset fields will be used. 
 
- 
 - 
Method Detail- 
getIpAddresspublic java.lang.String getIpAddress() The IP address of the last activity from this session.- Overrides:
- getIpAddressin class- DeviceSessionLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getCreatedpublic java.util.Date getCreated() The time this session was created.- Overrides:
- getCreatedin class- DeviceSessionLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getUpdatedpublic java.util.Date getUpdated() The time of the last activity from this session.- Overrides:
- getUpdatedin class- DeviceSessionLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getSessionInfopublic SessionLogInfo getSessionInfo() Session unique id.- Returns:
- value for this field, or nullif not present.
 
 - 
getDisplayNamepublic java.lang.String getDisplayName() The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getIsEmmManagedpublic java.lang.Boolean getIsEmmManaged() Is device managed by emm. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getPlatformpublic java.lang.String getPlatform() Information on the hosting platform. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getMacAddresspublic 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 nullif not present.
 
 - 
getOsVersionpublic java.lang.String getOsVersion() The hosting OS version. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getDeviceTypepublic java.lang.String getDeviceType() Information on the hosting device type. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getClientVersionpublic java.lang.String getClientVersion() The Dropbox client version. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getLegacyUniqIdpublic 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 nullif not present.
 
 - 
newBuilderpublic static LegacyDeviceSessionLogInfo.Builder newBuilder() Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DeviceSessionLogInfo
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- DeviceSessionLogInfo
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- DeviceSessionLogInfo
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- DeviceSessionLogInfo
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-