Class: Google::Apis::ClassroomV1::GradeHistory
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::GradeHistory
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
The history of each grade on this submission.
Instance Attribute Summary collapse
- 
  
    
      #actor_user_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The teacher who made the grade change. 
- 
  
    
      #grade_change_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of grade change at this time in the submission grade history. 
- 
  
    
      #grade_timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    When the grade of the submission was changed. 
- 
  
    
      #max_points  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The denominator of the grade at this time in the submission grade history. 
- 
  
    
      #points_earned  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The numerator of the grade at this time in the submission grade history. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GradeHistory 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GradeHistory. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GradeHistory
Returns a new instance of GradeHistory
| 939 940 941 | # File 'generated/google/apis/classroom_v1/classes.rb', line 939 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#actor_user_id ⇒ String
The teacher who made the grade change.
Corresponds to the JSON property actorUserId
| 916 917 918 | # File 'generated/google/apis/classroom_v1/classes.rb', line 916 def actor_user_id @actor_user_id end | 
#grade_change_type ⇒ String
The type of grade change at this time in the submission grade history.
Corresponds to the JSON property gradeChangeType
| 921 922 923 | # File 'generated/google/apis/classroom_v1/classes.rb', line 921 def grade_change_type @grade_change_type end | 
#grade_timestamp ⇒ String
When the grade of the submission was changed.
Corresponds to the JSON property gradeTimestamp
| 926 927 928 | # File 'generated/google/apis/classroom_v1/classes.rb', line 926 def @grade_timestamp end | 
#max_points ⇒ Float
The denominator of the grade at this time in the submission grade
history.
Corresponds to the JSON property maxPoints
| 932 933 934 | # File 'generated/google/apis/classroom_v1/classes.rb', line 932 def max_points @max_points end | 
#points_earned ⇒ Float
The numerator of the grade at this time in the submission grade history.
Corresponds to the JSON property pointsEarned
| 937 938 939 | # File 'generated/google/apis/classroom_v1/classes.rb', line 937 def points_earned @points_earned end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 944 945 946 947 948 949 950 | # File 'generated/google/apis/classroom_v1/classes.rb', line 944 def update!(**args) @actor_user_id = args[:actor_user_id] if args.key?(:actor_user_id) @grade_change_type = args[:grade_change_type] if args.key?(:grade_change_type) @grade_timestamp = args[:grade_timestamp] if args.key?(:grade_timestamp) @max_points = args[:max_points] if args.key?(:max_points) @points_earned = args[:points_earned] if args.key?(:points_earned) end |