PyView
class PyView(view)
Bases: PyWithTags
, PyContentReference
Interface for view associated with the content item.
- Parameters: view (IView)
__init__(view)
Creates a new PyView object.
Args: : view: A IView object.
Returns: None.
- Parameters: view (IView)
- Return type: None
Methods
__init__ (view) |
Creates a new PyView object. |
---|
Attributes
content_url |
Get the site-unique "content URL" of the content item, or an empty string if the content type does not use a content URL. |
---|---|
id |
Gets the unique identifier. |
location |
Gets the logical location path of the content item, for project-level content this is the project path and the content item name. |
name |
Gets the name of the content item. |
tags |
Gets or sets the tags for the content item. |
property content_url : str
Get the site-unique “content URL” of the content item, or an empty string if the content type does not use a content URL.
property id : UUID
Gets the unique identifier.
property location : PyContentLocation
Gets the logical location path of the content item, for project-level content this is the project path and the content item name.
property name : str
Gets the name of the content item. This is equivalent to the last segment of the Location. Renames should be performed through mapping.
property tags : List[PyTag]
Gets or sets the tags for the content item.