Class: Jira4R::V2::RemoteAttachment

Inherits:
AbstractRemoteEntity show all
Defined in:
lib/jira4r/v2/jiraService.rb

Overview

http://beans.soap.rpc.jira.atlassian.comRemoteAttachment

id - SOAP::SOAPString
author - SOAP::SOAPString
created - SOAP::SOAPDateTime
filename - SOAP::SOAPString
filesize - SOAP::SOAPLong
mimetype - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, author = nil, created = nil, filename = nil, filesize = nil, mimetype = nil) ⇒ RemoteAttachment

Returns a new instance of RemoteAttachment.



432
433
434
435
436
437
438
439
# File 'lib/jira4r/v2/jiraService.rb', line 432

def initialize(id = nil, author = nil, created = nil, filename = nil, filesize = nil, mimetype = nil)
  @id = id
  @author = author
  @created = created
  @filename = filename
  @filesize = filesize
  @mimetype = mimetype
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



426
427
428
# File 'lib/jira4r/v2/jiraService.rb', line 426

def author
  @author
end

#createdObject

Returns the value of attribute created.



427
428
429
# File 'lib/jira4r/v2/jiraService.rb', line 427

def created
  @created
end

#filenameObject

Returns the value of attribute filename.



428
429
430
# File 'lib/jira4r/v2/jiraService.rb', line 428

def filename
  @filename
end

#filesizeObject

Returns the value of attribute filesize.



429
430
431
# File 'lib/jira4r/v2/jiraService.rb', line 429

def filesize
  @filesize
end

#idObject

Returns the value of attribute id.



425
426
427
# File 'lib/jira4r/v2/jiraService.rb', line 425

def id
  @id
end

#mimetypeObject

Returns the value of attribute mimetype.



430
431
432
# File 'lib/jira4r/v2/jiraService.rb', line 430

def mimetype
  @mimetype
end