Package com.dropbox.core.v2.teamlog
Class DeviceDeleteOnUnlinkFailDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DeviceDeleteOnUnlinkFailDetails
-
public class DeviceDeleteOnUnlinkFailDetails extends java.lang.Object
Failed to delete all files from unlinked device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeviceDeleteOnUnlinkFailDetails.Builder
Builder forDeviceDeleteOnUnlinkFailDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
displayName
protected long
numFailures
protected SessionLogInfo
sessionInfo
-
Constructor Summary
Constructors Constructor Description DeviceDeleteOnUnlinkFailDetails(long numFailures)
Failed to delete all files from unlinked device.DeviceDeleteOnUnlinkFailDetails(long numFailures, SessionLogInfo sessionInfo, java.lang.String displayName)
Failed to delete all files from unlinked device.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDisplayName()
The device name.long
getNumFailures()
The number of times that remote file deletion failed.SessionLogInfo
getSessionInfo()
Session unique id.int
hashCode()
static DeviceDeleteOnUnlinkFailDetails.Builder
newBuilder(long numFailures)
Returns a new builder for creating an instance of this class.java.lang.String
toString()
java.lang.String
toStringMultiline()
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
-
numFailures
protected final long numFailures
-
-
Constructor Detail
-
DeviceDeleteOnUnlinkFailDetails
public DeviceDeleteOnUnlinkFailDetails(long numFailures, SessionLogInfo sessionInfo, java.lang.String displayName)
Failed to delete all files from unlinked device.Use
newBuilder(long)
to create instances of this class without specifying values for all optional fields.- Parameters:
numFailures
- The number of times that remote file deletion failed.sessionInfo
- Session unique id.displayName
- The device name. Might be missing due to historical data gap.
-
DeviceDeleteOnUnlinkFailDetails
public DeviceDeleteOnUnlinkFailDetails(long numFailures)
Failed to delete all files from unlinked device.The default values for unset fields will be used.
- Parameters:
numFailures
- The number of times that remote file deletion failed.
-
-
Method Detail
-
getNumFailures
public long getNumFailures()
The number of times that remote file deletion failed.- Returns:
- value for this field.
-
getSessionInfo
public SessionLogInfo getSessionInfo()
Session unique id.- Returns:
- value for this field, or
null
if 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
null
if not present.
-
newBuilder
public static DeviceDeleteOnUnlinkFailDetails.Builder newBuilder(long numFailures)
Returns a new builder for creating an instance of this class.- Parameters:
numFailures
- The number of times that remote file deletion failed.- Returns:
- builder for this class.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-