Class: ContextDev::Models::BatchDeleteResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BatchDeleteResponse
- Defined in:
- lib/context_dev/models/batch_delete_response.rb,
sig/context_dev/models/batch_delete_response.rbs
Overview
Defined Under Namespace
Classes: KeyMetadata
Instance Attribute Summary collapse
-
#deleted ⇒ Boolean?
Always true on success.
-
#id ⇒ String?
ID of the deleted batch.
-
#key_metadata ⇒ ContextDev::Models::BatchDeleteResponse::KeyMetadata?
Metadata about the API key used for the request.
Instance Method Summary collapse
-
#initialize(id: nil, deleted: nil, key_metadata: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BatchDeleteResponse for more details.
- #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(id: nil, deleted: nil, key_metadata: nil) ⇒ Object
Some parameter documentations has been truncated, see ContextDev::Models::BatchDeleteResponse for more details.
|
|
# File 'lib/context_dev/models/batch_delete_response.rb', line 26
|
Instance Attribute Details
#deleted ⇒ Boolean?
Always true on success.
17 |
# File 'lib/context_dev/models/batch_delete_response.rb', line 17 optional :deleted, ContextDev::Internal::Type::Boolean |
#id ⇒ String?
ID of the deleted batch.
11 |
# File 'lib/context_dev/models/batch_delete_response.rb', line 11 optional :id, String |
#key_metadata ⇒ ContextDev::Models::BatchDeleteResponse::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.
24 |
# File 'lib/context_dev/models/batch_delete_response.rb', line 24 optional :key_metadata, -> { ContextDev::Models::BatchDeleteResponse::KeyMetadata } |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/context_dev/models/batch_delete_response.rbs', line 31
def to_hash: -> {
|