Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyEducationDatum
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyEducationDatum
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_education_datum.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(school_name: nil, first_year_attended: nil, last_year_attended: nil, field_of_study_reference: nil, degree_reference: nil, grade_average: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyEducationDatum
constructor
A new instance of PostAtsJobsJobIdApplicationsRequestBodyEducationDatum.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(school_name: nil, first_year_attended: nil, last_year_attended: nil, field_of_study_reference: nil, degree_reference: nil, grade_average: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyEducationDatum
Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyEducationDatum.
29 30 31 32 33 34 35 36 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_education_datum.rb', line 29 def initialize(school_name: nil, first_year_attended: nil, last_year_attended: nil, field_of_study_reference: nil, degree_reference: nil, grade_average: nil) @school_name = school_name @first_year_attended = first_year_attended @last_year_attended = last_year_attended @field_of_study_reference = field_of_study_reference @degree_reference = degree_reference @grade_average = grade_average end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_education_datum.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @school_name == other.school_name return false unless @first_year_attended == other.first_year_attended return false unless @last_year_attended == other.last_year_attended return false unless @field_of_study_reference == other.field_of_study_reference return false unless @degree_reference == other.degree_reference return false unless @grade_average == other.grade_average true end |