public final class AddPropertiesError
extends java.lang.Object
isAbc() methods will
 return true. You can use tag() to determine the tag
 associated with this instance.| Modifier and Type | Class and Description | 
|---|---|
| static class  | AddPropertiesError.SerializerFor internal use only. | 
| static class  | AddPropertiesError.TagDiscriminating tag type for  AddPropertiesError. | 
| Modifier and Type | Field and Description | 
|---|---|
| static AddPropertiesError | DOES_NOT_FIT_TEMPLATEOne or more of the supplied property fields does not conform to the
 template specifications. | 
| static AddPropertiesError | OTHERCatch-all used for unknown tag values returned by the Dropbox servers. | 
| static AddPropertiesError | PROPERTY_FIELD_TOO_LARGEOne or more of the supplied property field values is too large. | 
| static AddPropertiesError | PROPERTY_GROUP_ALREADY_EXISTSA property group associated with this template and file already exists. | 
| static AddPropertiesError | RESTRICTED_CONTENTYou do not have permission to modify this template. | 
| static AddPropertiesError | UNSUPPORTED_FOLDERThis folder cannot be tagged. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| LookupError | getPathValue()This instance must be tagged as  AddPropertiesError.Tag.PATH. | 
| java.lang.String | getTemplateNotFoundValue()Template does not exist for the given identifier. | 
| int | hashCode() | 
| boolean | isDoesNotFitTemplate()Returns  trueif this instance has the tagAddPropertiesError.Tag.DOES_NOT_FIT_TEMPLATE,falseotherwise. | 
| boolean | isOther() | 
| boolean | isPath() | 
| boolean | isPropertyFieldTooLarge()Returns  trueif this instance has the tagAddPropertiesError.Tag.PROPERTY_FIELD_TOO_LARGE,falseotherwise. | 
| boolean | isPropertyGroupAlreadyExists()Returns  trueif this instance has the tagAddPropertiesError.Tag.PROPERTY_GROUP_ALREADY_EXISTS,falseotherwise. | 
| boolean | isRestrictedContent()Returns  trueif this instance has the tagAddPropertiesError.Tag.RESTRICTED_CONTENT,falseotherwise. | 
| boolean | isTemplateNotFound()Returns  trueif this instance has the tagAddPropertiesError.Tag.TEMPLATE_NOT_FOUND,falseotherwise. | 
| boolean | isUnsupportedFolder()Returns  trueif this instance has the tagAddPropertiesError.Tag.UNSUPPORTED_FOLDER,falseotherwise. | 
| static AddPropertiesError | path(LookupError value)Returns an instance of  AddPropertiesErrorthat has its tag set toAddPropertiesError.Tag.PATH. | 
| AddPropertiesError.Tag | tag()Returns the tag for this instance. | 
| static AddPropertiesError | templateNotFound(java.lang.String value)Returns an instance of  AddPropertiesErrorthat has its tag set toAddPropertiesError.Tag.TEMPLATE_NOT_FOUND. | 
| java.lang.String | toString() | 
| java.lang.String | toStringMultiline()Returns a String representation of this object formatted for easier
 readability. | 
public static final AddPropertiesError RESTRICTED_CONTENT
public static final AddPropertiesError OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static final AddPropertiesError UNSUPPORTED_FOLDER
public static final AddPropertiesError PROPERTY_FIELD_TOO_LARGE
public static final AddPropertiesError DOES_NOT_FIT_TEMPLATE
public static final AddPropertiesError PROPERTY_GROUP_ALREADY_EXISTS
public AddPropertiesError.Tag tag()
 This class is a tagged union.  Tagged unions instances are always
 associated to a specific tag.  This means only one of the isXyz()
 methods will return true. Callers are recommended to use the tag
 value in a switch statement to properly handle the different
 values for this AddPropertiesError. 
public boolean isTemplateNotFound()
true if this instance has the tag AddPropertiesError.Tag.TEMPLATE_NOT_FOUND, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.TEMPLATE_NOT_FOUND, false otherwise.public static AddPropertiesError templateNotFound(java.lang.String value)
AddPropertiesError that has its tag set to
 AddPropertiesError.Tag.TEMPLATE_NOT_FOUND.
 Template does not exist for the given identifier.
value - value to assign to this instance.AddPropertiesError with its tag set to AddPropertiesError.Tag.TEMPLATE_NOT_FOUND.java.lang.IllegalArgumentException - if value is shorter than 1,
     does not match pattern "(/|ptid:).*", or is null.public java.lang.String getTemplateNotFoundValue()
 This instance must be tagged as AddPropertiesError.Tag.TEMPLATE_NOT_FOUND. 
String value associated with this instance if isTemplateNotFound() is true.java.lang.IllegalStateException - If isTemplateNotFound() is false.public boolean isRestrictedContent()
true if this instance has the tag AddPropertiesError.Tag.RESTRICTED_CONTENT, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.RESTRICTED_CONTENT, false otherwise.public boolean isOther()
true if this instance is tagged as AddPropertiesError.Tag.OTHER,
     false otherwise.public boolean isPath()
true if this instance is tagged as AddPropertiesError.Tag.PATH,
     false otherwise.public static AddPropertiesError path(LookupError value)
value - value to assign to this instance.AddPropertiesError with its tag set to AddPropertiesError.Tag.PATH.java.lang.IllegalArgumentException - if value is null.public LookupError getPathValue()
AddPropertiesError.Tag.PATH.LookupError value associated with this instance if
     isPath() is true.java.lang.IllegalStateException - If isPath() is false.public boolean isUnsupportedFolder()
true if this instance has the tag AddPropertiesError.Tag.UNSUPPORTED_FOLDER, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.UNSUPPORTED_FOLDER, false otherwise.public boolean isPropertyFieldTooLarge()
true if this instance has the tag AddPropertiesError.Tag.PROPERTY_FIELD_TOO_LARGE, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.PROPERTY_FIELD_TOO_LARGE, false otherwise.public boolean isDoesNotFitTemplate()
true if this instance has the tag AddPropertiesError.Tag.DOES_NOT_FIT_TEMPLATE, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.DOES_NOT_FIT_TEMPLATE, false otherwise.public boolean isPropertyGroupAlreadyExists()
true if this instance has the tag AddPropertiesError.Tag.PROPERTY_GROUP_ALREADY_EXISTS, false otherwise.true if this instance is tagged as AddPropertiesError.Tag.PROPERTY_GROUP_ALREADY_EXISTS, false otherwise.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.