Class PropertyField
- java.lang.Object
- 
- com.dropbox.core.v2.fileproperties.PropertyField
 
- 
 public class PropertyField extends java.lang.ObjectRaw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as aPropertyGroup.
- 
- 
Constructor SummaryConstructors Constructor Description PropertyField(java.lang.String name, java.lang.String value)Raw key/value data to be associated with a Dropbox file.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()Key of the property field associated with a file and template.java.lang.StringgetValue()Value of the property field associated with a file and template.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
PropertyFieldpublic PropertyField(java.lang.String name, java.lang.String value)Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as aPropertyGroup.- Parameters:
- name- Key of the property field associated with a file and template. Keys can be up to 256 bytes. Must not be- null.
- value- Value of the property field associated with a file and template. Values can be up to 1024 bytes. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Key of the property field associated with a file and template. Keys can be up to 256 bytes.- Returns:
- value for this field, never null.
 
 - 
getValuepublic java.lang.String getValue() Value of the property field associated with a file and template. Values can be up to 1024 bytes.- Returns:
- value for this field, never null.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.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
 
 
- 
 
-