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 Attribute Summary collapse

Attributes inherited from DynamicEntity

#id

Method Summary

Methods inherited from Entity

add_attributes, #initialize_with_xml, new_with_xml

Instance Attribute Details

#base64_dataString

Returns:

  • (String)


22
23
24
# File 'lib/jiraSOAP/entities/avatar.rb', line 22

def base64_data
  @base64_data
end

#mime_typeString

Returns:

  • (String)


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

def mime_type
  @mime_type
end

#ownerString

Returns this seems to be an id ref to some other object.

Returns:

  • (String)

    this seems to be an id ref to some other object



13
14
15
# File 'lib/jiraSOAP/entities/avatar.rb', line 13

def owner
  @owner
end

#systemboolean Also known as: system?

Returns indicates if the image is the system default.

Returns:

  • (boolean)

    indicates if the image is the system default



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

def system
  @system
end

#typeString

Returns the place where the avatar is used (e.g. ‘project’).

Returns:

  • (String)

    the place where the avatar is used (e.g. ‘project’)



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

def type
  @type
end