class documentation

class GroupsGetInfoItem(bb.Union): (source)

View In Hierarchy

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 str team.GroupsGetInfoItem.id_not_found: An ID that was provided as a parameter to :route:`groups/get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called. :ivar GroupFullInfo GroupsGetInfoItem.group_info: Info about a group.

Class Method group_info Create an instance of this class set to the ``group_info`` tag with value ``val``.
Class Method id_not_found Create an instance of this class set to the ``id_not_found`` tag with value ``val``.
Method get_group_info Info about a group.
Method get_id_not_found An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_groups_get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called.
Method is_group_info Check if the union tag is ``group_info``.
Method is_id_not_found Check if the union tag is ``id_not_found``.
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def group_info(cls, val): (source)

Create an instance of this class set to the ``group_info`` tag with value ``val``. :param GroupFullInfo val: :rtype: GroupsGetInfoItem

@classmethod
def id_not_found(cls, val): (source)

Create an instance of this class set to the ``id_not_found`` tag with value ``val``. :param str val: :rtype: GroupsGetInfoItem

def get_group_info(self): (source)

Info about a group. Only call this if :meth:`is_group_info` is true. :rtype: GroupFullInfo

def get_id_not_found(self): (source)

An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_groups_get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called. Only call this if :meth:`is_id_not_found` is true. :rtype: str

def is_group_info(self): (source)

Check if the union tag is ``group_info``. :rtype: bool

def is_id_not_found(self): (source)

Check if the union tag is ``id_not_found``. :rtype: bool

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all = (source)

Undocumented