Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyCandidate
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyCandidate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_candidate.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(first_name:, last_name:, email_address:, additional_email_addresses: nil, company: nil, title: nil, phone_number: nil, additional_phone_numbers: nil, location: nil, gender: nil, availability_date: nil, salary_expectations: nil, social_links: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyCandidate
constructor
A new instance of PostAtsJobsJobIdApplicationsRequestBodyCandidate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(first_name:, last_name:, email_address:, additional_email_addresses: nil, company: nil, title: nil, phone_number: nil, additional_phone_numbers: nil, location: nil, gender: nil, availability_date: nil, salary_expectations: nil, social_links: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyCandidate
Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyCandidate.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_candidate.rb', line 44 def initialize(first_name:, last_name:, email_address:, additional_email_addresses: nil, company: nil, title: nil, phone_number: nil, additional_phone_numbers: nil, location: nil, gender: nil, availability_date: nil, salary_expectations: nil, social_links: nil) @first_name = first_name @last_name = last_name @email_address = email_address @additional_email_addresses = additional_email_addresses @company = company @title = title @phone_number = phone_number @additional_phone_numbers = additional_phone_numbers @location = location @gender = gender @availability_date = availability_date @salary_expectations = salary_expectations @social_links = end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_candidate.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @first_name == other.first_name return false unless @last_name == other.last_name return false unless @email_address == other.email_address return false unless @additional_email_addresses == other.additional_email_addresses return false unless @company == other.company return false unless @title == other.title return false unless @phone_number == other.phone_number return false unless @additional_phone_numbers == other.additional_phone_numbers return false unless @location == other.location return false unless @gender == other.gender return false unless @availability_date == other.availability_date return false unless @salary_expectations == other.salary_expectations return false unless @social_links == other. true end |