com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class Attachment

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Attachment

public class Attachment
extends Object

Representation of an attachment in the JIRA REST API. Example JSON:

 {
   self: http://localhost:8090/jira/rest/api/2/attachment/10000
   filename: attachment.txt
   author: {
     self: http://localhost:8090/jira/rest/api/2/user?username=admin
     name: admin
     displayName: Administrator
   }
   created: 2010-06-09T15:59:34.602+1000
   size: 19
   mimeType: text/plain
   content: http://localhost:8090/jira/secure/attachment/10000/attachment.txt
 }
 

Since:
v4.3

Field Summary
 User author
           
 String content
           
 String created
           
 String filename
           
 String id
           
 String mimeType
           
 Map<String,Object> properties
           
 String self
           
 long size
           
 String thumbnail
           
 
Constructor Summary
Attachment()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public String id

self

public String self

filename

public String filename

author

public User author

created

public String created

size

public long size

mimeType

public String mimeType

content

public String content

thumbnail

public String thumbnail

properties

public Map<String,Object> properties
Constructor Detail

Attachment

public Attachment()


Copyright © 2002-2012 Atlassian. All Rights Reserved.