Class PropertiesSearchMatch
java.lang.Object
com.dropbox.core.v2.fileproperties.PropertiesSearchMatch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final booleanprotected final Stringprotected final List<PropertyGroup> -
Constructor Summary
ConstructorsConstructorDescriptionPropertiesSearchMatch(String id, String path, boolean isDeleted, List<PropertyGroup> propertyGroups) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()The ID for the matched file or folder.booleanWhether the file or folder is deleted.getPath()The path for the matched file or folder.List of custom property groups associated with the file.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
id
-
path
-
isDeleted
protected final boolean isDeleted -
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 benull.path- The path for the matched file or folder. Must not benull.isDeleted- Whether the file or folder is deleted.propertyGroups- List of custom property groups associated with the file. Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getId
The ID for the matched file or folder.- Returns:
- value for this field, never
null.
-
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
List of custom property groups associated with the file.- Returns:
- value for this field, never
null.
-
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
-