Class: Pandarus::Page

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

#bodyObject

Returns the value of attribute body.



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

def body
  @body
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#editing_rolesObject

Returns the value of attribute editing_roles.



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

def editing_roles
  @editing_roles
end

#front_pageObject

Returns the value of attribute front_page.



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

def front_page
  @front_page
end

#hide_from_studentsObject

Returns the value of attribute hide_from_students.



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

def hide_from_students
  @hide_from_students
end

#last_edited_byObject

Returns the value of attribute last_edited_by.



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

def last_edited_by
  @last_edited_by
end

#lock_explanationObject

Returns the value of attribute lock_explanation.



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

def lock_explanation
  @lock_explanation
end

#lock_infoObject

Returns the value of attribute lock_info.



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

def lock_info
  @lock_info
end

#locked_for_userObject

Returns the value of attribute locked_for_user.



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

def locked_for_user
  @locked_for_user
end

#publishedObject

Returns the value of attribute published.



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

def published
  @published
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/pandarus/models/page.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
# File 'lib/pandarus/models/page.rb', line 9

def self.attribute_map
  {
    :url => {:external => "url", :container => false, :type => "String"},
    :title => {:external => "title", :container => false, :type => "String"},
    :created_at => {:external => "created_at", :container => false, :type => "DateTime"},
    :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
    :hide_from_students => {:external => "hide_from_students", :container => false, :type => nil},
    :editing_roles => {:external => "editing_roles", :container => false, :type => "String"},
    :last_edited_by => {:external => "last_edited_by", :container => false, :type => "User"},
    :body => {:external => "body", :container => false, :type => "String"},
    :published => {:external => "published", :container => false, :type => nil},
    :front_page => {:external => "front_page", :container => false, :type => nil},
    :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"}

  }
end