Class: Canvas::Models::File

Inherits:
BaseModel show all
Defined in:
app/models/canvas/models/file.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#==, #after_initialize, #initialize

Constructor Details

This class inherits a constructor from Canvas::Models::BaseModel

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def content_type
  @content_type
end

#created_atObject

Returns the value of attribute created_at.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def created_at
  @created_at
end

#display_nameObject

Returns the value of attribute display_name.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def display_name
  @display_name
end

#hiddenObject

Returns the value of attribute hidden.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def hidden
  @hidden
end

#hidden_for_userObject

Returns the value of attribute hidden_for_user.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def hidden_for_user
  @hidden_for_user
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def id
  @id
end

#lock_atObject

Returns the value of attribute lock_at.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def lock_at
  @lock_at
end

#lockedObject

Returns the value of attribute locked.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def locked
  @locked
end

#locked_for_userObject

Returns the value of attribute locked_for_user.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def locked_for_user
  @locked_for_user
end

#sizeObject

Returns the value of attribute size.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def size
  @size
end

#unlock_atObject

Returns the value of attribute unlock_at.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def unlock_at
  @unlock_at
end

#updated_atObject

Returns the value of attribute updated_at.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'app/models/canvas/models/file.rb', line 3

def url
  @url
end