Class: ContextDev::Models::PersonEnrichResponse::Match::NotFound
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::PersonEnrichResponse::Match::NotFound
- Defined in:
- lib/context_dev/models/person_enrich_response.rb,
sig/context_dev/models/person_enrich_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ NotFound
constructor
A new instance of NotFound.
- #to_hash ⇒ { person: nil, score: nil, status: :not_found }
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 ⇒ NotFound
Returns a new instance of NotFound.
579 |
# File 'sig/context_dev/models/person_enrich_response.rbs', line 579
def initialize: (person: nil, score: nil, ?status: :not_found) -> void
|
Instance Attribute Details
#person ⇒ nil
533 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 533 required :person, NilClass |
#score ⇒ nil
538 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 538 required :score, NilClass |
#status ⇒ Symbol, :not_found
543 |
# File 'lib/context_dev/models/person_enrich_response.rb', line 543 required :status, const: :not_found |
Instance Method Details
#to_hash ⇒ { person: nil, score: nil, status: :not_found }
581 |
# File 'sig/context_dev/models/person_enrich_response.rbs', line 581
def to_hash: -> { person: nil, score: nil, status: :not_found }
|