class InvalidPropertyGroupError(PropertiesError): (source)
Known subclasses: dropbox.file_properties.AddPropertiesError
, dropbox.file_properties.UpdatePropertiesError
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar file_properties.InvalidPropertyGroupError.property_field_too_large: One or more of the supplied property field values is too large. :ivar file_properties.InvalidPropertyGroupError.does_not_fit_template: One or more of the supplied property fields does not conform to the template specifications. :ivar file_properties.InvalidPropertyGroupError.duplicate_property_groups: There are 2 or more property groups referring to the same templates in the input.
Method | is |
Check if the union tag is ``does_not_fit_template``. |
Method | is |
Check if the union tag is ``duplicate_property_groups``. |
Method | is |
Check if the union tag is ``property_field_too_large``. |
Class Variable | does |
Undocumented |
Class Variable | duplicate |
Undocumented |
Class Variable | property |
Undocumented |
Method | _process |
Undocumented |
Inherited from PropertiesError
:
Class Method | path |
Create an instance of this class set to the ``path`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_path` is true. |
Method | is |
Check if the union tag is ``path``. |
Method | is |
Check if the union tag is ``unsupported_folder``. |
Class Variable | unsupported |
Undocumented |
Inherited from TemplateError
(via PropertiesError
):
Class Method | template |
Create an instance of this class set to the ``template_not_found`` tag with value ``val``. |
Method | get |
Template does not exist for the given identifier. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``restricted_content``. |
Method | is |
Check if the union tag is ``template_not_found``. |
Class Variable | other |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | _catch |
Undocumented |
dropbox.file_properties.AddPropertiesError
, dropbox.file_properties.UpdatePropertiesError
Undocumented