Class DeviceDeleteOnUnlinkFailDetails

java.lang.Object
com.dropbox.core.v2.teamlog.DeviceDeleteOnUnlinkFailDetails

public class DeviceDeleteOnUnlinkFailDetails extends Object
Failed to delete all files from unlinked device.
  • Field Details

    • sessionInfo

      @Nullable protected final SessionLogInfo sessionInfo
    • displayName

      @Nullable protected final String displayName
    • numFailures

      protected final long numFailures
  • Constructor Details

    • DeviceDeleteOnUnlinkFailDetails

      public DeviceDeleteOnUnlinkFailDetails(long numFailures, @Nullable SessionLogInfo sessionInfo, @Nullable 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 Details

    • getNumFailures

      public long getNumFailures()
      The number of times that remote file deletion failed.
      Returns:
      value for this field.
    • getSessionInfo

      @Nullable public SessionLogInfo getSessionInfo()
      Session unique id.
      Returns:
      value for this field, or null if not present.
    • getDisplayName

      @Nullable public 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 class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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