Class DeviceSessionLogInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Date created  
      protected java.lang.String ipAddress  
      protected java.util.Date updated  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceSessionLogInfo()
      Device's session logged information.
      DeviceSessionLogInfo​(java.lang.String ipAddress, java.util.Date created, java.util.Date updated)
      Device's session logged information.
    • Field Detail

      • ipAddress

        protected final java.lang.String ipAddress
      • created

        protected final java.util.Date created
      • updated

        protected final java.util.Date updated
    • Constructor Detail

      • DeviceSessionLogInfo

        public DeviceSessionLogInfo​(java.lang.String ipAddress,
                                    java.util.Date created,
                                    java.util.Date updated)
        Device's session logged information.

        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. 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.
      • DeviceSessionLogInfo

        public DeviceSessionLogInfo()
        Device's session logged information.

        The default values for unset fields will be used.

    • Method Detail

      • getIpAddress

        public java.lang.String getIpAddress()
        The IP 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.
      • getCreated

        public java.util.Date getCreated()
        The time this session was created. Might be missing due to historical data gap.
        Returns:
        value for this field, or null if not present.
      • getUpdated

        public java.util.Date getUpdated()
        The time 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.
      • newBuilder

        public static DeviceSessionLogInfo.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 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringMultiline

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

        The returned String may contain newlines.

        Returns:
        Formatted, multiline String representation of this object