Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsPositiveResponseCandidate

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, remote_id:, changed_at:, tags:, first_name: nil, last_name: nil, company: nil, title: nil, confidential: nil, source: nil, custom_fields: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, phone_numbers: nil, email_addresses: nil, social_media: nil, location: nil) ⇒ PostAtsJobsJobIdApplicationsPositiveResponseCandidate

Returns a new instance of PostAtsJobsJobIdApplicationsPositiveResponseCandidate.



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

def initialize(id:, remote_id:, changed_at:, tags:, first_name: nil, last_name: nil, company: nil, title: nil, confidential: nil, source: nil, custom_fields: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, phone_numbers: nil, email_addresses: nil, social_media: nil, location: nil)
  @id = id
  @remote_id = remote_id
  @changed_at = changed_at
  @tags = tags
  @first_name = first_name
  @last_name = last_name
  @company = company
  @title = title
  @confidential = confidential
  @source = source
  @custom_fields = custom_fields
  @remote_url = remote_url
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
  @remote_deleted_at = remote_deleted_at
  @phone_numbers = phone_numbers
  @email_addresses = email_addresses
  @social_media = social_media
  @location = location
end

Instance Method Details

#==(other) ⇒ Object



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

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 @changed_at == other.changed_at
  return false unless @tags == other.tags
  return false unless @first_name == other.first_name
  return false unless @last_name == other.last_name
  return false unless @company == other.company
  return false unless @title == other.title
  return false unless @confidential == other.confidential
  return false unless @source == other.source
  return false unless @custom_fields == other.custom_fields
  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 @remote_deleted_at == other.remote_deleted_at
  return false unless @phone_numbers == other.phone_numbers
  return false unless @email_addresses == other.email_addresses
  return false unless @social_media == other.social_media
  return false unless @location == other.location
  true
end