Class: Kombo::Models::Shared::PostAtsCandidatesRequestBodyCandidateData
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsCandidatesRequestBodyCandidateData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatscandidatesrequestbody_candidate_data.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name_detail_data: nil, language_reference: nil, job_application_data: nil, contact_data: nil, worker_reference: nil) ⇒ PostAtsCandidatesRequestBodyCandidateData
constructor
A new instance of PostAtsCandidatesRequestBodyCandidateData.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name_detail_data: nil, language_reference: nil, job_application_data: nil, contact_data: nil, worker_reference: nil) ⇒ PostAtsCandidatesRequestBodyCandidateData
Returns a new instance of PostAtsCandidatesRequestBodyCandidateData.
27 28 29 30 31 32 33 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_candidate_data.rb', line 27 def initialize(name_detail_data: nil, language_reference: nil, job_application_data: nil, contact_data: nil, worker_reference: nil) @name_detail_data = name_detail_data @language_reference = language_reference @job_application_data = job_application_data @contact_data = contact_data @worker_reference = worker_reference end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_candidate_data.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @name_detail_data == other.name_detail_data return false unless @language_reference == other.language_reference return false unless @job_application_data == other.job_application_data return false unless @contact_data == other.contact_data return false unless @worker_reference == other.worker_reference true end |