public class Attachment extends MapObject implements ConfluenceService.Model.Attachment
| Constructor and Description |
|---|
Attachment() |
Attachment(Map<String,Object> data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
comment for the attachment {color:#cc3300}(Required){color}
|
String |
getContentType()
mime content type of the attachment {color:#cc0000}(Required){color}
|
Date |
getCreated()
creation date of the attachment
|
String |
getCreator()
creator of the attachment
|
String |
getFileName()
file name of the attachment {color:#cc3300}(Required){color}
|
String |
getFileSize()
numeric file size of the attachment in bytes
|
ConfluenceService.Model.ID |
getId()
numeric id of the attachment
|
ConfluenceService.Model.ID |
getPageId()
page ID of the attachment
|
String |
getTitle()
title of the attachment
|
String |
getUrl()
url to download the attachment online
|
void |
setComment(String comment) |
void |
setContentType(String contentType) |
void |
setCreated(Date created) |
void |
setCreator(String creator) |
void |
setFileName(String fileName) |
void |
setFileSize(String fileSize) |
void |
setId(ConfluenceService.Model.ID id) |
void |
setPageId(ConfluenceService.Model.ID pageId) |
void |
setTitle(String title) |
void |
setUrl(String url) |
Map<String,Object> |
toRawMap() |
String |
toString() |
public ConfluenceService.Model.ID getId()
public void setId(ConfluenceService.Model.ID id)
public ConfluenceService.Model.ID getPageId()
public void setPageId(ConfluenceService.Model.ID pageId)
public String getTitle()
public void setTitle(String title)
public String getFileName()
getFileName in interface ConfluenceService.Model.Attachmentpublic void setFileName(String fileName)
setFileName in interface ConfluenceService.Model.Attachmentpublic String getFileSize()
public void setFileSize(String fileSize)
public String getContentType()
public void setContentType(String contentType)
setContentType in interface ConfluenceService.Model.Attachmentpublic Date getCreated()
getCreated in interface ConfluenceService.Model.Attachmentpublic void setCreated(Date created)
public String getCreator()
public void setCreator(String creator)
public String getUrl()
public void setUrl(String url)
public String getComment()
public void setComment(String comment)
setComment in interface ConfluenceService.Model.AttachmentCopyright © 2020. All rights reserved.