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
  • Field Details

    • sessionInfo

      @Nullable protected final SessionLogInfo sessionInfo
    • displayName

      @Nullable protected final String displayName
    • isEmmManaged

      @Nullable protected final Boolean isEmmManaged
    • platform

      @Nullable protected final String platform
    • macAddress

      @Nullable protected final String macAddress
    • osVersion

      @Nullable protected final String osVersion
    • deviceType

      @Nullable protected final String deviceType
    • clientVersion

      @Nullable protected final String clientVersion
    • legacyUniqId

      @Nullable protected final String 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 format

      Use 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 format

      The default values for unset fields will be used.

  • Method Details

    • getIpAddress

      @Nullable public String getIpAddress()
      The IP address of the last activity from this session.
      Overrides:
      getIpAddress in class DeviceSessionLogInfo
      Returns:
      value for this field, or null if not present.
    • getCreated

      @Nullable public Date getCreated()
      The time this session was created.
      Overrides:
      getCreated in class DeviceSessionLogInfo
      Returns:
      value for this field, or null if not present.
    • getUpdated

      @Nullable public Date getUpdated()
      The time of the last activity from this session.
      Overrides:
      getUpdated in class DeviceSessionLogInfo
      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 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 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 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 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 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 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 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 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 class DeviceSessionLogInfo
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class DeviceSessionLogInfo
    • toString

      public String toString()
      Overrides:
      toString in class DeviceSessionLogInfo
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class DeviceSessionLogInfo
      Returns:
      Formatted, multiline String representation of this object