class documentation
class MembersSetProfilePhotoError(MemberSelectorError): (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 team.MembersSetProfilePhotoError.set_profile_disallowed: Modifying deleted users is not allowed.
Class Method | photo |
Create an instance of this class set to the ``photo_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_photo_error` is true. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``photo_error``. |
Method | is |
Check if the union tag is ``set_profile_disallowed``. |
Class Variable | other |
Undocumented |
Class Variable | set |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Inherited from MemberSelectorError
:
Method | is |
Check if the union tag is ``user_not_in_team``. |
Class Variable | user |
Undocumented |
Inherited from UserSelectorError
(via MemberSelectorError
):
Method | is |
Check if the union tag is ``user_not_found``. |
Class Variable | user |
Undocumented |
Create an instance of this class set to the ``photo_error`` tag with value ``val``. :param account.SetProfilePhotoError val: :rtype: MembersSetProfilePhotoError