Class: JIRA::Avatar

Inherits:
DynamicEntity show all
Defined in:
lib/jiraSOAP/entities/avatar.rb

Overview

TODO:

find out what the id value of @owner relates to

Contains a base64 encoded avatar image and metadata about the avatar.

Instance Method Summary collapse

Methods inherited from DynamicEntity

#id

Methods inherited from Entity

add_attribute, inherited, #initialize_with_xml, new_with_xml

Instance Method Details

#base64_dataString Also known as: data

Returns:

  • (String)


25
# File 'lib/jiraSOAP/entities/avatar.rb', line 25

add_attribute :base64_data, 'base64Data', :content

#mime_typeString Also known as: content_type

Returns:

  • (String)


20
# File 'lib/jiraSOAP/entities/avatar.rb', line 20

add_attribute :mime_type, 'contentType', :content

#ownerString

This seems to be an id ref to some other object

Returns:

  • (String)


11
# File 'lib/jiraSOAP/entities/avatar.rb', line 11

add_attribute :owner, 'owner', :content

#systemBoolean

Indicates if the image is the system default

Returns:

  • (Boolean)


33
# File 'lib/jiraSOAP/entities/avatar.rb', line 33

add_attribute :system, 'system', :to_boolean

#typeString

The place where the avatar is used (e.g. 'project')

Returns:

  • (String)


17
# File 'lib/jiraSOAP/entities/avatar.rb', line 17

add_attribute :type, 'type', :content