On this page

ConfluencePS.Version

SYNOPSIS

Defines an object for Versions in Confluence.

SYNTAX

New-Object -TypeName ConfluencePS.Version [-Property @{}]

[ConfluencePS.Version]@{}

DESCRIPTION

fixThe Version is an object that describes versions in Confluence.

REFERENCES

The following classes use Version for their properties:

CONSTRUCTORS

This class does not have a constructor.

PROPERTIES

By

Contains the information of the author of the Version.

Type: ConfluencePS.User
Required: True
Default value: None

When

Contains the Date and Time of when the Version was created.

Type: DateTime
Required: True
Default value: None

FriendlyWhen

Contains a string that is easy to read about the creation of the Version.

Type: String
Required: True
Default value: None

Number

The numeric identifier of the Version of the resource.

Type: Int32
Required: True
Default value: None

Message

The message / comment left by the author about the changes in the Version.

Type: String
Required: False
Default value: None

MinorEdit

Whether the changes in the Version were minor.

Type: Boolean
Required: True
Default value: False

METHODS

ToString()

The method for casting an object of this class to string is overwritten.

When cast to string, this will return the Number property’s value.