MCPcopy Create free account
hub / github.com/dropbox/dropbox-sdk-python / PropertiesSearchContinueError

Class PropertiesSearchContinueError

dropbox/file_properties.py:790–825  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

788PropertiesSearchContinueArg_validator = bv.Struct(PropertiesSearchContinueArg)
789
790class 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
827PropertiesSearchContinueError_validator = bv.Union(PropertiesSearchContinueError)
828

Callers 1

file_properties.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected