PyProject
class PyProject(project)
Bases: PyDescriptionContent
, PyWithOwner
Interface for a project content item.
- Parameters: project (IProject)
__init__(project)
Creates a new PyProject object.
Args: : project: A IProject object.
Returns: None.
- Parameters: project (IProject)
- Return type: None
Methods
__init__ (project) |
Creates a new PyProject object. |
---|
Attributes
content_permissions |
Gets or sets the content permission mode of the project. |
---|---|
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. |
description |
Gets or sets the description. |
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. |
owner |
Gets or sets the owner for the content item. |
parent_project |
Gets the parent project reference, or null if the project is a top-level project. |
property content_permissions : str
Gets or sets the content permission mode of the project.
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 description : str
Gets or sets the description.
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 owner : PyContentReference
Gets or sets the owner for the content item.
property parent_project : PyContentReference
Gets the parent project reference, or null if the project is a top-level project. Should be changed through mapping.