class ContextLogInfo(bb.Union): (source)
The primary entity on which the action was done. 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_log.ContextLogInfo.anonymous: Anonymous context. :ivar NonTeamMemberLogInfo ContextLogInfo.non_team_member: Action was done on behalf of a non team member. :ivar TeamLogInfo ContextLogInfo.organization_team: Action was done on behalf of a team that's part of an organization. :ivar team_log.ContextLogInfo.team: Action was done on behalf of the team. :ivar TeamMemberLogInfo ContextLogInfo.team_member: Action was done on behalf of a team member. :ivar TrustedNonTeamMemberLogInfo ContextLogInfo.trusted_non_team_member: Action was done on behalf of a trusted non team member.
Class Method | non |
Create an instance of this class set to the ``non_team_member`` tag with value ``val``. |
Class Method | organization |
Create an instance of this class set to the ``organization_team`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_member`` tag with value ``val``. |
Class Method | trusted |
Create an instance of this class set to the ``trusted_non_team_member`` tag with value ``val``. |
Method | get |
Action was done on behalf of a non team member. |
Method | get |
Action was done on behalf of a team that's part of an organization. |
Method | get |
Action was done on behalf of a team member. |
Method | get |
Action was done on behalf of a trusted non team member. |
Method | is |
Check if the union tag is ``anonymous``. |
Method | is |
Check if the union tag is ``non_team_member``. |
Method | is |
Check if the union tag is ``organization_team``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``team``. |
Method | is |
Check if the union tag is ``team_member``. |
Method | is |
Check if the union tag is ``trusted_non_team_member``. |
Class Variable | anonymous |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | team |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``non_team_member`` tag with value ``val``. :param NonTeamMemberLogInfo val: :rtype: ContextLogInfo
Create an instance of this class set to the ``organization_team`` tag with value ``val``. :param TeamLogInfo val: :rtype: ContextLogInfo
Create an instance of this class set to the ``team_member`` tag with value ``val``. :param TeamMemberLogInfo val: :rtype: ContextLogInfo
Create an instance of this class set to the ``trusted_non_team_member`` tag with value ``val``. :param TrustedNonTeamMemberLogInfo val: :rtype: ContextLogInfo
Action was done on behalf of a non team member. Only call this if :meth:`is_non_team_member` is true. :rtype: NonTeamMemberLogInfo
Action was done on behalf of a team that's part of an organization. Only call this if :meth:`is_organization_team` is true. :rtype: TeamLogInfo
Action was done on behalf of a team member. Only call this if :meth:`is_team_member` is true. :rtype: TeamMemberLogInfo
Action was done on behalf of a trusted non team member. Only call this if :meth:`is_trusted_non_team_member` is true. :rtype: TrustedNonTeamMemberLogInfo