Klasse DownloadAttatchmentOperationSpec

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

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

Specification for the DownloadAttatchment operation.

Get URI to download attachment

  • Felddetails

    • VALIDATION_ENABLED

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

    • DownloadAttatchmentOperationSpec

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

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

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

      Parameter:
      id - The ID of the content that the attachment is attached to.
      attachmentId - The ID of the attachment to download.
      version - The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
    • DownloadAttatchmentOperationSpec

      protected DownloadAttatchmentOperationSpec()
  • 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 that the attachment is attached to.
    • attachmentId

      @NotNull public @NotNull String attachmentId()
      The ID of the attachment to download.
    • version

      @Nullable public @Nullable Integer version()
      The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
    • id

      public DownloadAttatchmentOperationSpec id(@NotNull @NotNull String id)
      The ID of the content that the attachment is attached to.
      Gibt zurück:
      this.
    • attachmentId

      public DownloadAttatchmentOperationSpec attachmentId(@NotNull @NotNull String attachmentId)
      The ID of the attachment to download.
      Gibt zurück:
      this.
    • version

      public DownloadAttatchmentOperationSpec version(@Nullable @Nullable Integer version)
      The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
      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