Class: Pandarus::ModuleItem

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/module_item.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

#completion_requirementObject

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_detailsObject

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_idObject

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_urlObject

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_urlObject

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#indentObject

Returns the value of attribute indent.



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

def indent
  @indent
end

#module_idObject

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_tabObject

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_urlObject

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

#positionObject

Returns the value of attribute position.



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

def position
  @position
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#urlObject

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_mapObject



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