Klasse GetHistoryForContentOperationSpec

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

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

Specification for the GetHistoryForContent operation.

Get content history

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetHistoryForContentOperationSpec

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

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

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

      Parameter:
      id - The ID of the content to be queried for its history.
      expand - A multi-value parameter indicating which properties of the content history to expand. Maximum sub-expansions allowed is 8. - lastUpdated returns information about the most recent update of the content, including who updated it and when it was updated. - previousVersion returns information about the update prior to the current content update. For this method, it contains the same information as lastUpdated. - contributors returns all of the users who have contributed to the content. - nextVersion This parameter is not used for this method.
    • GetHistoryForContentOperationSpec

      protected GetHistoryForContentOperationSpec()
  • 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 to be queried for its history.
    • expand

      @Nullable public @Nullable List<String> expand()
      A multi-value parameter indicating which properties of the content history to expand. Maximum sub-expansions allowed is 8. - lastUpdated returns information about the most recent update of the content, including who updated it and when it was updated. - previousVersion returns information about the update prior to the current content update. For this method, it contains the same information as lastUpdated. - contributors returns all of the users who have contributed to the content. - nextVersion This parameter is not used for this method.
    • id

      public GetHistoryForContentOperationSpec id(@NotNull @NotNull String id)
      The ID of the content to be queried for its history.
      Gibt zurück:
      this.
    • expand

      public GetHistoryForContentOperationSpec expand(@Nullable @Nullable List<String> expand)
      A multi-value parameter indicating which properties of the content history to expand. Maximum sub-expansions allowed is 8. - lastUpdated returns information about the most recent update of the content, including who updated it and when it was updated. - previousVersion returns information about the update prior to the current content update. For this method, it contains the same information as lastUpdated. - contributors returns all of the users who have contributed to the content. - nextVersion This parameter is not used for this method.
      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