Klasse GetContentChildrenOperationSpec

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

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

Specification for the GetContentChildren operation.

Get content children

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetContentChildrenOperationSpec

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

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

      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 children.
      expand - A multi-value parameter indicating which properties of the children to expand, where: - attachment returns all attachments for the content. - comments returns all comments for the content. - page returns all child pages of the content. - Custom content types that are provided by apps are also supported.
      parentVersion - The version of the parent content to retrieve children for. Currently, this only works for the latest version.
    • GetContentChildrenOperationSpec

      protected GetContentChildrenOperationSpec()
  • 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 children.
    • expand

      @Nullable public @Nullable List<String> expand()
      A multi-value parameter indicating which properties of the children to expand, where: - attachment returns all attachments for the content. - comments returns all comments for the content. - page returns all child pages of the content. - Custom content types that are provided by apps are also supported.
    • parentVersion

      @Nullable public @Nullable Integer parentVersion()
      The version of the parent content to retrieve children for. Currently, this only works for the latest version.
    • id

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

      public GetContentChildrenOperationSpec expand(@Nullable @Nullable List<String> expand)
      A multi-value parameter indicating which properties of the children to expand, where: - attachment returns all attachments for the content. - comments returns all comments for the content. - page returns all child pages of the content. - Custom content types that are provided by apps are also supported.
      Gibt zurück:
      this.
    • parentVersion

      public GetContentChildrenOperationSpec parentVersion(@Nullable @Nullable Integer parentVersion)
      The version of the parent content to retrieve children for. Currently, this only works for the latest 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