Class: Google::Apis::ClassroomV1::SubmissionHistory
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::SubmissionHistory
 
- 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 the submission. This currently includes state and grade histories.
Instance Attribute Summary collapse
- 
  
    
      #grade_history  ⇒ Google::Apis::ClassroomV1::GradeHistory 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The history of each grade on this submission. 
- 
  
    
      #state_history  ⇒ Google::Apis::ClassroomV1::StateHistory 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The history of each state this submission has been in. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SubmissionHistory 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SubmissionHistory. 
- 
  
    
      #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) ⇒ SubmissionHistory
Returns a new instance of SubmissionHistory
| 1960 1961 1962 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1960 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#grade_history ⇒ Google::Apis::ClassroomV1::GradeHistory
The history of each grade on this submission.
Corresponds to the JSON property gradeHistory
| 1953 1954 1955 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1953 def grade_history @grade_history end | 
#state_history ⇒ Google::Apis::ClassroomV1::StateHistory
The history of each state this submission has been in.
Corresponds to the JSON property stateHistory
| 1958 1959 1960 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1958 def state_history @state_history end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1965 1966 1967 1968 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1965 def update!(**args) @grade_history = args[:grade_history] if args.key?(:grade_history) @state_history = args[:state_history] if args.key?(:state_history) end |