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.PropertiesSearchContinueError.reset: Indicates that the cursor has been
| 788 | PropertiesSearchContinueArg_validator = bv.Struct(PropertiesSearchContinueArg) |
| 789 | |
| 790 | class PropertiesSearchContinueError(bb.Union): |
| 791 | """ |
| 792 | This class acts as a tagged union. Only one of the ``is_*`` methods will |
| 793 | return true. To get the associated value of a tag (if one exists), use the |
| 794 | corresponding ``get_*`` method. |
| 795 | |
| 796 | :ivar file_properties.PropertiesSearchContinueError.reset: Indicates that |
| 797 | the cursor has been invalidated. Call |
| 798 | :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search` |
| 799 | to obtain a new cursor. |
| 800 | """ |
| 801 | |
| 802 | _catch_all = 'other' |
| 803 | # Attribute is overwritten below the class definition |
| 804 | reset = None |
| 805 | # Attribute is overwritten below the class definition |
| 806 | other = None |
| 807 | |
| 808 | def is_reset(self): |
| 809 | """ |
| 810 | Check if the union tag is ``reset``. |
| 811 | |
| 812 | :rtype: bool |
| 813 | """ |
| 814 | return self._tag == 'reset' |
| 815 | |
| 816 | def is_other(self): |
| 817 | """ |
| 818 | Check if the union tag is ``other``. |
| 819 | |
| 820 | :rtype: bool |
| 821 | """ |
| 822 | return self._tag == 'other' |
| 823 | |
| 824 | def _process_custom_annotations(self, annotation_type, field_path, processor): |
| 825 | super(PropertiesSearchContinueError, self)._process_custom_annotations(annotation_type, field_path, processor) |
| 826 | |
| 827 | PropertiesSearchContinueError_validator = bv.Union(PropertiesSearchContinueError) |
| 828 |