java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.Attachment

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

    • id

      protected String id
      ID of the attachment.
    • status

      protected ContentStatus status
    • title

      protected String title
      Title of the comment.
    • createdAt

      protected OffsetDateTime createdAt
      Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • pageId

      protected String pageId
      ID of the containing page. Note: This is only returned if the attachment has a container that is a page.
    • blogPostId

      protected String blogPostId
      ID of the containing blog post. Note: This is only returned if the attachment has a container that is a blog post.
    • customContentId

      protected String customContentId
      ID of the containing custom content. Note: This is only returned if the attachment has a container that is custom content.
    • mediaType

      protected String mediaType
      Media Type for the attachment.
    • mediaTypeDescription

      protected String mediaTypeDescription
      Media Type description for the attachment.
    • comment

      protected String comment
      Comment for the attachment.
    • fileId

      protected String fileId
      File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.
    • fileSize

      protected Long fileSize
      File size of the attachment.
    • version

      protected Version version
  • Konstruktordetails

    • Attachment

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

      @Internal public Attachment(String id, ContentStatus status, String title, OffsetDateTime createdAt, String pageId, String blogPostId, String customContentId, String mediaType, String mediaTypeDescription, String comment, String fileId, Long fileSize, String webuiLink, String downloadLink, Version version, AttachmentLinks _links)
      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:
      id - ID of the attachment.
      status - status
      title - Title of the comment.
      createdAt - Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      pageId - ID of the containing page. Note: This is only returned if the attachment has a container that is a page.
      blogPostId - ID of the containing blog post. Note: This is only returned if the attachment has a container that is a blog post.
      customContentId - ID of the containing custom content. Note: This is only returned if the attachment has a container that is custom content.
      mediaType - Media Type for the attachment.
      mediaTypeDescription - Media Type description for the attachment.
      comment - Comment for the attachment.
      fileId - File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.
      fileSize - File size of the attachment.
      webuiLink - WebUI link of the attachment.
      downloadLink - Download link of the attachment.
      version - version
      _links - _links
    • Attachment

      protected Attachment()
  • Methodendetails

    • builder

      public static Attachment.AttachmentBuilder builder()
    • id

      public String id()
      ID of the attachment.
    • status

      public ContentStatus status()
    • title

      public String title()
      Title of the comment.
    • createdAt

      public OffsetDateTime createdAt()
      Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
    • pageId

      public String pageId()
      ID of the containing page. Note: This is only returned if the attachment has a container that is a page.
    • blogPostId

      public String blogPostId()
      ID of the containing blog post. Note: This is only returned if the attachment has a container that is a blog post.
    • customContentId

      public String customContentId()
      ID of the containing custom content. Note: This is only returned if the attachment has a container that is custom content.
    • mediaType

      public String mediaType()
      Media Type for the attachment.
    • mediaTypeDescription

      public String mediaTypeDescription()
      Media Type description for the attachment.
    • comment

      public String comment()
      Comment for the attachment.
    • fileId

      public String fileId()
      File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.
    • fileSize

      public Long fileSize()
      File size of the attachment.
    • webuiLink

      public String webuiLink()
      WebUI link of the attachment.
    • downloadLink

      public String downloadLink()
      Download link of the attachment.
    • version

      public Version version()
    • _links

      public AttachmentLinks _links()
    • id

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

      public Attachment status(ContentStatus status)
      Gibt zurück:
      this.
    • title

      public Attachment title(String title)
      Title of the comment.
      Gibt zurück:
      this.
    • createdAt

      public Attachment createdAt(OffsetDateTime createdAt)
      Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".
      Gibt zurück:
      this.
    • pageId

      public Attachment pageId(String pageId)
      ID of the containing page. Note: This is only returned if the attachment has a container that is a page.
      Gibt zurück:
      this.
    • blogPostId

      public Attachment blogPostId(String blogPostId)
      ID of the containing blog post. Note: This is only returned if the attachment has a container that is a blog post.
      Gibt zurück:
      this.
    • customContentId

      public Attachment customContentId(String customContentId)
      ID of the containing custom content. Note: This is only returned if the attachment has a container that is custom content.
      Gibt zurück:
      this.
    • mediaType

      public Attachment mediaType(String mediaType)
      Media Type for the attachment.
      Gibt zurück:
      this.
    • mediaTypeDescription

      public Attachment mediaTypeDescription(String mediaTypeDescription)
      Media Type description for the attachment.
      Gibt zurück:
      this.
    • comment

      public Attachment comment(String comment)
      Comment for the attachment.
      Gibt zurück:
      this.
    • fileId

      public Attachment fileId(String fileId)
      File ID of the attachment. This is the ID referenced in atlas_doc_format bodies and is distinct from the attachment ID.
      Gibt zurück:
      this.
    • fileSize

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

      public Attachment webuiLink(String webuiLink)
      WebUI link of the attachment.
      Gibt zurück:
      this.
    • downloadLink

      public Attachment downloadLink(String downloadLink)
      Download link of the attachment.
      Gibt zurück:
      this.
    • version

      public Attachment version(Version version)
      Gibt zurück:
      this.
    • _links

      public Attachment _links(AttachmentLinks _links)
      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