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

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#current_role

Defined Under Namespace

Classes: EndDate, Organization, 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 396

Instance Attribute Details

#descriptionString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :description, String

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



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

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

#is_currentBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

optional :is_current, ContextDev::Internal::Type::Boolean

#locationString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :location, String

#organizationContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRole::Organization



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

required :organization,
-> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person::CurrentRole::Organization }

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



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

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

#titleString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :title, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {