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

Classes: CurrentRole, Education, Experience, Location, Name

Instance Attribute 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 237

Instance Attribute Details

#avatar_urlString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :avatar_url, String

#bioString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :bio, String

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



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

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

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



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

required :education,
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education] }

#emailString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :email, String

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



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

required :experience,
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Experience] }

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



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

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

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



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

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

#skillsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


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

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

#social_urlsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


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

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

#website_urlsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


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

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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {