Klasse Attachment
java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.Attachment
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Attachment
extends Object
Attachment
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected AttachmentLinksprotected StringID of the containing blog post.protected StringComment for the attachment.protected OffsetDateTimeDate and time when the attachment was created.protected StringID of the containing custom content.protected StringDownload link of the attachment.protected StringFile ID of the attachment.protected LongFile size of the attachment.protected StringID of the attachment.protected StringMedia Type for the attachment.protected StringMedia Type description for the attachment.protected StringID of the containing page.protected ContentStatusprotected StringTitle of the comment.protected Versionprotected StringWebUI link of the attachment. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAttachment(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 ofAttachment.Attachment(Consumer<Attachment> spec) Constructs a validated instance ofAttachment. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung_links()_links(AttachmentLinks _links) ID of the containing blog post.blogPostId(String blogPostId) ID of the containing blog post.static Attachment.AttachmentBuilderbuilder()protected booleancomment()Comment for the attachment.Comment for the attachment.Date and time when the attachment was created.createdAt(OffsetDateTime createdAt) Date and time when the attachment was created.ID of the containing custom content.customContentId(String customContentId) ID of the containing custom content.Download link of the attachment.downloadLink(String downloadLink) Download link of the attachment.booleanfileId()File ID of the attachment.File ID of the attachment.fileSize()File size of the attachment.File size of the attachment.inthashCode()id()ID of the attachment.ID of the attachment.Media Type for the attachment.Media Type for the attachment.Media Type description for the attachment.mediaTypeDescription(String mediaTypeDescription) Media Type description for the attachment.pageId()ID of the containing page.ID of the containing page.status()status(ContentStatus status) title()Title of the comment.Title of the comment.toString()version()WebUI link of the attachment.WebUI link of the attachment.
-
Felddetails
-
id
ID of the attachment. -
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 inatlas_doc_formatbodies 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
-
_links
-
-
Konstruktordetails
-
Attachment
Constructs a validated instance ofAttachment.- 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 ofAttachment.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- statustitle- 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 inatlas_doc_formatbodies 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
-
id
ID of the attachment. -
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 inatlas_doc_formatbodies 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
-
_links
-
id
ID of the attachment.- Gibt zurück:
this.
-
status
- Gibt zurück:
this.
-
title
Title of the comment.- Gibt zurück:
this.
-
createdAt
Date and time when the attachment was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".- Gibt zurück:
this.
-
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
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
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
Media Type for the attachment.- Gibt zurück:
this.
-
mediaTypeDescription
Media Type description for the attachment.- Gibt zurück:
this.
-
comment
Comment for the attachment.- Gibt zurück:
this.
-
fileId
File ID of the attachment. This is the ID referenced inatlas_doc_formatbodies and is distinct from the attachment ID.- Gibt zurück:
this.
-
fileSize
File size of the attachment.- Gibt zurück:
this.
-
webuiLink
WebUI link of the attachment.- Gibt zurück:
this.
-
downloadLink
Download link of the attachment.- Gibt zurück:
this.
-
version
- Gibt zurück:
this.
-
_links
- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-