Class: StackOne::Models::Shared::Application
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::Application
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/application.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(application_stage: nil, application_stage_id: nil, application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, custom_fields: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_application_stage_id: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, unified_custom_fields: nil, updated_at: nil) ⇒ Application
constructor
A new instance of Application.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(application_stage: nil, application_stage_id: nil, application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, custom_fields: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_application_stage_id: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, unified_custom_fields: nil, updated_at: nil) ⇒ Application
Returns a new instance of Application.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/stack_one/models/shared/application.rb', line 89 def initialize(application_stage: nil, application_stage_id: nil, application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, custom_fields: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_application_stage_id: nil, remote_candidate_id: nil, remote_id: nil, remote_interview_stage_id: nil, remote_job_id: nil, remote_location_id: nil, remote_location_ids: nil, remote_rejected_reason_ids: nil, result_links: nil, source: nil, unified_custom_fields: nil, updated_at: nil) @application_stage = application_stage @application_stage_id = application_stage_id @application_status = application_status @attachments = @candidate = candidate @candidate_id = candidate_id @created_at = created_at @custom_fields = custom_fields @documents = documents @id = id @interview_stage = interview_stage @interview_stage_id = interview_stage_id @job_id = job_id @location_id = location_id @location_ids = location_ids @questionnaires = questionnaires @rejected_at = rejected_at @rejected_reason_ids = rejected_reason_ids @rejected_reasons = rejected_reasons @remote_application_stage_id = remote_application_stage_id @remote_candidate_id = remote_candidate_id @remote_id = remote_id @remote_interview_stage_id = remote_interview_stage_id @remote_job_id = remote_job_id @remote_location_id = remote_location_id @remote_location_ids = remote_location_ids @remote_rejected_reason_ids = remote_rejected_reason_ids @result_links = result_links @source = source @unified_custom_fields = unified_custom_fields @updated_at = updated_at end |
Instance Method Details
#==(other) ⇒ Object
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/stack_one/models/shared/application.rb', line 124 def ==(other) return false unless other.is_a? self.class return false unless @application_stage == other.application_stage return false unless @application_stage_id == other.application_stage_id return false unless @application_status == other.application_status return false unless @attachments == other. return false unless @candidate == other.candidate return false unless @candidate_id == other.candidate_id return false unless @created_at == other.created_at return false unless @custom_fields == other.custom_fields return false unless @documents == other.documents return false unless @id == other.id return false unless @interview_stage == other.interview_stage return false unless @interview_stage_id == other.interview_stage_id return false unless @job_id == other.job_id return false unless @location_id == other.location_id return false unless @location_ids == other.location_ids return false unless @questionnaires == other.questionnaires return false unless @rejected_at == other.rejected_at return false unless @rejected_reason_ids == other.rejected_reason_ids return false unless @rejected_reasons == other.rejected_reasons return false unless @remote_application_stage_id == other.remote_application_stage_id return false unless @remote_candidate_id == other.remote_candidate_id return false unless @remote_id == other.remote_id return false unless @remote_interview_stage_id == other.remote_interview_stage_id return false unless @remote_job_id == other.remote_job_id return false unless @remote_location_id == other.remote_location_id return false unless @remote_location_ids == other.remote_location_ids return false unless @remote_rejected_reason_ids == other.remote_rejected_reason_ids return false unless @result_links == other.result_links return false unless @source == other.source return false unless @unified_custom_fields == other.unified_custom_fields return false unless @updated_at == other.updated_at true end |