com.atlassian.jira.issue.fields.rest.json.beans
Class AttachmentJsonBean
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.beans.AttachmentJsonBean
public class AttachmentJsonBean
- extends Object
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentJsonBean
public AttachmentJsonBean()
getSelf
public String getSelf()
setSelf
public void setSelf(String self)
getId
public String getId()
setId
public void setId(String id)
getFilename
public String getFilename()
setFilename
public void setFilename(String filename)
getAuthor
public UserJsonBean getAuthor()
setAuthor
public void setAuthor(UserJsonBean author)
getCreated
public Date getCreated()
setCreated
public void setCreated(Date created)
getSize
public long getSize()
setSize
public void setSize(long size)
getMimeType
public String getMimeType()
setMimeType
public void setMimeType(String mimeType)
getContent
public String getContent()
setContent
public void setContent(String content)
getThumbnail
public String getThumbnail()
setThumbnail
public void setThumbnail(String thumbnail)
shortBeans
public static Collection<AttachmentJsonBean> shortBeans(Collection<Attachment> attachments,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager)
shortBean
public static AttachmentJsonBean shortBean(Attachment attachment,
JiraBaseUrls urls,
ThumbnailManager thumbnailManager)
- Returns:
- null if the input is null
Copyright © 2002-2012 Atlassian. All Rights Reserved.