Class: ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/person_enrich_response.rb,
sig/context_dev/models/person_enrich_response.rbs

Overview

See Also:

  • ContextDev::Models::PersonEnrichResponse::Match::Candidate#person

Defined Under Namespace

Modules: CurrentRoleStatus Classes: CurrentRole, Education, Experience, Location, Name

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#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

Parameters:

  • city (String) (defaults to: nil)
  • country (String) (defaults to: nil)
  • country_code (String) (defaults to: nil)
  • display_ (String) (defaults to: nil)
  • region (String) (defaults to: nil)


# File 'lib/context_dev/models/person_enrich_response.rb', line 148

Instance Attribute Details

#avatar_urlString?

Parameters:

  • (String)

Returns:

  • (String, nil)


107
# File 'lib/context_dev/models/person_enrich_response.rb', line 107

optional :avatar_url, String

#bioString?

Parameters:

  • (String)

Returns:

  • (String, nil)


112
# File 'lib/context_dev/models/person_enrich_response.rb', line 112

optional :bio, String

#checked_atString?

When we last refreshed this profile from our data sources (ISO 8601).

Parameters:

  • (String)

Returns:

  • (String, nil)


118
# File 'lib/context_dev/models/person_enrich_response.rb', line 118

optional :checked_at, String

#current_roleContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRole?



123
124
# File 'lib/context_dev/models/person_enrich_response.rb', line 123

optional :current_role,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRole }

#current_role_statusSymbol, ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRoleStatus

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.

Parameters:

  • value (ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::current_role_status)

Returns:



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 }

#educationArray<ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education>



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] }

#emailString?

Parameters:

  • (String)

Returns:

  • (String, nil)


129
# File 'lib/context_dev/models/person_enrich_response.rb', line 129

optional :email, String

#experienceArray<ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Experience>



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_updatedString?

When the underlying profile data last changed in our data sources (ISO 8601). Omitted when unknown.

Parameters:

  • (String)

Returns:

  • (String, nil)


136
# File 'lib/context_dev/models/person_enrich_response.rb', line 136

optional :last_updated, String

#locationContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Location?



141
# File 'lib/context_dev/models/person_enrich_response.rb', line 141

optional :location, -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Location }

#nameContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Name?



146
# File 'lib/context_dev/models/person_enrich_response.rb', line 146

optional :name, -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Name }

#skillsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


92
# File 'lib/context_dev/models/person_enrich_response.rb', line 92

required :skills, ContextDev::Internal::Type::ArrayOf[String]

#social_urlsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


97
# File 'lib/context_dev/models/person_enrich_response.rb', line 97

required :social_urls, ContextDev::Internal::Type::ArrayOf[String]

#website_urlsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/context_dev/models/person_enrich_response.rb', line 194

Instance Method Details

#to_hash{

Returns:

  • ({)


147
# File 'sig/context_dev/models/person_enrich_response.rbs', line 147

def to_hash: -> {