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

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

Defined Under Namespace

Classes: EndDate, Institution, StartDate

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(year:, day: nil, month: nil) ⇒ Object

Parameters:

  • year (Integer)
  • day (Integer) (defaults to: nil)
  • month (Integer) (defaults to: nil)


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

Instance Attribute Details

#degreeString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :degree, String

#descriptionString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :description, String

#end_dateContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::EndDate?



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

optional :end_date,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::EndDate }

#field_of_studyString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :field_of_study, String

#institutionContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::Institution



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

required :institution,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::Institution }

#start_dateContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::StartDate?



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

optional :start_date,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::Education::StartDate }

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {