Class: Pandarus::AssignmentGroup

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

#assignmentsObject

Returns the value of attribute assignments.



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

def assignments
  @assignments
end

#group_weightObject

Returns the value of attribute group_weight.



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

def group_weight
  @group_weight
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#positionObject

Returns the value of attribute position.



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

def position
  @position
end

#rulesObject

Returns the value of attribute rules.



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

def rules
  @rules
end

Class Method Details

.attribute_mapObject



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

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => "Integer"},
    :name => {:external => "name", :container => false, :type => "String"},
    :position => {:external => "position", :container => false, :type => "Integer"},
    :group_weight => {:external => "group_weight", :container => false, :type => "Integer"},
    :assignments => {:external => "assignments", :container => true, :type => "Integer"},
    :rules => {:external => "rules", :container => false, :type => "GradingRules"}

  }
end