Defines an object for Spaces in Confluence.
New-Object -TypeName ConfluencePS.Space [-Property @{}]
[ConfluencePS.Space]@{}
fixThe Space is an object that describes spaces in Confluence.
The following classes use Space for their properties:
This class does not have a constructor.
The Id is the identifier used by the Confluence server internally.
This value can’t be changed for a space and it’s value is assigned by the server.
It is recommended to use Key as identifier when using this object.
Type: Int32
Required: True
Default value: None
The Key is the “public” identifier of a Space.
This value can’t be changed for a space but it’s value is defined by the admin when creating the space.
Type: String
Required: True
Default value: None
The Name describes the name of the Space.
This value is defined by the admin when creating the space and can be changed by any user with ‘space admin’ permissions.
Type: String
Required: True
Default value: None
The Icon describes the icon of a Space.
Any user with ‘space admin’ permissions can change this.
Type: ConfluencePS.Icon
Required: True
Default value: None
The Type describes what kind of Space this is.
Values can be global or personal.
Type: String
Required: True
Default value: global
The Description contains the description of the Space.
Any user with ‘space admin’ permissions can change this.
Type: String
Required: False
Default value: None
The Homepage contains the information about the homepage of the Space.
Any user with ‘space admin’ permissions can change this.
Type: ConfluencePS.Page
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 [$Key] $Name.