Class: Kombo::Models::Shared::GetAtsApplicationsPositiveResponseCandidate
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetAtsApplicationsPositiveResponseCandidate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/getatsapplicationspositiveresponse_candidate.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, remote_id:, tags:, first_name: nil, last_name: nil, source: nil, remote_url: nil, email_addresses: nil, phone_numbers: nil, social_media: nil) ⇒ GetAtsApplicationsPositiveResponseCandidate
constructor
A new instance of GetAtsApplicationsPositiveResponseCandidate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, remote_id:, tags:, first_name: nil, last_name: nil, source: nil, remote_url: nil, email_addresses: nil, phone_numbers: nil, social_media: nil) ⇒ GetAtsApplicationsPositiveResponseCandidate
Returns a new instance of GetAtsApplicationsPositiveResponseCandidate.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/kombo/models/shared/getatsapplicationspositiveresponse_candidate.rb', line 37 def initialize(id:, remote_id:, tags:, first_name: nil, last_name: nil, source: nil, remote_url: nil, email_addresses: nil, phone_numbers: nil, social_media: nil) @id = id @remote_id = remote_id @tags = @first_name = first_name @last_name = last_name @source = source @remote_url = remote_url @email_addresses = email_addresses @phone_numbers = phone_numbers @social_media = end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/kombo/models/shared/getatsapplicationspositiveresponse_candidate.rb', line 51 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 @tags == other. return false unless @first_name == other.first_name return false unless @last_name == other.last_name return false unless @source == other.source return false unless @remote_url == other.remote_url return false unless @email_addresses == other.email_addresses return false unless @phone_numbers == other.phone_numbers return false unless @social_media == other. true end |