Class: Kombo::Models::Shared::GetAtsCandidatesPositiveResponseResult

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/getatscandidatespositiveresponse_result.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:, applications:, 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) ⇒ GetAtsCandidatesPositiveResponseResult

Returns a new instance of GetAtsCandidatesPositiveResponseResult.



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

def initialize(id:, remote_id:, changed_at:, applications:, 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
  @applications = applications
  @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



85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'lib/kombo/models/shared/getatscandidatespositiveresponse_result.rb', line 85

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 @applications == other.applications
  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