class LinkedDeviceLogInfo(bb.Union): (source)
The device sessions that user is linked to. 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 DesktopDeviceSessionLogInfo LinkedDeviceLogInfo.desktop_device_session: desktop device session's details. :ivar LegacyDeviceSessionLogInfo LinkedDeviceLogInfo.legacy_device_session: legacy device session's details. :ivar MobileDeviceSessionLogInfo LinkedDeviceLogInfo.mobile_device_session: mobile device session's details. :ivar WebDeviceSessionLogInfo LinkedDeviceLogInfo.web_device_session: web device session's details.
Class Method | desktop |
Create an instance of this class set to the ``desktop_device_session`` tag with value ``val``. |
Class Method | legacy |
Create an instance of this class set to the ``legacy_device_session`` tag with value ``val``. |
Class Method | mobile |
Create an instance of this class set to the ``mobile_device_session`` tag with value ``val``. |
Class Method | web |
Create an instance of this class set to the ``web_device_session`` tag with value ``val``. |
Method | get |
desktop device session's details. |
Method | get |
legacy device session's details. |
Method | get |
mobile device session's details. |
Method | get |
web device session's details. |
Method | is |
Check if the union tag is ``desktop_device_session``. |
Method | is |
Check if the union tag is ``legacy_device_session``. |
Method | is |
Check if the union tag is ``mobile_device_session``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``web_device_session``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``desktop_device_session`` tag with value ``val``. :param DesktopDeviceSessionLogInfo val: :rtype: LinkedDeviceLogInfo
Create an instance of this class set to the ``legacy_device_session`` tag with value ``val``. :param LegacyDeviceSessionLogInfo val: :rtype: LinkedDeviceLogInfo
Create an instance of this class set to the ``mobile_device_session`` tag with value ``val``. :param MobileDeviceSessionLogInfo val: :rtype: LinkedDeviceLogInfo
Create an instance of this class set to the ``web_device_session`` tag with value ``val``. :param WebDeviceSessionLogInfo val: :rtype: LinkedDeviceLogInfo
desktop device session's details. Only call this if :meth:`is_desktop_device_session` is true. :rtype: DesktopDeviceSessionLogInfo
legacy device session's details. Only call this if :meth:`is_legacy_device_session` is true. :rtype: LegacyDeviceSessionLogInfo
mobile device session's details. Only call this if :meth:`is_mobile_device_session` is true. :rtype: MobileDeviceSessionLogInfo
web device session's details. Only call this if :meth:`is_web_device_session` is true. :rtype: WebDeviceSessionLogInfo