Class: StackOne::Models::Shared::AtsUpdateCandidateRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(application_ids: nil, company: nil, country: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, unified_custom_fields: nil) ⇒ AtsUpdateCandidateRequestDto

Returns a new instance of AtsUpdateCandidateRequestDto.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb', line 51

def initialize(application_ids: nil, company: nil, country: nil, custom_fields: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone: nil, phone_numbers: nil, social_links: nil, title: nil, unified_custom_fields: nil)
  @application_ids = application_ids
  @company = company
  @country = country
  @custom_fields = custom_fields
  @email = email
  @emails = emails
  @first_name = first_name
  @hired_at = hired_at
  @last_name = last_name
  @name = name
  @passthrough = passthrough
  @phone = phone
  @phone_numbers = phone_numbers
  @social_links = social_links
  @title = title
  @unified_custom_fields = unified_custom_fields
end

Instance Method Details

#==(other) ⇒ Object



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb', line 71

def ==(other)
  return false unless other.is_a? self.class
  return false unless @application_ids == other.application_ids
  return false unless @company == other.company
  return false unless @country == other.country
  return false unless @custom_fields == other.custom_fields
  return false unless @email == other.email
  return false unless @emails == other.emails
  return false unless @first_name == other.first_name
  return false unless @hired_at == other.hired_at
  return false unless @last_name == other.last_name
  return false unless @name == other.name
  return false unless @passthrough == other.passthrough
  return false unless @phone == other.phone
  return false unless @phone_numbers == other.phone_numbers
  return false unless @social_links == other.social_links
  return false unless @title == other.title
  return false unless @unified_custom_fields == other.unified_custom_fields
  true
end