Class: Pandarus::Collaborator

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/collaborator.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/pandarus/models/collaborator.rb', line 6

def id
  @id
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/pandarus/models/collaborator.rb', line 6

def name
  @name
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/pandarus/models/collaborator.rb', line 6

def type
  @type
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
# File 'lib/pandarus/models/collaborator.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => "Integer"},
    :type => {:external => "type", :container => false, :type => "String"},
    :name => {:external => "name", :container => false, :type => "String"}

  }
end