Class: Pandarus::File

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/file.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/file.rb', line 6

def content_type
  @content_type
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#display_nameObject

Returns the value of attribute display_name.



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

def display_name
  @display_name
end

#hiddenObject

Returns the value of attribute hidden.



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

def hidden
  @hidden
end

#hidden_for_userObject

Returns the value of attribute hidden_for_user.



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

def hidden_for_user
  @hidden_for_user
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#lock_atObject

Returns the value of attribute lock_at.



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

def lock_at
  @lock_at
end

#lock_explanationObject

Returns the value of attribute lock_explanation.



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

def lock_explanation
  @lock_explanation
end

#lock_infoObject

Returns the value of attribute lock_info.



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

def lock_info
  @lock_info
end

#lockedObject

Returns the value of attribute locked.



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

def locked
  @locked
end

#locked_for_userObject

Returns the value of attribute locked_for_user.



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

def locked_for_user
  @locked_for_user
end

#sizeObject

Returns the value of attribute size.



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

def size
  @size
end

#thumbnail_urlObject

Returns the value of attribute thumbnail_url.



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

def thumbnail_url
  @thumbnail_url
end

#unlock_atObject

Returns the value of attribute unlock_at.



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

def unlock_at
  @unlock_at
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/pandarus/models/file.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
22
23
24
25
26
27
28
29
# File 'lib/pandarus/models/file.rb', line 9

def self.attribute_map
  {
    :size => {:external => "size", :container => false, :type => "Integer"},
    :content_type => {:external => "content-type", :container => false, :type => "String"},
    :url => {:external => "url", :container => false, :type => "String"},
    :id => {:external => "id", :container => false, :type => "Integer"},
    :display_name => {:external => "display_name", :container => false, :type => "String"},
    :created_at => {:external => "created_at", :container => false, :type => "DateTime"},
    :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
    :unlock_at => {:external => "unlock_at", :container => false, :type => "DateTime"},
    :locked => {:external => "locked", :container => false, :type => nil},
    :hidden => {:external => "hidden", :container => false, :type => nil},
    :lock_at => {:external => "lock_at", :container => false, :type => "DateTime"},
    :locked_for_user => {:external => "locked_for_user", :container => false, :type => nil},
    :lock_info => {:external => "lock_info", :container => false, :type => "LockInfo"},
    :lock_explanation => {:external => "lock_explanation", :container => false, :type => "String"},
    :hidden_for_user => {:external => "hidden_for_user", :container => false, :type => nil},
    :thumbnail_url => {:external => "thumbnail_url", :container => false, :type => "String"}

  }
end