Class: Jira4R::V2::RemoteAttachment

Inherits:
AbstractRemoteEntity show all
Defined in:
lib/jira4r/v2/jira_service.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.



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

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.



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

def author
  @author
end

#createdObject

Returns the value of attribute created.



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

def created
  @created
end

#filenameObject

Returns the value of attribute filename.



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

def filename
  @filename
end

#filesizeObject

Returns the value of attribute filesize.



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

def filesize
  @filesize
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#mimetypeObject

Returns the value of attribute mimetype.



431
432
433
# File 'lib/jira4r/v2/jira_service.rb', line 431

def mimetype
  @mimetype
end