Class: ContextDev::Models::PersonEnrichResponse::Match::Candidate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::PersonEnrichResponse::Match::Candidate
- Defined in:
- lib/context_dev/models/person_enrich_response.rb,
sig/context_dev/models/person_enrich_response.rbs
Defined Under Namespace
Classes: Person
Instance Attribute Summary collapse
- #person ⇒ ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person
- #score ⇒ Integer
- #status ⇒ Symbol, :candidate
Instance Method Summary collapse
-
#initialize(person:, score:, status: :candidate) ⇒ Object
constructor
The highest-scoring person candidate.
- #to_hash ⇒ {
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(person:, score:, status: :candidate) ⇒ Object
The highest-scoring person candidate.
|
|
# File 'lib/context_dev/models/person_enrich_response.rb', line 58
|
Instance Attribute Details
#person ⇒ ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person
46 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 46 required :person, -> { ContextDev::Models::PersonEnrichResponse::Match::Candidate::Person } |
#score ⇒ Integer
51 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 51 required :score, Integer |
#status ⇒ Symbol, :candidate
56 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 56 required :status, const: :candidate |
Instance Method Details
#to_hash ⇒ {
55 |
# File 'sig/context_dev/models/person_enrich_response.rbs', line 55
def to_hash: -> {
|