class FileMemberRemoveActionResult(bb.Union): (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 MemberAccessLevelResult FileMemberRemoveActionResult.success: Member was successfully removed from this file. :ivar FileMemberActionError FileMemberRemoveActionResult.member_error: User was not able to remove this member.
Class Method | member |
Create an instance of this class set to the ``member_error`` tag with value ``val``. |
Class Method | success |
Create an instance of this class set to the ``success`` tag with value ``val``. |
Method | get |
User was not able to remove this member. |
Method | get |
Member was successfully removed from this file. |
Method | is |
Check if the union tag is ``member_error``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``success``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``member_error`` tag with value ``val``. :param FileMemberActionError val: :rtype: FileMemberRemoveActionResult
Create an instance of this class set to the ``success`` tag with value ``val``. :param MemberAccessLevelResult val: :rtype: FileMemberRemoveActionResult
User was not able to remove this member. Only call this if :meth:`is_member_error` is true. :rtype: FileMemberActionError
Member was successfully removed from this file. Only call this if :meth:`is_success` is true. :rtype: MemberAccessLevelResult