Class: Pandarus::PageRevision

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/page_revision.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_revision.rb', line 6

def body
  @body
end

#edited_byObject

Returns the value of attribute edited_by.



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

def edited_by
  @edited_by
end

#latestObject

Returns the value of attribute latest.



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

def latest
  @latest
end

#revision_idObject

Returns the value of attribute revision_id.



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

def revision_id
  @revision_id
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/pandarus/models/page_revision.rb', line 9

def self.attribute_map
  {
    :revision_id => {:external => "revision_id", :container => false, :type => "Integer"},
    :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
    :latest => {:external => "latest", :container => false, :type => nil},
    :edited_by => {:external => "edited_by", :container => false, :type => "User"},
    :url => {:external => "url", :container => false, :type => "String"},
    :title => {:external => "title", :container => false, :type => "String"},
    :body => {:external => "body", :container => false, :type => "String"}

  }
end