Class: ContextDev::Models::BatchSubmitResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BatchSubmitResponse
- Defined in:
- lib/context_dev/models/batch_submit_response.rb,
sig/context_dev/models/batch_submit_response.rbs
Overview
Defined Under Namespace
Modules: Code, Status Classes: KeyMetadata, Metadata, Person
Instance Attribute Summary collapse
-
#code ⇒ Integer, ContextDev::Models::BatchSubmitResponse::Code
HTTP status code.
-
#key_metadata ⇒ ContextDev::Models::BatchSubmitResponse::KeyMetadata?
Metadata about the API key used for the request.
-
#metadata ⇒ ContextDev::Models::BatchSubmitResponse::Metadata
Additional response details.
-
#person ⇒ ContextDev::Models::BatchSubmitResponse::Person
Retrieved person profile.
-
#status ⇒ Symbol, ContextDev::Models::BatchSubmitResponse::Status
Response status.
Class Method 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(name:, normalized: nil, proficiency: nil) ⇒ Object
|
|
# File 'lib/context_dev/models/batch_submit_response.rb', line 38
|
Instance Attribute Details
#code ⇒ Integer, ContextDev::Models::BatchSubmitResponse::Code
HTTP status code.
11 |
# File 'lib/context_dev/models/batch_submit_response.rb', line 11 required :code, enum: -> { ContextDev::Models::BatchSubmitResponse::Code } |
#key_metadata ⇒ ContextDev::Models::BatchSubmitResponse::KeyMetadata?
Metadata about the API key used for the request. Included in every response whenever a valid API key is provided, even when the response status is not 200.
36 |
# File 'lib/context_dev/models/batch_submit_response.rb', line 36 optional :key_metadata, -> { ContextDev::Models::BatchSubmitResponse::KeyMetadata } |
#metadata ⇒ ContextDev::Models::BatchSubmitResponse::Metadata
Additional response details.
17 |
# File 'lib/context_dev/models/batch_submit_response.rb', line 17 required :metadata, -> { ContextDev::Models::BatchSubmitResponse::Metadata } |
#person ⇒ ContextDev::Models::BatchSubmitResponse::Person
Retrieved person profile.
23 |
# File 'lib/context_dev/models/batch_submit_response.rb', line 23 required :person, -> { ContextDev::Models::BatchSubmitResponse::Person } |
#status ⇒ Symbol, ContextDev::Models::BatchSubmitResponse::Status
Response status.
29 |
# File 'lib/context_dev/models/batch_submit_response.rb', line 29 required :status, enum: -> { ContextDev::Models::BatchSubmitResponse::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/context_dev/models/batch_submit_response.rb', line 60
|
Instance Method Details
#to_hash ⇒ {
35 |
# File 'sig/context_dev/models/batch_submit_response.rbs', line 35
def to_hash: -> {
|