Defines an object for Pages in Confluence.
New-Object -TypeName ConfluencePS.Page [-Property @{}]
[ConfluencePS.Page]@{}
fixThe Page
is an object that describes pages in Confluence.
The following classes use Page
for their properties:
This class does not have a constructor.
The Id is the unique identifier of the Page
.
This value can’t be changed and is assigned by the server.
Type: Int32
Required: True
Default value: None
The Status describes the current status of the Page
.
Possible values are: current
, trashed
and draft
.
Type: String
Required: True
Default value: current
The Name / Title of the Page
.
Type: String
Required: True
Default value: None
The Space in which the Page
is in.
Type: ConfluencePS.Space
Required: True
Default value: None
Contains the information about the latest version of the Page
.
Values can be global
or personal
.
Type: ConfluencePS.Version
Required: True
Default value: None
The Content / Body of the Page
.
The content is in Confluence’s storage format, which must be a valid XHTML string.
Type: String
Required: True
Default value: null
Contains the hierarchy of the Page
in the navigation by describing it’s ancestors / parent pages.
Type: ConfluencePS.Page
Required: False
Default value: None
Contains the URL under which the Page
is accessible.
Type: String
Required: True
Default value: None
Contains a shortened URL under which the Page
is accessible.
Type: String
Required: True
Default value: None
The method for casting an object of this class to string is overwritten.
When cast to string, this will return [$Id] $Title
.