Klasse GetContentTemplatesOperationSpec

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

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

Specification for the GetContentTemplates operation.

Get content templates

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetContentTemplatesOperationSpec

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

      @Internal public GetContentTemplatesOperationSpec(String spaceKey, Integer start, Integer limit, List<String> expand)
      Constructs a validated instance of GetContentTemplatesOperationSpec.

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

      Parameter:
      spaceKey - The key of the space to be queried for templates. If the spaceKey is not specified, global templates will be returned.
      start - The starting index of the returned templates.
      limit - The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.
      expand - A multi-value parameter indicating which properties of the template to expand. - body returns the content of the template in storage format.
    • GetContentTemplatesOperationSpec

      protected GetContentTemplatesOperationSpec()
  • Methodendetails

    • validate

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

    • spaceKey

      @Nullable public @Nullable String spaceKey()
      The key of the space to be queried for templates. If the spaceKey is not specified, global templates will be returned.
    • start

      @Nullable public @Nullable Integer start()
      The starting index of the returned templates.
    • limit

      @Nullable public @Nullable Integer limit()
      The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.
    • expand

      @Nullable public @Nullable List<String> expand()
      A multi-value parameter indicating which properties of the template to expand. - body returns the content of the template in storage format.
    • spaceKey

      public GetContentTemplatesOperationSpec spaceKey(@Nullable @Nullable String spaceKey)
      The key of the space to be queried for templates. If the spaceKey is not specified, global templates will be returned.
      Gibt zurück:
      this.
    • start

      public GetContentTemplatesOperationSpec start(@Nullable @Nullable Integer start)
      The starting index of the returned templates.
      Gibt zurück:
      this.
    • limit

      public GetContentTemplatesOperationSpec limit(@Nullable @Nullable Integer limit)
      The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.
      Gibt zurück:
      this.
    • expand

      public GetContentTemplatesOperationSpec expand(@Nullable @Nullable List<String> expand)
      A multi-value parameter indicating which properties of the template to expand. - body returns the content of the template in storage format.
      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