Module: ContextDev::Models::PersonEnrichResponse::Match

Extended by:
Internal::Type::Union
Defined in:
lib/context_dev/models/person_enrich_response.rb,
sig/context_dev/models/person_enrich_response.rbs

Overview

The highest-scoring person candidate.

See Also:

  • ContextDev::Models::PersonEnrichResponse#match

Defined Under Namespace

Classes: Candidate, NotFound

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

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

Instance Method Details

#initialize(first: nil, full: nil, last: nil) ⇒ Object

Parameters:

  • first (String) (defaults to: nil)
  • full (String) (defaults to: nil)
  • last (String) (defaults to: nil)


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

#self?.variants::Array[ContextDev::Models::PersonEnrichResponse::match]

Returns:

  • (::Array[ContextDev::Models::PersonEnrichResponse::match])


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

def self?.variants: -> ::Array[ContextDev::Models::PersonEnrichResponse::match]