Klasse RestoreContentVersionOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.RestoreContentVersionOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class RestoreContentVersionOperationSpec extends Object
RestoreContentVersionSpec

Specification for the RestoreContentVersion operation.

Restore content version

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • RestoreContentVersionOperationSpec

      @Internal public RestoreContentVersionOperationSpec(Consumer<RestoreContentVersionOperationSpec> spec)
      Constructs a validated instance of RestoreContentVersionOperationSpec.
      Parameter:
      spec - the specification to process
    • RestoreContentVersionOperationSpec

      @Internal public RestoreContentVersionOperationSpec(String id, VersionRestore body, List<String> expand)
      Constructs a validated instance of RestoreContentVersionOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The ID of the content for which the history will be restored.
      body - The content version to be restored.
      expand - A multi-value parameter indicating which properties of the content to expand. By default, the content object is expanded. - collaborators returns the users that collaborated on the version. - content returns the content for the version.
    • RestoreContentVersionOperationSpec

      protected RestoreContentVersionOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull String id()
      The ID of the content for which the history will be restored.
    • body

      @NotNull public @NotNull VersionRestore body()
      The content version to be restored.
    • expand

      @Nullable public @Nullable List<String> expand()
      A multi-value parameter indicating which properties of the content to expand. By default, the content object is expanded. - collaborators returns the users that collaborated on the version. - content returns the content for the version.
    • id

      public RestoreContentVersionOperationSpec id(@NotNull @NotNull String id)
      The ID of the content for which the history will be restored.
      Gibt zurück:
      this.
    • body

      public RestoreContentVersionOperationSpec body(@NotNull @NotNull VersionRestore body)
      The content version to be restored.
      Gibt zurück:
      this.
    • expand

      public RestoreContentVersionOperationSpec expand(@Nullable @Nullable List<String> expand)
      A multi-value parameter indicating which properties of the content to expand. By default, the content object is expanded. - collaborators returns the users that collaborated on the version. - content returns the content for the version.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object