class CreateFolderBatchJobStatus(async_.PollResultBase): (source)
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 CreateFolderBatchResult CreateFolderBatchJobStatus.complete: The batch create folder has finished. :ivar CreateFolderBatchError CreateFolderBatchJobStatus.failed: The batch create folder has failed.
Class Method | complete |
Create an instance of this class set to the ``complete`` tag with value ``val``. |
Class Method | failed |
Create an instance of this class set to the ``failed`` tag with value ``val``. |
Method | get |
The batch create folder has finished. |
Method | get |
The batch create folder has failed. |
Method | is |
Check if the union tag is ``complete``. |
Method | is |
Check if the union tag is ``failed``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Inherited from PollResultBase
:
Method | is |
Check if the union tag is ``in_progress``. |
Class Variable | in |
Undocumented |
Create an instance of this class set to the ``complete`` tag with value ``val``. :param CreateFolderBatchResult val: :rtype: CreateFolderBatchJobStatus
Create an instance of this class set to the ``failed`` tag with value ``val``. :param CreateFolderBatchError val: :rtype: CreateFolderBatchJobStatus
The batch create folder has finished. Only call this if :meth:`is_complete` is true. :rtype: CreateFolderBatchResult
The batch create folder has failed. Only call this if :meth:`is_failed` is true. :rtype: CreateFolderBatchError