Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters

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

Overview

Fields specific to SmartRecruiters.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(candidate_with_questions: nil, candidate_without_questions: nil, candidate: nil, consent_decisions: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters

Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters.



29
30
31
32
33
34
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_smartrecruiters.rb', line 29

def initialize(candidate_with_questions: nil, candidate_without_questions: nil, candidate: nil, consent_decisions: nil)
  @candidate_with_questions = candidate_with_questions
  @candidate_without_questions = candidate_without_questions
  @candidate = candidate
  @consent_decisions = consent_decisions
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_smartrecruiters.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @candidate_with_questions == other.candidate_with_questions
  return false unless @candidate_without_questions == other.candidate_without_questions
  return false unless @candidate == other.candidate
  return false unless @consent_decisions == other.consent_decisions
  true
end