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 Summary
Nested Classes Modifier and Type Class Description static classDeviceUnlinkDetails.BuilderBuilder forDeviceUnlinkDetails.
-
Field Summary
Fields Modifier and Type Field Description protected booleandeleteDataprotected java.lang.StringdisplayNameprotected SessionLogInfosessionInfo
-
Constructor Summary
Constructors Constructor Description DeviceUnlinkDetails(boolean deleteData)Disconnected device.DeviceUnlinkDetails(boolean deleteData, SessionLogInfo sessionInfo, java.lang.String displayName)Disconnected device.
-
Method Summary
All 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
-
sessionInfo
protected final SessionLogInfo sessionInfo
-
displayName
protected final java.lang.String displayName
-
deleteData
protected final boolean deleteData
-
-
Constructor Detail
-
DeviceUnlinkDetails
public 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.
-
DeviceUnlinkDetails
public 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
-
getDeleteData
public boolean getDeleteData()
True if the user requested to delete data after device unlink, false otherwise.- Returns:
- value for this field.
-
getSessionInfo
public SessionLogInfo getSessionInfo()
Session unique id.- Returns:
- value for this field, or
nullif not present.
-
getDisplayName
public java.lang.String getDisplayName()
The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public 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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-