Package com.dropbox.core.v2.files
Class DeleteArg
java.lang.Object
com.dropbox.core.v2.files.DeleteArg
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
path
-
parentRev
-
-
Constructor Details
-
DeleteArg
- Parameters:
path- Path in the user's Dropbox to delete. Must match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/(.|[\\r\\n])*)?)|(id:.*)" and not benull.parentRev- Perform delete if given "rev" matches the existing file's latest "rev". This field does not support deleting a folder. Must have length of at least 9 and match pattern "[0-9a-f]+".- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
DeleteArg
NoneThe default values for unset fields will be used.
- Parameters:
path- Path in the user's Dropbox to delete. Must match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/(.|[\\r\\n])*)?)|(id:.*)" and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getPath
Path in the user's Dropbox to delete.- Returns:
- value for this field, never
null.
-
getParentRev
Perform delete if given "rev" matches the existing file's latest "rev". This field does not support deleting a folder.- Returns:
- value for this field, or
nullif not present.
-
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
-