Package com.dropbox.core.v2.teamlog
Class DeviceSessionLogInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
 
- 
- Direct Known Subclasses:
- DesktopDeviceSessionLogInfo,- LegacyDeviceSessionLogInfo,- MobileDeviceSessionLogInfo,- WebDeviceSessionLogInfo
 
 public class DeviceSessionLogInfo extends java.lang.ObjectDevice's session logged information.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDeviceSessionLogInfo.BuilderBuilder forDeviceSessionLogInfo.
 - 
Constructor SummaryConstructors 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.DategetCreated()The time this session was created.java.lang.StringgetIpAddress()The IP address of the last activity from this session.java.util.DategetUpdated()The time of the last activity from this session.inthashCode()static DeviceSessionLogInfo.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.
 
- 
- 
- 
Constructor Detail- 
DeviceSessionLogInfopublic 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.
- created- The time this session was created.
- updated- The time of the last activity from this session.
 
 - 
DeviceSessionLogInfopublic DeviceSessionLogInfo() Device's session logged information.The 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.- Returns:
- value for this field, or nullif not present.
 
 - 
getCreatedpublic java.util.Date getCreated() The time this session was created.- Returns:
- value for this field, or nullif not present.
 
 - 
getUpdatedpublic java.util.Date getUpdated() The time of the last activity from this session.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static DeviceSessionLogInfo.Builder newBuilder() Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-