Class: Pandarus::GradingStandard

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

#context_idObject

Returns the value of attribute context_id.



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

def context_id
  @context_id
end

#context_typeObject

Returns the value of attribute context_type.



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

def context_type
  @context_type
end

#grading_schemeObject

Returns the value of attribute grading_scheme.



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

def grading_scheme
  @grading_scheme
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

Class Method Details

.attribute_mapObject



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

def self.attribute_map
  {
    :title => {:external => "title", :container => false, :type => "String"},
    :id => {:external => "id", :container => false, :type => "Integer"},
    :context_type => {:external => "context_type", :container => false, :type => "String"},
    :context_id => {:external => "context_id", :container => false, :type => "Integer"},
    :grading_scheme => {:external => "grading_scheme", :container => true, :type => "GradingSchemeEntry"}

  }
end