Class VersionRestore

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.VersionRestore

@Generated("io.github.primelib.primecodegen") public class VersionRestore extends Object
VersionRestore
  • Field Details

    • operationKey

      protected String operationKey
      Set to 'restore'.
    • params

      protected Params params
  • Constructor Details

    • VersionRestore

      public VersionRestore(Consumer<VersionRestore> spec)
      Constructs a validated instance of VersionRestore.
      Parameters:
      spec - the specification to process
    • VersionRestore

      @Internal protected VersionRestore()
      Protected no-args constructor for use by serialization frameworks.
    • VersionRestore

      @Internal public VersionRestore(String operationKey, Params params)
      Constructs a validated instance of VersionRestore.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using VersionRestore(Consumer) instead.

      Parameters:
      operationKey - Set to 'restore'.
      params - params
  • Method Details

    • operationKey

      public String operationKey()
      Fluent getter for operationKey.

      Set to 'restore'.

      Returns:
      operationKey
    • operationKey

      public VersionRestore operationKey(String operationKey)
      Fluent setter for operationKey.

      Set to 'restore'.

      Parameters:
      operationKey - operationKey
      Returns:
      this
    • getOperationKey

      public String getOperationKey()
      Gets the value of operationKey.

      Set to 'restore'.

      Returns:
      operationKey
    • setOperationKey

      public void setOperationKey(String operationKey)
      Sets the value of operationKey.

      Set to 'restore'.

      Parameters:
      operationKey - operationKey
    • params

      public Params params()
      Fluent getter for params.
      Returns:
      params
    • params

      public VersionRestore params(Params params)
      Fluent setter for params.
      Parameters:
      params - params
      Returns:
      this
    • getParams

      public Params getParams()
      Gets the value of params.
      Returns:
      params
    • setParams

      public void setParams(Params params)
      Sets the value of params.
      Parameters:
      params - params
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object