PyCustomView
class PyCustomView(custom_view)
Bases: PyWithOwner
, PyWithWorkbook
The interface for a custom view content item.
- Parameters: custom_view (ICustomView)
__init__(custom_view)
Creates a new PyCustomView object.
Args: : custom_view: A ICustomView object.
Returns: None.
- Parameters: custom_view (ICustomView)
- Return type: None
Methods
__init__ (custom_view) |
Creates a new PyCustomView object. |
---|
Attributes
base_view_id |
Gets the ID of the view that this custom view is based on. |
---|---|
base_view_name |
Gets the name of the view that this custom view is based on. |
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. |
created_at |
Gets the created timestamp. |
id |
Gets the unique identifier. |
last_accessed_at |
Gets the last accessed timestamp. |
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. |
owner |
Gets or sets the owner for the content item. |
shared |
Gets or sets whether the custom view is shared with all users (true) or private (false). |
updated_at |
Gets the updated timestamp. |
workbook |
Gets or sets the workbook for the content item. |
property base_view_id : UUID
Gets the ID of the view that this custom view is based on.
property base_view_name : str
Gets the name of the view that this custom view is based on.
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 created_at : str
Gets the created timestamp.
property id : UUID
Gets the unique identifier.
property last_accessed_at : str
Gets the last accessed timestamp.
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 owner : PyContentReference
Gets or sets the owner for the content item.
property shared : bool
Gets or sets whether the custom view is shared with all users (true) or private (false).
property updated_at : str
Gets the updated timestamp.
property workbook : PyContentReference
Gets or sets the workbook for the content item.