Class: Kombo::Models::Shared::PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatsimporttrackedapplicationrequestbody_erecruiter_applicationandcandidateremoteids.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id_type:, candidate_remote_id:, application_remote_id:) ⇒ PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds
constructor
A new instance of PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id_type:, candidate_remote_id:, application_remote_id:) ⇒ PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds
Returns a new instance of PostAtsImportTrackedApplicationRequestBodyErecruiterApplicationAndCandidateRemoteIds.
23 24 25 26 27 28 29 30 |
# File 'lib/kombo/models/shared/postatsimporttrackedapplicationrequestbody_erecruiter_applicationandcandidateremoteids.rb', line 23 def initialize(id_type:, candidate_remote_id:, application_remote_id:) unless id_type == 'application_and_candidate_remote_ids' raise ArgumentError, 'Invalid value for id_type' end @id_type = 'application_and_candidate_remote_ids' @candidate_remote_id = candidate_remote_id @application_remote_id = application_remote_id end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/kombo/models/shared/postatsimporttrackedapplicationrequestbody_erecruiter_applicationandcandidateremoteids.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @id_type == other.id_type return false unless @candidate_remote_id == other.candidate_remote_id return false unless @application_remote_id == other.application_remote_id true end |