Class: Kombo::Models::Shared::PostAtsCandidatesPositiveResponseApplication

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, changed_at:, remote_id: nil, outcome: nil, rejection_reason_name: nil, rejected_at: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, current_stage: nil, job: nil) ⇒ PostAtsCandidatesPositiveResponseApplication

Returns a new instance of PostAtsCandidatesPositiveResponseApplication.



44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/kombo/models/shared/postatscandidatespositiveresponse_application.rb', line 44

def initialize(id:, changed_at:, remote_id: nil, outcome: nil, rejection_reason_name: nil, rejected_at: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, current_stage: nil, job: nil)
  @id = id
  @changed_at = changed_at
  @remote_id = remote_id
  @outcome = outcome
  @rejection_reason_name = rejection_reason_name
  @rejected_at = rejected_at
  @remote_url = remote_url
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
  @current_stage = current_stage
  @job = job
end

Instance Method Details

#==(other) ⇒ Object



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/kombo/models/shared/postatscandidatespositiveresponse_application.rb', line 59

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @changed_at == other.changed_at
  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 @rejected_at == other.rejected_at
  return false unless @remote_url == other.remote_url
  return false unless @remote_created_at == other.remote_created_at
  return false unless @remote_updated_at == other.remote_updated_at
  return false unless @current_stage == other.current_stage
  return false unless @job == other.job
  true
end