Class PropertyGroup
- java.lang.Object
- 
- com.dropbox.core.v2.fileproperties.PropertyGroup
 
- 
 public class PropertyGroup extends java.lang.ObjectA subset of the property fields described by the correspondingPropertyGroupTemplate. Properties are always added to a Dropbox file as aPropertyGroup. The possible key names and value types in this group are defined by the correspondingPropertyGroupTemplate.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPropertyGroup.SerializerFor internal use only.
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<PropertyField>fieldsprotected java.lang.StringtemplateId
 - 
Constructor SummaryConstructors Constructor Description PropertyGroup(java.lang.String templateId, java.util.List<PropertyField> fields)A subset of the property fields described by the correspondingPropertyGroupTemplate.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<PropertyField>getFields()The actual properties associated with the template.java.lang.StringgetTemplateId()A unique identifier for the associated template.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
templateIdprotected final java.lang.String templateId 
 - 
fieldsprotected final java.util.List<PropertyField> fields 
 
- 
 - 
Constructor Detail- 
PropertyGrouppublic PropertyGroup(java.lang.String templateId, java.util.List<PropertyField> fields)A subset of the property fields described by the correspondingPropertyGroupTemplate. Properties are always added to a Dropbox file as aPropertyGroup. The possible key names and value types in this group are defined by the correspondingPropertyGroupTemplate.- Parameters:
- templateId- A unique identifier for the associated template. Must have length of at least 1, match pattern "- (/|ptid:).*", and not be- null.
- fields- The actual properties associated with the template. There can be up to 32 property types per template. Must not contain a- nullitem and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getTemplateIdpublic java.lang.String getTemplateId() A unique identifier for the associated template.- Returns:
- value for this field, never null.
 
 - 
getFieldspublic java.util.List<PropertyField> getFields() The actual properties associated with the template. There can be up to 32 property types per template.- 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
 
 
- 
 
-