Klasse GetContentPropertyOperationSpec

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

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

Specification for the GetContentProperty operation.

Get content property

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetContentPropertyOperationSpec

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

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

      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 the property.
      key - The key of the content property.
      expand - A multi-value parameter indicating which properties of the content to expand. By default, the version object is expanded. - content returns the content that the property is stored against. - version returns information about the version of the property, such as the version number, when it was created, etc.
      status - Filter the results to a set of content based on their status. If set to any, content with any status is returned. By default it will fetch current and archived statuses ?status=current&amp;status=archived. All supported statuses - any - archived - current - deleted - draft - trashed
    • GetContentPropertyOperationSpec

      protected GetContentPropertyOperationSpec()
  • 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 the property.
    • key

      @NotNull public @NotNull String key()
      The key of the content property.
    • expand

      @Nullable public @Nullable List<String> expand()
      A multi-value parameter indicating which properties of the content to expand. By default, the version object is expanded. - content returns the content that the property is stored against. - version returns information about the version of the property, such as the version number, when it was created, etc.
    • status

      @Nullable public @Nullable List<String> status()
      Filter the results to a set of content based on their status. If set to any, content with any status is returned. By default it will fetch current and archived statuses ?status=current&amp;status=archived. All supported statuses - any - archived - current - deleted - draft - trashed
    • id

      public GetContentPropertyOperationSpec id(@NotNull @NotNull String id)
      The ID of the content to be queried for the property.
      Gibt zurück:
      this.
    • key

      public GetContentPropertyOperationSpec key(@NotNull @NotNull String key)
      The key of the content property.
      Gibt zurück:
      this.
    • expand

      public GetContentPropertyOperationSpec expand(@Nullable @Nullable List<String> expand)
      A multi-value parameter indicating which properties of the content to expand. By default, the version object is expanded. - content returns the content that the property is stored against. - version returns information about the version of the property, such as the version number, when it was created, etc.
      Gibt zurück:
      this.
    • status

      public GetContentPropertyOperationSpec status(@Nullable @Nullable List<String> status)
      Filter the results to a set of content based on their status. If set to any, content with any status is returned. By default it will fetch current and archived statuses ?status=current&amp;status=archived. All supported statuses - any - archived - current - deleted - draft - trashed
      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