version property

ContentUpdateVersion version
final

The new version for the updated content. Set this to the current version number incremented by one, unless you are changing the status to 'draft' which must have a version number of 1.

To get the current version number, use Get content by ID and retrieve version.number.

Implementation

final ContentUpdateVersion version;