Klasse GetAttachmentByIdOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetAttachmentByIdOperationSpec

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

Specification for the GetAttachmentById operation.

Get attachment by id

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetAttachmentByIdOperationSpec

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

      @Internal public GetAttachmentByIdOperationSpec(String id, Integer version)
      Constructs a validated instance of GetAttachmentByIdOperationSpec.

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

      Parameter:
      id - The ID of the attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.
      version - Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
    • GetAttachmentByIdOperationSpec

      protected GetAttachmentByIdOperationSpec()
  • 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 attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.
    • version

      @Nullable public @Nullable Integer version()
      Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
    • id

      public GetAttachmentByIdOperationSpec id(@NotNull @NotNull String id)
      The ID of the attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.
      Gibt zurück:
      this.
    • version

      public GetAttachmentByIdOperationSpec version(@Nullable @Nullable Integer version)
      Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
      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