class documentation

class ParticipantLogInfo(bb.Union): (source)

View In Hierarchy

A user or group 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 GroupLogInfo ParticipantLogInfo.group: Group details. :ivar UserLogInfo ParticipantLogInfo.user: A user with a Dropbox account.

Class Method group Create an instance of this class set to the ``group`` tag with value ``val``.
Class Method user Create an instance of this class set to the ``user`` tag with value ``val``.
Method get_group Group details.
Method get_user A user with a Dropbox account.
Method is_group Check if the union tag is ``group``.
Method is_other Check if the union tag is ``other``.
Method is_user Check if the union tag is ``user``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def group(cls, val): (source)

Create an instance of this class set to the ``group`` tag with value ``val``. :param GroupLogInfo val: :rtype: ParticipantLogInfo

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

Create an instance of this class set to the ``user`` tag with value ``val``. :param UserLogInfo val: :rtype: ParticipantLogInfo

def get_group(self): (source)

Group details. Only call this if :meth:`is_group` is true. :rtype: GroupLogInfo

def get_user(self): (source)

A user with a Dropbox account. Only call this if :meth:`is_user` is true. :rtype: UserLogInfo

def is_group(self): (source)

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

def is_other(self): (source)

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

def is_user(self): (source)

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

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented