Klasse Attachment

java.lang.Object
io.github.primelib.jira4j.restv2.model.Attachment

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Attachment extends Object
Attachment
  • Felddetails

    • author

      protected AttachmentAuthor author
    • content

      protected String content
      The content of the attachment.
    • created

      protected OffsetDateTime created
      The datetime the attachment was created.
    • filename

      protected String filename
      The file name of the attachment.
    • id

      protected String id
      The ID of the attachment.
    • mimeType

      protected String mimeType
      The MIME type of the attachment.
    • self

      protected String self
      The URL of the attachment details response.
    • fileSize

      protected Long fileSize
      The size of the attachment.
    • thumbnail

      protected String thumbnail
      The URL of a thumbnail representing the attachment.
  • Konstruktordetails

    • Attachment

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

      @Internal public Attachment(AttachmentAuthor author, String content, OffsetDateTime created, String filename, String id, String mimeType, String self, Long fileSize, String thumbnail)
      Constructs a validated instance of Attachment.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Attachment(Consumer) instead.

      Parameter:
      author - author
      content - The content of the attachment.
      created - The datetime the attachment was created.
      filename - The file name of the attachment.
      id - The ID of the attachment.
      mimeType - The MIME type of the attachment.
      self - The URL of the attachment details response.
      fileSize - The size of the attachment.
      thumbnail - The URL of a thumbnail representing the attachment.
    • Attachment

      protected Attachment()
  • Methodendetails

    • builder

      public static Attachment.AttachmentBuilder builder()
    • author

      public AttachmentAuthor author()
    • content

      public String content()
      The content of the attachment.
    • created

      public OffsetDateTime created()
      The datetime the attachment was created.
    • filename

      public String filename()
      The file name of the attachment.
    • id

      public String id()
      The ID of the attachment.
    • mimeType

      public String mimeType()
      The MIME type of the attachment.
    • self

      public String self()
      The URL of the attachment details response.
    • fileSize

      public Long fileSize()
      The size of the attachment.
    • thumbnail

      public String thumbnail()
      The URL of a thumbnail representing the attachment.
    • author

      public Attachment author(AttachmentAuthor author)
      Gibt zurück:
      this.
    • content

      public Attachment content(String content)
      The content of the attachment.
      Gibt zurück:
      this.
    • created

      public Attachment created(OffsetDateTime created)
      The datetime the attachment was created.
      Gibt zurück:
      this.
    • filename

      public Attachment filename(String filename)
      The file name of the attachment.
      Gibt zurück:
      this.
    • id

      public Attachment id(String id)
      The ID of the attachment.
      Gibt zurück:
      this.
    • mimeType

      public Attachment mimeType(String mimeType)
      The MIME type of the attachment.
      Gibt zurück:
      this.
    • self

      public Attachment self(String self)
      The URL of the attachment details response.
      Gibt zurück:
      this.
    • fileSize

      public Attachment fileSize(Long fileSize)
      The size of the attachment.
      Gibt zurück:
      this.
    • thumbnail

      public Attachment thumbnail(String thumbnail)
      The URL of a thumbnail representing 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