Class PropertiesSearchMatch

java.lang.Object
com.dropbox.core.v2.fileproperties.PropertiesSearchMatch

public class PropertiesSearchMatch extends Object
  • Field Details

    • id

      @Nonnull protected final String id
    • path

      @Nonnull protected final String path
    • isDeleted

      protected final boolean isDeleted
    • propertyGroups

      @Nonnull protected final List<PropertyGroup> propertyGroups
  • Constructor Details

    • PropertiesSearchMatch

      public PropertiesSearchMatch(@Nonnull String id, @Nonnull String path, boolean isDeleted, @Nonnull List<PropertyGroup> propertyGroups)
      Parameters:
      id - The ID for the matched file or folder. Must have length of at least 1 and not be null.
      path - The path for the matched file or folder. Must not be null.
      isDeleted - Whether the file or folder is deleted.
      propertyGroups - List of custom property groups associated with the file. Must not contain a null item and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getId

      @Nonnull public String getId()
      The ID for the matched file or folder.
      Returns:
      value for this field, never null.
    • getPath

      @Nonnull public String getPath()
      The path for the matched file or folder.
      Returns:
      value for this field, never null.
    • getIsDeleted

      public boolean getIsDeleted()
      Whether the file or folder is deleted.
      Returns:
      value for this field.
    • getPropertyGroups

      @Nonnull public List<PropertyGroup> getPropertyGroups()
      List of custom property groups associated with the file.
      Returns:
      value for this field, never null.
    • 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