Class: Pandarus::Module

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/module.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#completed_atObject

Returns the value of attribute completed_at.



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

def completed_at
  @completed_at
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#itemsObject

Returns the value of attribute items.



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

def items
  @items
end

#items_countObject

Returns the value of attribute items_count.



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

def items_count
  @items_count
end

#items_urlObject

Returns the value of attribute items_url.



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

def items_url
  @items_url
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#positionObject

Returns the value of attribute position.



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

def position
  @position
end

#prerequisite_module_idsObject

Returns the value of attribute prerequisite_module_ids.



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

def prerequisite_module_ids
  @prerequisite_module_ids
end

#publish_final_gradeObject

Returns the value of attribute publish_final_grade.



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

def publish_final_grade
  @publish_final_grade
end

#require_sequential_progressObject

Returns the value of attribute require_sequential_progress.



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

def require_sequential_progress
  @require_sequential_progress
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#unlock_atObject

Returns the value of attribute unlock_at.



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

def unlock_at
  @unlock_at
end

#workflow_stateObject

Returns the value of attribute workflow_state.



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

def workflow_state
  @workflow_state
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/pandarus/models/module.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => nil},
    :workflow_state => {:external => "workflow_state", :container => false, :type => nil},
    :position => {:external => "position", :container => false, :type => nil},
    :name => {:external => "name", :container => false, :type => nil},
    :unlock_at => {:external => "unlock_at", :container => false, :type => nil},
    :require_sequential_progress => {:external => "require_sequential_progress", :container => false, :type => nil},
    :prerequisite_module_ids => {:external => "prerequisite_module_ids", :container => false, :type => nil},
    :items_count => {:external => "items_count", :container => false, :type => nil},
    :items_url => {:external => "items_url", :container => false, :type => nil},
    :items => {:external => "items", :container => false, :type => nil},
    :state => {:external => "state", :container => false, :type => nil},
    :completed_at => {:external => "completed_at", :container => false, :type => nil},
    :publish_final_grade => {:external => "publish_final_grade", :container => false, :type => nil}

  }
end