public class AddPropertiesArg
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AddPropertiesArg.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
path |
protected java.util.List<PropertyGroup> |
propertyGroups |
Constructor and Description |
---|
AddPropertiesArg(java.lang.String path,
java.util.List<PropertyGroup> propertyGroups) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPath()
A unique identifier for the file or folder.
|
java.util.List<PropertyGroup> |
getPropertyGroups()
The property groups which are to be added to a Dropbox file.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String path
protected final java.util.List<PropertyGroup> propertyGroups
public AddPropertiesArg(java.lang.String path, java.util.List<PropertyGroup> propertyGroups)
path
- A unique identifier for the file or folder. Must match
pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)
" and not be
null
.propertyGroups
- The property groups which are to be added to a
Dropbox file. No two groups in the input should refer to the same
template. Must not contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getPath()
null
.public java.util.List<PropertyGroup> getPropertyGroups()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.