Class: Pandarus::SubmissionVersion

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

#assignment_idObject

Returns the value of attribute assignment_id.



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

def assignment_id
  @assignment_id
end

#assignment_nameObject

Returns the value of attribute assignment_name.



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

def assignment_name
  @assignment_name
end

#bodyObject

Returns the value of attribute body.



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

def body
  @body
end

#current_gradeObject

Returns the value of attribute current_grade.



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

def current_grade
  @current_grade
end

#current_graded_atObject

Returns the value of attribute current_graded_at.



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

def current_graded_at
  @current_graded_at
end

#current_graderObject

Returns the value of attribute current_grader.



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

def current_grader
  @current_grader
end

#grade_matches_current_submissionObject

Returns the value of attribute grade_matches_current_submission.



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

def grade_matches_current_submission
  @grade_matches_current_submission
end

#graded_atObject

Returns the value of attribute graded_at.



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

def graded_at
  @graded_at
end

#graderObject

Returns the value of attribute grader.



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

def grader
  @grader
end

#grader_idObject

Returns the value of attribute grader_id.



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

def grader_id
  @grader_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#new_gradeObject

Returns the value of attribute new_grade.



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

def new_grade
  @new_grade
end

#new_graded_atObject

Returns the value of attribute new_graded_at.



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

def new_graded_at
  @new_graded_at
end

#new_graderObject

Returns the value of attribute new_grader.



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

def new_grader
  @new_grader
end

#previous_gradeObject

Returns the value of attribute previous_grade.



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

def previous_grade
  @previous_grade
end

#previous_graded_atObject

Returns the value of attribute previous_graded_at.



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

def previous_graded_at
  @previous_graded_at
end

#previous_graderObject

Returns the value of attribute previous_grader.



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

def previous_grader
  @previous_grader
end

#scoreObject

Returns the value of attribute score.



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

def score
  @score
end

#submission_typeObject

Returns the value of attribute submission_type.



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

def submission_type
  @submission_type
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

#user_idObject

Returns the value of attribute user_id.



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

def user_id
  @user_id
end

#user_nameObject

Returns the value of attribute user_name.



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

def user_name
  @user_name
end

#workflow_stateObject

Returns the value of attribute workflow_state.



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

def workflow_state
  @workflow_state
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
28
29
30
31
32
33
34
35
36
# File 'lib/pandarus/models/submission_version.rb', line 9

def self.attribute_map
  {
    :assignment_id => {:external => "assignment_id", :container => false, :type => "Integer"},
    :assignment_name => {:external => "assignment_name", :container => false, :type => "String"},
    :body => {:external => "body", :container => false, :type => "String"},
    :current_grade => {:external => "current_grade", :container => false, :type => "String"},
    :current_graded_at => {:external => "current_graded_at", :container => false, :type => "DateTime"},
    :current_grader => {:external => "current_grader", :container => false, :type => "String"},
    :grade_matches_current_submission => {:external => "grade_matches_current_submission", :container => false, :type => nil},
    :graded_at => {:external => "graded_at", :container => false, :type => "DateTime"},
    :grader => {:external => "grader", :container => false, :type => "String"},
    :grader_id => {:external => "grader_id", :container => false, :type => "Integer"},
    :id => {:external => "id", :container => false, :type => "Integer"},
    :new_grade => {:external => "new_grade", :container => false, :type => "String"},
    :new_graded_at => {:external => "new_graded_at", :container => false, :type => "DateTime"},
    :new_grader => {:external => "new_grader", :container => false, :type => "String"},
    :previous_grade => {:external => "previous_grade", :container => false, :type => "String"},
    :previous_graded_at => {:external => "previous_graded_at", :container => false, :type => "DateTime"},
    :previous_grader => {:external => "previous_grader", :container => false, :type => "String"},
    :score => {:external => "score", :container => false, :type => "Integer"},
    :user_name => {:external => "user_name", :container => false, :type => "String"},
    :submission_type => {:external => "submission_type", :container => false, :type => "String"},
    :url => {:external => "url", :container => false, :type => "String"},
    :user_id => {:external => "user_id", :container => false, :type => "Integer"},
    :workflow_state => {:external => "workflow_state", :container => false, :type => "String"}

  }
end