class AssetLogInfo(bb.Union): (source)
Asset details. 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 FileLogInfo AssetLogInfo.file: File's details. :ivar FolderLogInfo AssetLogInfo.folder: Folder's details. :ivar PaperDocumentLogInfo AssetLogInfo.paper_document: Paper document's details. :ivar PaperFolderLogInfo AssetLogInfo.paper_folder: Paper folder's details. :ivar ShowcaseDocumentLogInfo AssetLogInfo.showcase_document: Showcase document's details.
Class Method | file |
Create an instance of this class set to the ``file`` tag with value ``val``. |
Class Method | folder |
Create an instance of this class set to the ``folder`` tag with value ``val``. |
Class Method | paper |
Create an instance of this class set to the ``paper_document`` tag with value ``val``. |
Class Method | paper |
Create an instance of this class set to the ``paper_folder`` tag with value ``val``. |
Class Method | showcase |
Create an instance of this class set to the ``showcase_document`` tag with value ``val``. |
Method | get |
File's details. |
Method | get |
Folder's details. |
Method | get |
Paper document's details. |
Method | get |
Paper folder's details. |
Method | get |
Showcase document's details. |
Method | is |
Check if the union tag is ``file``. |
Method | is |
Check if the union tag is ``folder``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``paper_document``. |
Method | is |
Check if the union tag is ``paper_folder``. |
Method | is |
Check if the union tag is ``showcase_document``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``file`` tag with value ``val``. :param FileLogInfo val: :rtype: AssetLogInfo
Create an instance of this class set to the ``folder`` tag with value ``val``. :param FolderLogInfo val: :rtype: AssetLogInfo
Create an instance of this class set to the ``paper_document`` tag with value ``val``. :param PaperDocumentLogInfo val: :rtype: AssetLogInfo
Create an instance of this class set to the ``paper_folder`` tag with value ``val``. :param PaperFolderLogInfo val: :rtype: AssetLogInfo
Create an instance of this class set to the ``showcase_document`` tag with value ``val``. :param ShowcaseDocumentLogInfo val: :rtype: AssetLogInfo
Paper document's details. Only call this if :meth:`is_paper_document` is true. :rtype: PaperDocumentLogInfo
Paper folder's details. Only call this if :meth:`is_paper_folder` is true. :rtype: PaperFolderLogInfo
Showcase document's details. Only call this if :meth:`is_showcase_document` is true. :rtype: ShowcaseDocumentLogInfo