Class: Pandarus::Avatar
- Defined in:
- lib/pandarus/models/avatar.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#id ⇒ Object
Returns the value of attribute id.
-
#size ⇒ Object
Returns the value of attribute size.
-
#token ⇒ Object
Returns the value of attribute token.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
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
#content_type ⇒ Object
Returns the value of attribute content_type.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def content_type @content_type end |
#display_name ⇒ Object
Returns the value of attribute display_name.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def display_name @display_name end |
#filename ⇒ Object
Returns the value of attribute filename.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def filename @filename end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def id @id end |
#size ⇒ Object
Returns the value of attribute size.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def size @size end |
#token ⇒ Object
Returns the value of attribute token.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def token @token end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/pandarus/models/avatar.rb', line 6 def url @url end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/pandarus/models/avatar.rb', line 9 def self.attribute_map { :type => {:external => "type", :container => false, :type => "String"}, :url => {:external => "url", :container => false, :type => "String"}, :token => {:external => "token", :container => false, :type => "String"}, :display_name => {:external => "display_name", :container => false, :type => "String"}, :id => {:external => "id", :container => false, :type => "Integer"}, :content_type => {:external => "content-type", :container => false, :type => "String"}, :filename => {:external => "filename", :container => false, :type => "String"}, :size => {:external => "size", :container => false, :type => "Integer"} } end |