Klasse UpdateAttachmentDataOperationSpec

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

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

Specification for the UpdateAttachmentData operation.

Update attachment data

  • Felddetails

    • VALIDATION_ENABLED

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

    • UpdateAttachmentDataOperationSpec

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

      @Internal public UpdateAttachmentDataOperationSpec(String id, String attachmentId, File _file, File minorEdit, File comment)
      Constructs a validated instance of UpdateAttachmentDataOperationSpec.

      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 update.
      _file - The relative location and name of the attachment to be added to the content.
      minorEdit - If minorEdits is set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.
      comment - The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.
    • UpdateAttachmentDataOperationSpec

      protected UpdateAttachmentDataOperationSpec()
  • 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 update.
    • _file

      @NotNull public @NotNull File _file()
      The relative location and name of the attachment to be added to the content.
    • minorEdit

      @NotNull public @NotNull File minorEdit()
      If minorEdits is set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.
    • comment

      @Nullable public @Nullable File comment()
      The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.
    • id

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

      public UpdateAttachmentDataOperationSpec attachmentId(@NotNull @NotNull String attachmentId)
      The ID of the attachment to update.
      Gibt zurück:
      this.
    • _file

      public UpdateAttachmentDataOperationSpec _file(@NotNull @NotNull File _file)
      The relative location and name of the attachment to be added to the content.
      Gibt zurück:
      this.
    • minorEdit

      public UpdateAttachmentDataOperationSpec minorEdit(@NotNull @NotNull File minorEdit)
      If minorEdits is set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.
      Gibt zurück:
      this.
    • comment

      public UpdateAttachmentDataOperationSpec comment(@Nullable @Nullable File comment)
      The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.
      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