Package com.dropbox.core.v2.teamlog
Class LegacyDeviceSessionLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
com.dropbox.core.v2.teamlog.LegacyDeviceSessionLogInfo
Information on sessions, in legacy format
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final Booleanprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final SessionLogInfoFields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
created, ipAddress, updated -
Constructor Summary
ConstructorsConstructorDescriptionInformation on sessions, in legacy formatLegacyDeviceSessionLogInfo(String ipAddress, Date created, Date updated, SessionLogInfo sessionInfo, String displayName, Boolean isEmmManaged, String platform, String macAddress, String osVersion, String deviceType, String clientVersion, String legacyUniqId) Information on sessions, in legacy format -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Dropbox client version.The time this session was created.Information on the hosting device type.The device name.The IP address of the last activity from this session.Is device managed by emm.Alternative unique device session id, instead of session id field.The mac address of the last activity from this session.The hosting OS version.Information on the hosting platform.Session unique id.The time of the last activity from this session.inthashCode()Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
sessionInfo
-
displayName
-
isEmmManaged
-
platform
-
macAddress
-
osVersion
-
deviceType
-
clientVersion
-
legacyUniqId
-
-
Constructor Details
-
LegacyDeviceSessionLogInfo
public LegacyDeviceSessionLogInfo(@Nullable String ipAddress, @Nullable Date created, @Nullable Date updated, @Nullable SessionLogInfo sessionInfo, @Nullable String displayName, @Nullable Boolean isEmmManaged, @Nullable String platform, @Nullable String macAddress, @Nullable String osVersion, @Nullable String deviceType, @Nullable String clientVersion, @Nullable 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 Details
-
getIpAddress
The IP address of the last activity from this session.- Overrides:
getIpAddressin classDeviceSessionLogInfo- Returns:
- value for this field, or
nullif not present.
-
getCreated
The time this session was created.- Overrides:
getCreatedin classDeviceSessionLogInfo- Returns:
- value for this field, or
nullif not present.
-
getUpdated
The time of the last activity from this session.- Overrides:
getUpdatedin classDeviceSessionLogInfo- Returns:
- value for this field, or
nullif not present.
-
getSessionInfo
Session unique id.- Returns:
- value for this field, or
nullif not present.
-
getDisplayName
The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
getIsEmmManaged
Is device managed by emm. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
getPlatform
Information on the hosting platform. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
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.
-
getOsVersion
The hosting OS version. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
getDeviceType
Information on the hosting device type. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
getClientVersion
The Dropbox client version. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
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.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode()- Overrides:
hashCodein classDeviceSessionLogInfo
-
equals
- Overrides:
equalsin classDeviceSessionLogInfo
-
toString
- Overrides:
toStringin classDeviceSessionLogInfo
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultilinein classDeviceSessionLogInfo- Returns:
- Formatted, multiline String representation of this object
-