Class: Pandarus::Collection

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

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

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

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#followed_by_userObject

Returns the value of attribute followed_by_user.



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

def followed_by_user
  @followed_by_user
end

#followers_countObject

Returns the value of attribute followers_count.



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

def followers_count
  @followers_count
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#items_countObject

Returns the value of attribute items_count.



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

def items_count
  @items_count
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#visibilityObject

Returns the value of attribute visibility.



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

def visibility
  @visibility
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/pandarus/models/collection.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => nil},
    :name => {:external => "name", :container => false, :type => nil},
    :visibility => {:external => "visibility", :container => false, :type => nil},
    :followed_by_user => {:external => "followed_by_user", :container => false, :type => nil},
    :followers_count => {:external => "followers_count", :container => false, :type => nil},
    :items_count => {:external => "items_count", :container => false, :type => nil}

  }
end