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.



464
465
466
467
468
469
470
471
# File 'lib/jira4r/v2/jira_service.rb', line 464

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.



458
459
460
# File 'lib/jira4r/v2/jira_service.rb', line 458

def author
  @author
end

#createdObject

Returns the value of attribute created.



459
460
461
# File 'lib/jira4r/v2/jira_service.rb', line 459

def created
  @created
end

#filenameObject

Returns the value of attribute filename.



460
461
462
# File 'lib/jira4r/v2/jira_service.rb', line 460

def filename
  @filename
end

#filesizeObject

Returns the value of attribute filesize.



461
462
463
# File 'lib/jira4r/v2/jira_service.rb', line 461

def filesize
  @filesize
end

#idObject

Returns the value of attribute id.



457
458
459
# File 'lib/jira4r/v2/jira_service.rb', line 457

def id
  @id
end

#mimetypeObject

Returns the value of attribute mimetype.



462
463
464
# File 'lib/jira4r/v2/jira_service.rb', line 462

def mimetype
  @mimetype
end