Class: Google::Apis::PartnersV2::ExamStatus
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::ExamStatus
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
A user's information on a specific exam.
Instance Attribute Summary collapse
- 
  
    
      #exam_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the exam. 
- 
  
    
      #expiration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Date this exam is due to expire. 
- 
  
    
      #last_passed  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date the user last passed this exam. 
- 
  
    
      #passed  ⇒ Boolean 
    
    
      (also: #passed?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this exam has been passed and not expired. 
- 
  
    
      #taken  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date the user last taken this exam. 
- 
  
    
      #warning  ⇒ Boolean 
    
    
      (also: #warning?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this exam is in the state of warning. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ExamStatus 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExamStatus. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExamStatus
Returns a new instance of ExamStatus
| 886 887 888 | # File 'generated/google/apis/partners_v2/classes.rb', line 886 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#exam_type ⇒ String
The type of the exam.
Corresponds to the JSON property examType
| 857 858 859 | # File 'generated/google/apis/partners_v2/classes.rb', line 857 def exam_type @exam_type end | 
#expiration ⇒ String
Date this exam is due to expire.
Corresponds to the JSON property expiration
| 862 863 864 | # File 'generated/google/apis/partners_v2/classes.rb', line 862 def expiration @expiration end | 
#last_passed ⇒ String
The date the user last passed this exam.
Corresponds to the JSON property lastPassed
| 867 868 869 | # File 'generated/google/apis/partners_v2/classes.rb', line 867 def last_passed @last_passed end | 
#passed ⇒ Boolean Also known as: passed?
Whether this exam has been passed and not expired.
Corresponds to the JSON property passed
| 872 873 874 | # File 'generated/google/apis/partners_v2/classes.rb', line 872 def passed @passed end | 
#taken ⇒ String
The date the user last taken this exam.
Corresponds to the JSON property taken
| 878 879 880 | # File 'generated/google/apis/partners_v2/classes.rb', line 878 def taken @taken end | 
#warning ⇒ Boolean Also known as: warning?
Whether this exam is in the state of warning.
Corresponds to the JSON property warning
| 883 884 885 | # File 'generated/google/apis/partners_v2/classes.rb', line 883 def warning @warning end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 891 892 893 894 895 896 897 898 | # File 'generated/google/apis/partners_v2/classes.rb', line 891 def update!(**args) @exam_type = args[:exam_type] if args.key?(:exam_type) @expiration = args[:expiration] if args.key?(:expiration) @last_passed = args[:last_passed] if args.key?(:last_passed) @passed = args[:passed] if args.key?(:passed) @taken = args[:taken] if args.key?(:taken) @warning = args[:warning] if args.key?(:warning) end |