Class: ContextDev::Models::BatchSubmitResponse::Person

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

Overview

See Also:

  • ContextDev::Models::BatchSubmitResponse#person

Defined Under Namespace

Classes: Education, Experience, Profile, Skill

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(full_name: nil, headline: nil, location: nil, profile_picture_url: nil, summary: nil) ⇒ Object

Core profile details.

Parameters:

  • full_name (String) (defaults to: nil)

    Person's full name.

  • headline (String) (defaults to: nil)

    Short professional headline.

  • location (String) (defaults to: nil)

    Person's listed location.

  • profile_picture_url (String) (defaults to: nil)

    Profile image URL.

  • summary (String) (defaults to: nil)

    Brief profile summary.



# File 'lib/context_dev/models/batch_submit_response.rb', line 341

Instance Attribute Details

#educationArray<ContextDev::Models::BatchSubmitResponse::Person::Education>

Education history.



160
161
# File 'lib/context_dev/models/batch_submit_response.rb', line 160

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

#experienceArray<ContextDev::Models::BatchSubmitResponse::Person::Experience>

Work history.



167
168
# File 'lib/context_dev/models/batch_submit_response.rb', line 167

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

#profileContextDev::Models::BatchSubmitResponse::Person::Profile

Core profile details.



174
# File 'lib/context_dev/models/batch_submit_response.rb', line 174

required :profile, -> { ContextDev::Models::BatchSubmitResponse::Person::Profile }

#skillsArray<ContextDev::Models::BatchSubmitResponse::Person::Skill>

Listed skills.



180
181
# File 'lib/context_dev/models/batch_submit_response.rb', line 180

required :skills,
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::BatchSubmitResponse::Person::Skill] }

Instance Method Details

#to_hash{

Returns:

  • ({)


156
# File 'sig/context_dev/models/batch_submit_response.rbs', line 156

def to_hash: -> {