Class: Kombo::Models::Shared::GetAtsInterviewsPositiveResponseApplication

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, remote_id: nil, outcome: nil, rejection_reason_name: nil, candidate: nil, job: nil) ⇒ GetAtsInterviewsPositiveResponseApplication

Returns a new instance of GetAtsInterviewsPositiveResponseApplication.



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

def initialize(id:, remote_id: nil, outcome: nil, rejection_reason_name: nil, candidate: nil, job: nil)
  @id = id
  @remote_id = remote_id
  @outcome = outcome
  @rejection_reason_name = rejection_reason_name
  @candidate = candidate
  @job = job
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/kombo/models/shared/getatsinterviewspositiveresponse_application.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @remote_id == other.remote_id
  return false unless @outcome == other.outcome
  return false unless @rejection_reason_name == other.rejection_reason_name
  return false unless @candidate == other.candidate
  return false unless @job == other.job
  true
end