Class Params
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Params
Params
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()message()Description for the version.Description for the version.If true, the content title will be the same as the title from the version restored.restoreTitle(Boolean restoreTitle) If true, the content title will be the same as the title from the version restored.toString()The version number to be restored.versionNumber(Integer versionNumber) The version number to be restored.
-
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
Constructs a validated instance ofParams.- Parameters:
spec- the specification to process
-
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`.
-
Params
protected Params()
-
-
Method 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`. -
versionNumber
The version number to be restored.- Returns:
this.
-
message
Description for the version.- Returns:
this.
-
restoreTitle
If true, the content title will be the same as the title from the version restored. Defaults to `false`.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-