Class Params
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Params
Params
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of message.Gets the value of restoreTitle.Gets the value of versionNumber.inthashCode()message()Fluent getter for message.Fluent setter for message.Fluent getter for restoreTitle.restoreTitle(Boolean restoreTitle) Fluent setter for restoreTitle.voidsetMessage(String message) Sets the value of message.voidsetRestoreTitle(Boolean restoreTitle) Sets the value of restoreTitle.voidsetVersionNumber(Integer versionNumber) Sets the value of versionNumber.toString()Fluent getter for versionNumber.versionNumber(Integer versionNumber) Fluent setter for versionNumber.
-
Field Details
-
versionNumber
The version number to be restored. -
message
Description for the version. -
restoreTitle
If true, the content title will be the same as the title from the version restored. Defaults to `false`.
-
-
Constructor Details
-
Params
-
Params
@Internal protected Params()Protected no-args constructor for use by serialization frameworks. -
Params
Constructs a validated instance ofParams.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Params(Consumer)instead.- Parameters:
versionNumber- The version number to be restored.message- Description for the version.restoreTitle- If true, the content title will be the same as the title from the version restored. Defaults to `false`.
-
-
Method Details
-
versionNumber
Fluent getter for versionNumber.The version number to be restored.
- Returns:
- versionNumber
-
versionNumber
-
getVersionNumber
Gets the value of versionNumber.The version number to be restored.
- Returns:
- versionNumber
-
setVersionNumber
Sets the value of versionNumber.The version number to be restored.
- Parameters:
versionNumber- versionNumber
-
message
-
message
-
getMessage
-
setMessage
Sets the value of message.Description for the version.
- Parameters:
message- message
-
restoreTitle
Fluent getter for restoreTitle.If true, the content title will be the same as the title from the version restored. Defaults to `false`.
- Returns:
- restoreTitle
-
restoreTitle
-
getRestoreTitle
Gets the value of restoreTitle.If true, the content title will be the same as the title from the version restored. Defaults to `false`.
- Returns:
- restoreTitle
-
setRestoreTitle
Sets the value of restoreTitle.If true, the content title will be the same as the title from the version restored. Defaults to `false`.
- Parameters:
restoreTitle- restoreTitle
-
equals
-
hashCode
-
toString
-