Class: Kombo::Models::Shared::PostAtsCandidatesRequestBodySuccessfactors

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/postatscandidatesrequestbody_successfactors.rb

Overview

Fields specific to SAP SuccessFactors.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(candidate: nil, job_application: nil, copy_job_application_attachments: nil, update_existing_candidate: nil) ⇒ PostAtsCandidatesRequestBodySuccessfactors

Returns a new instance of PostAtsCandidatesRequestBodySuccessfactors.



25
26
27
28
29
30
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_successfactors.rb', line 25

def initialize(candidate: nil, job_application: nil, copy_job_application_attachments: nil, update_existing_candidate: nil)
  @candidate = candidate
  @job_application = job_application
  @copy_job_application_attachments = copy_job_application_attachments
  @update_existing_candidate = update_existing_candidate
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_successfactors.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @candidate == other.candidate
  return false unless @job_application == other.job_application
  return false unless @copy_job_application_attachments == other.copy_job_application_attachments
  return false unless @update_existing_candidate == other.update_existing_candidate
  true
end