Class: Kombo::Models::Shared::PostAtsCandidatesRequestBodyBullhorn

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

Overview

Fields specific to Bullhorn.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(candidate: nil, job_submission: nil, existing_candidate_remote_id: nil) ⇒ PostAtsCandidatesRequestBodyBullhorn

Returns a new instance of PostAtsCandidatesRequestBodyBullhorn.



23
24
25
26
27
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_bullhorn.rb', line 23

def initialize(candidate: nil, job_submission: nil, existing_candidate_remote_id: nil)
  @candidate = candidate
  @job_submission = job_submission
  @existing_candidate_remote_id = existing_candidate_remote_id
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/kombo/models/shared/postatscandidatesrequestbody_bullhorn.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @candidate == other.candidate
  return false unless @job_submission == other.job_submission
  return false unless @existing_candidate_remote_id == other.existing_candidate_remote_id
  true
end