Class: JIRA::AttachmentMetadata

Inherits:
NamedEntity show all
Defined in:
lib/jiraSOAP/entities/attachment_metadata.rb

Overview

TODO:

add an attribute to fetch the attachment

Only contains the metadata for an attachment. The URI for an attachment appears to be of the form "JIRAService.endpoint_url/secure/attachment/DynamicEntity#id/#file_name"

Instance Attribute Summary collapse

Attributes inherited from NamedEntity

#name

Attributes inherited from DynamicEntity

#id

Method Summary

Methods inherited from Entity

add_attributes, #initialize_with_xml, new_with_xml, #to_soap

Instance Attribute Details

#authorString

Corresponds to author in the javadoc.

Returns:

  • (String)

#create_timeTime

Corresponds to created in the javadoc.

Returns:

  • (Time)

#file_nameString

Corresponds to filename in the javadoc.

Returns:

  • (String)

#file_sizeFixnum

Corresponds to filesize in the javadoc.

Measured in bytes.

Returns:

  • (Fixnum)

#mime_typeString

Corresponds to mimetype in the javadoc.

Returns:

  • (String)