Class: Pandarus::Avatar

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/avatar.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

#content_typeObject

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_nameObject

Returns the value of attribute display_name.



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

def display_name
  @display_name
end

#filenameObject

Returns the value of attribute filename.



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

def filename
  @filename
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#sizeObject

Returns the value of attribute size.



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

def size
  @size
end

#tokenObject

Returns the value of attribute token.



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

def token
  @token
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#urlObject

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_mapObject



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