Class: Pandarus::File
- Defined in:
- lib/pandarus/models/file.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#hidden_for_user ⇒ Object
Returns the value of attribute hidden_for_user.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lock_at ⇒ Object
Returns the value of attribute lock_at.
-
#lock_explanation ⇒ Object
Returns the value of attribute lock_explanation.
-
#lock_info ⇒ Object
Returns the value of attribute lock_info.
-
#locked ⇒ Object
Returns the value of attribute locked.
-
#locked_for_user ⇒ Object
Returns the value of attribute locked_for_user.
-
#size ⇒ Object
Returns the value of attribute size.
-
#thumbnail_url ⇒ Object
Returns the value of attribute thumbnail_url.
-
#unlock_at ⇒ Object
Returns the value of attribute unlock_at.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#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/file.rb', line 6 def content_type @content_type end |
#created_at ⇒ Object
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_name ⇒ Object
Returns the value of attribute display_name.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def display_name @display_name end |
#hidden ⇒ Object
Returns the value of attribute hidden.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def hidden @hidden end |
#hidden_for_user ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def id @id end |
#lock_at ⇒ Object
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_explanation ⇒ Object
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_info ⇒ Object
Returns the value of attribute lock_info.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def lock_info @lock_info end |
#locked ⇒ Object
Returns the value of attribute locked.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def locked @locked end |
#locked_for_user ⇒ Object
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 |
#size ⇒ Object
Returns the value of attribute size.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def size @size end |
#thumbnail_url ⇒ Object
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_at ⇒ Object
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_at ⇒ Object
Returns the value of attribute updated_at.
6 7 8 |
# File 'lib/pandarus/models/file.rb', line 6 def updated_at @updated_at end |
#url ⇒ Object
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_map ⇒ Object
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 |