Class: Pandarus::ModuleItem
- Defined in:
- lib/pandarus/models/module_item.rb
Instance Attribute Summary collapse
-
#completion_requirement ⇒ Object
Returns the value of attribute completion_requirement.
-
#content_details ⇒ Object
Returns the value of attribute content_details.
-
#content_id ⇒ Object
Returns the value of attribute content_id.
-
#external_url ⇒ Object
Returns the value of attribute external_url.
-
#html_url ⇒ Object
Returns the value of attribute html_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#module_id ⇒ Object
Returns the value of attribute module_id.
-
#new_tab ⇒ Object
Returns the value of attribute new_tab.
-
#page_url ⇒ Object
Returns the value of attribute page_url.
-
#position ⇒ Object
Returns the value of attribute position.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#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
#completion_requirement ⇒ Object
Returns the value of attribute completion_requirement.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def completion_requirement @completion_requirement end |
#content_details ⇒ Object
Returns the value of attribute content_details.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def content_details @content_details end |
#content_id ⇒ Object
Returns the value of attribute content_id.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def content_id @content_id end |
#external_url ⇒ Object
Returns the value of attribute external_url.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def external_url @external_url end |
#html_url ⇒ Object
Returns the value of attribute html_url.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def html_url @html_url end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def id @id end |
#indent ⇒ Object
Returns the value of attribute indent.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def indent @indent end |
#module_id ⇒ Object
Returns the value of attribute module_id.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def module_id @module_id end |
#new_tab ⇒ Object
Returns the value of attribute new_tab.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def new_tab @new_tab end |
#page_url ⇒ Object
Returns the value of attribute page_url.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def page_url @page_url end |
#position ⇒ Object
Returns the value of attribute position.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def position @position end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/pandarus/models/module_item.rb', line 6 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/pandarus/models/module_item.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 |
# File 'lib/pandarus/models/module_item.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "Integer"}, :module_id => {:external => "module_id", :container => false, :type => "Integer"}, :position => {:external => "position", :container => false, :type => "Integer"}, :title => {:external => "title", :container => false, :type => "String"}, :indent => {:external => "indent", :container => false, :type => "Integer"}, :type => {:external => "type", :container => false, :type => "String"}, :content_id => {:external => "content_id", :container => false, :type => "Integer"}, :html_url => {:external => "html_url", :container => false, :type => "String"}, :url => {:external => "url", :container => false, :type => "String"}, :page_url => {:external => "page_url", :container => false, :type => "String"}, :external_url => {:external => "external_url", :container => false, :type => "String"}, :new_tab => {:external => "new_tab", :container => false, :type => nil}, :completion_requirement => {:external => "completion_requirement", :container => false, :type => "CompletionRequirement"}, :content_details => {:external => "content_details", :container => false, :type => "ContentDetails"} } end |