Package com.dropbox.core.v2.teamlog
Class DeviceUnlinkDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.DeviceUnlinkDetails
 
- 
 public class DeviceUnlinkDetails extends java.lang.ObjectDisconnected device.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDeviceUnlinkDetails.BuilderBuilder forDeviceUnlinkDetails.
 - 
Field SummaryFields Modifier and Type Field Description protected booleandeleteDataprotected java.lang.StringdisplayNameprotected SessionLogInfosessionInfo
 - 
Constructor SummaryConstructors Constructor Description DeviceUnlinkDetails(boolean deleteData)Disconnected device.DeviceUnlinkDetails(boolean deleteData, SessionLogInfo sessionInfo, java.lang.String displayName)Disconnected device.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetDeleteData()True if the user requested to delete data after device unlink, false otherwise.java.lang.StringgetDisplayName()The device name.SessionLogInfogetSessionInfo()Session unique id.inthashCode()static DeviceUnlinkDetails.BuildernewBuilder(boolean deleteData)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.
 
- 
- 
- 
Field Detail- 
sessionInfoprotected final SessionLogInfo sessionInfo 
 - 
displayNameprotected final java.lang.String displayName 
 - 
deleteDataprotected final boolean deleteData 
 
- 
 - 
Constructor Detail- 
DeviceUnlinkDetailspublic DeviceUnlinkDetails(boolean deleteData, SessionLogInfo sessionInfo, java.lang.String displayName)Disconnected device.Use newBuilder(boolean)to create instances of this class without specifying values for all optional fields.- Parameters:
- deleteData- True if the user requested to delete data after device unlink, false otherwise.
- sessionInfo- Session unique id.
- displayName- The device name. Might be missing due to historical data gap.
 
 - 
DeviceUnlinkDetailspublic DeviceUnlinkDetails(boolean deleteData) Disconnected device.The default values for unset fields will be used. - Parameters:
- deleteData- True if the user requested to delete data after device unlink, false otherwise.
 
 
- 
 - 
Method Detail- 
getDeleteDatapublic boolean getDeleteData() True if the user requested to delete data after device unlink, false otherwise.- Returns:
- value for this field.
 
 - 
getSessionInfopublic SessionLogInfo getSessionInfo() Session unique id.- Returns:
- value for this field, or nullif not present.
 
 - 
getDisplayNamepublic java.lang.String getDisplayName() The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static DeviceUnlinkDetails.Builder newBuilder(boolean deleteData) Returns a new builder for creating an instance of this class.- Parameters:
- deleteData- True if the user requested to delete data after device unlink, false otherwise.
- 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
 
 
- 
 
-