Package com.dropbox.core.v2.teamlog
Class MobileDeviceSessionLogInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceSessionLogInfo
- 
- com.dropbox.core.v2.teamlog.MobileDeviceSessionLogInfo
 
 
- 
 public class MobileDeviceSessionLogInfo extends DeviceSessionLogInfo Information about linked Dropbox mobile client sessions
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMobileDeviceSessionLogInfo.BuilderBuilder forMobileDeviceSessionLogInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected MobileClientPlatformclientTypeprotected java.lang.StringclientVersionprotected java.lang.StringdeviceNameprotected java.lang.StringlastCarrierprotected java.lang.StringosVersionprotected MobileSessionLogInfosessionInfo- 
Fields inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfocreated, ipAddress, updated
 
- 
 - 
Constructor SummaryConstructors Constructor Description MobileDeviceSessionLogInfo(java.lang.String deviceName, MobileClientPlatform clientType)Information about linked Dropbox mobile client sessionsMobileDeviceSessionLogInfo(java.lang.String deviceName, MobileClientPlatform clientType, java.lang.String ipAddress, java.util.Date created, java.util.Date updated, MobileSessionLogInfo sessionInfo, java.lang.String clientVersion, java.lang.String osVersion, java.lang.String lastCarrier)Information about linked Dropbox mobile client sessions
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)MobileClientPlatformgetClientType()The mobile application type.java.lang.StringgetClientVersion()The Dropbox client version.java.util.DategetCreated()The time this session was created.java.lang.StringgetDeviceName()The device name.java.lang.StringgetIpAddress()The IP address of the last activity from this session.java.lang.StringgetLastCarrier()last carrier used by the device.java.lang.StringgetOsVersion()The hosting OS version.MobileSessionLogInfogetSessionInfo()Mobile session unique id.java.util.DategetUpdated()The time of the last activity from this session.inthashCode()static MobileDeviceSessionLogInfo.BuildernewBuilder(java.lang.String deviceName, MobileClientPlatform clientType)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.- 
Methods inherited from class com.dropbox.core.v2.teamlog.DeviceSessionLogInfonewBuilder
 
- 
 
- 
- 
- 
Field Detail- 
sessionInfoprotected final MobileSessionLogInfo sessionInfo 
 - 
deviceNameprotected final java.lang.String deviceName 
 - 
clientTypeprotected final MobileClientPlatform clientType 
 - 
clientVersionprotected final java.lang.String clientVersion 
 - 
osVersionprotected final java.lang.String osVersion 
 - 
lastCarrierprotected final java.lang.String lastCarrier 
 
- 
 - 
Constructor Detail- 
MobileDeviceSessionLogInfopublic MobileDeviceSessionLogInfo(java.lang.String deviceName, MobileClientPlatform clientType, java.lang.String ipAddress, java.util.Date created, java.util.Date updated, MobileSessionLogInfo sessionInfo, java.lang.String clientVersion, java.lang.String osVersion, java.lang.String lastCarrier)Information about linked Dropbox mobile client sessionsUse newBuilder(java.lang.String,com.dropbox.core.v2.team.MobileClientPlatform)to create instances of this class without specifying values for all optional fields.- Parameters:
- deviceName- The device name. Must not be- null.
- clientType- The mobile application type. Must not be- null.
- 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- Mobile session unique id.
- clientVersion- The Dropbox client version.
- osVersion- The hosting OS version.
- lastCarrier- last carrier used by the device.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
MobileDeviceSessionLogInfopublic MobileDeviceSessionLogInfo(java.lang.String deviceName, MobileClientPlatform clientType)Information about linked Dropbox mobile client sessionsThe default values for unset fields will be used. - Parameters:
- deviceName- The device name. Must not be- null.
- clientType- The mobile application type. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getDeviceNamepublic java.lang.String getDeviceName() The device name.- Returns:
- value for this field, never null.
 
 - 
getClientTypepublic MobileClientPlatform getClientType() The mobile application type.- Returns:
- value for this field, never null.
 
 - 
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 MobileSessionLogInfo getSessionInfo() Mobile session unique id.- Returns:
- value for this field, or nullif not present.
 
 - 
getClientVersionpublic java.lang.String getClientVersion() The Dropbox client version.- Returns:
- value for this field, or nullif not present.
 
 - 
getOsVersionpublic java.lang.String getOsVersion() The hosting OS version.- Returns:
- value for this field, or nullif not present.
 
 - 
getLastCarrierpublic java.lang.String getLastCarrier() last carrier used by the device.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static MobileDeviceSessionLogInfo.Builder newBuilder(java.lang.String deviceName, MobileClientPlatform clientType) Returns a new builder for creating an instance of this class.- Parameters:
- deviceName- The device name. Must not be- null.
- clientType- The mobile application type. Must not be- null.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
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
 
 
- 
 
-