Package com.dropbox.core.v2.teamlog
Class DeviceUnlinkDetails
java.lang.Object
com.dropbox.core.v2.teamlog.DeviceUnlinkDetails
Disconnected device.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final Stringprotected final SessionLogInfo -
Constructor Summary
ConstructorsConstructorDescriptionDeviceUnlinkDetails(boolean deleteData) Disconnected device.DeviceUnlinkDetails(boolean deleteData, SessionLogInfo sessionInfo, String displayName) Disconnected device. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue if the user requested to delete data after device unlink, false otherwise.The device name.Session unique id.inthashCode()static DeviceUnlinkDetails.BuildernewBuilder(boolean deleteData) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
sessionInfo
-
displayName
-
deleteData
protected final boolean deleteData
-
-
Constructor Details
-
DeviceUnlinkDetails
public DeviceUnlinkDetails(boolean deleteData, @Nullable SessionLogInfo sessionInfo, @Nullable 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 Details
-
getDeleteData
public boolean getDeleteData()True if the user requested to delete data after device unlink, false otherwise.- Returns:
- value for this field.
-
getSessionInfo
Session unique id.- Returns:
- value for this field, or
nullif not present.
-
getDisplayName
The device name. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
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() -
equals
-
toString
-
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
-