Class: ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person
Overview
Defined Under Namespace
Modules: CurrentRoleStatus
Classes: CurrentRole, Education, Experience, Location, Name
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(city: nil, country: nil, country_code: nil, display_: nil, region: nil) ⇒ Object
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 148
|
Instance Attribute Details
#avatar_url ⇒ String?
107
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 107
optional :avatar_url, String
|
#bio ⇒ String?
112
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 112
optional :bio, String
|
#checked_at ⇒ String?
When we last refreshed this profile from our data sources (ISO 8601).
118
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 118
optional :checked_at, String
|
123
124
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 123
optional :current_role,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRole }
|
Whether the person's current role is known. present — current_role is
populated. none — the work history explicitly shows every role has ended.
unknown — our data sources could not confirm either way; treat a missing
current_role as unverified rather than vacant.
74
75
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 74
required :current_role_status,
enum: -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRoleStatus }
|
80
81
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 80
required :education,
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education] }
|
#email ⇒ String?
129
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 129
optional :email, String
|
86
87
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 86
required :experience,
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Experience] }
|
#last_updated ⇒ String?
When the underlying profile data last changed in our data sources (ISO 8601).
Omitted when unknown.
136
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 136
optional :last_updated, String
|
141
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 141
optional :location, -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Location }
|
146
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 146
optional :name, -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Name }
|
#skills ⇒ Array<String>
92
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 92
required :skills, ContextDev::Internal::Type::ArrayOf[String]
|
#social_urls ⇒ Array<String>
97
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 97
required :social_urls, ContextDev::Internal::Type::ArrayOf[String]
|
#website_urls ⇒ Array<String>
102
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 102
required :website_urls, ContextDev::Internal::Type::ArrayOf[String]
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 194
|
Instance Method Details
#to_hash ⇒ {
147
|
# File 'sig/context_dev/models/person_enrich_response.rbs', line 147
def to_hash: -> {
|