Class: StackOne::Models::Shared::AtsCreateCandidateRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company: nil, country: nil, custom_fields: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, passthrough: nil, phone_number: nil, phone_numbers: nil, social_links: nil, title: nil, unified_custom_fields: nil) ⇒ AtsCreateCandidateRequestDto

Returns a new instance of AtsCreateCandidateRequestDto.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/stack_one/models/shared/atscreatecandidaterequestdto.rb', line 47

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

Instance Method Details

#==(other) ⇒ Object



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/stack_one/models/shared/atscreatecandidaterequestdto.rb', line 65

def ==(other)
  return false unless other.is_a? self.class
  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 @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_number == other.phone_number
  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