published_content_node_factory
Module to create high-level content node objects from ContentNodeTransport.
This module contains factory class to create high level published content node objects from ContentNodeTransport.
Typical usage example
PublishedContentNodeFactory ¶
Factory class to create published content nodes with given type from transport object.
get_published_content_node
staticmethod
¶
Returns instance of published content node subclass (e.g. folder) depending on node_type and asset_type.
Parameters:
-
client
(
Client
) –Client to use to make API calls for given content node.
-
content_node_transport
(
ContentNodeTransport
) –ContentNodeTransport containing properties of content node.
Returns:
-
PublishedContentNode
–A PublishedContentNode object with proper class based on properties