class AccessMethodLogInfo(bb.Union): (source)
Indicates the method in which the action was performed. 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 WebSessionLogInfo AccessMethodLogInfo.admin_console: Admin console session details. :ivar ApiSessionLogInfo AccessMethodLogInfo.api: Api session details. :ivar WebSessionLogInfo AccessMethodLogInfo.content_manager: Content manager session details. :ivar SessionLogInfo AccessMethodLogInfo.end_user: End user session details. :ivar WebSessionLogInfo AccessMethodLogInfo.enterprise_console: Enterprise console session details. :ivar WebSessionLogInfo AccessMethodLogInfo.sign_in_as: Sign in as session details.
Class Method | admin |
Create an instance of this class set to the ``admin_console`` tag with value ``val``. |
Class Method | api |
Create an instance of this class set to the ``api`` tag with value ``val``. |
Class Method | content |
Create an instance of this class set to the ``content_manager`` tag with value ``val``. |
Class Method | end |
Create an instance of this class set to the ``end_user`` tag with value ``val``. |
Class Method | enterprise |
Create an instance of this class set to the ``enterprise_console`` tag with value ``val``. |
Class Method | sign |
Create an instance of this class set to the ``sign_in_as`` tag with value ``val``. |
Method | get |
Admin console session details. |
Method | get |
Api session details. |
Method | get |
Content manager session details. |
Method | get |
End user session details. |
Method | get |
Enterprise console session details. |
Method | get |
Sign in as session details. |
Method | is |
Check if the union tag is ``admin_console``. |
Method | is |
Check if the union tag is ``api``. |
Method | is |
Check if the union tag is ``content_manager``. |
Method | is |
Check if the union tag is ``end_user``. |
Method | is |
Check if the union tag is ``enterprise_console``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``sign_in_as``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``admin_console`` tag with value ``val``. :param WebSessionLogInfo val: :rtype: AccessMethodLogInfo
Create an instance of this class set to the ``api`` tag with value ``val``. :param ApiSessionLogInfo val: :rtype: AccessMethodLogInfo
Create an instance of this class set to the ``content_manager`` tag with value ``val``. :param WebSessionLogInfo val: :rtype: AccessMethodLogInfo
Create an instance of this class set to the ``end_user`` tag with value ``val``. :param SessionLogInfo val: :rtype: AccessMethodLogInfo
Create an instance of this class set to the ``enterprise_console`` tag with value ``val``. :param WebSessionLogInfo val: :rtype: AccessMethodLogInfo
Create an instance of this class set to the ``sign_in_as`` tag with value ``val``. :param WebSessionLogInfo val: :rtype: AccessMethodLogInfo
Admin console session details. Only call this if :meth:`is_admin_console` is true. :rtype: WebSessionLogInfo
Content manager session details. Only call this if :meth:`is_content_manager` is true. :rtype: WebSessionLogInfo
Enterprise console session details. Only call this if :meth:`is_enterprise_console` is true. :rtype: WebSessionLogInfo
Sign in as session details. Only call this if :meth:`is_sign_in_as` is true. :rtype: WebSessionLogInfo