Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsPositiveResponseData

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/postatsjobsjobidapplicationspositiveresponse_data.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, current_stage_id: nil, job_id: nil, candidate_id: nil, custom_fields: nil, remote_url: nil, remote_deleted_at: nil, remote_created_at: nil, remote_updated_at: nil, current_stage: nil, job: nil, candidate: nil, screening_question_answers: nil) ⇒ PostAtsJobsJobIdApplicationsPositiveResponseData

Returns a new instance of PostAtsJobsJobIdApplicationsPositiveResponseData.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationspositiveresponse_data.rb', line 59

def initialize(id:, changed_at:, remote_id: nil, outcome: nil, rejection_reason_name: nil, rejected_at: nil, current_stage_id: nil, job_id: nil, candidate_id: nil, custom_fields: nil, remote_url: nil, remote_deleted_at: nil, remote_created_at: nil, remote_updated_at: nil, current_stage: nil, job: nil, candidate: nil, screening_question_answers: nil)
  @id = id
  @changed_at = changed_at
  @remote_id = remote_id
  @outcome = outcome
  @rejection_reason_name = rejection_reason_name
  @rejected_at = rejected_at
  @current_stage_id = current_stage_id
  @job_id = job_id
  @candidate_id = candidate_id
  @custom_fields = custom_fields
  @remote_url = remote_url
  @remote_deleted_at = remote_deleted_at
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
  @current_stage = current_stage
  @job = job
  @candidate = candidate
  @screening_question_answers = screening_question_answers
end

Instance Method Details

#==(other) ⇒ Object



81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationspositiveresponse_data.rb', line 81

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 @current_stage_id == other.current_stage_id
  return false unless @job_id == other.job_id
  return false unless @candidate_id == other.candidate_id
  return false unless @custom_fields == other.custom_fields
  return false unless @remote_url == other.remote_url
  return false unless @remote_deleted_at == other.remote_deleted_at
  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
  return false unless @candidate == other.candidate
  return false unless @screening_question_answers == other.screening_question_answers
  true
end