Class: Turbopuffer::Models::NamespaceDeleteAllResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Turbopuffer::Models::NamespaceDeleteAllResponse
- Defined in:
- lib/turbopuffer/models/namespace_delete_all_response.rb,
sig/turbopuffer/models/namespace_delete_all_response.rbs
Overview
Instance Attribute Summary collapse
-
#status ⇒ Symbol, :OK
The status of the request.
Instance Method Summary collapse
-
#initialize(status: :OK) ⇒ NamespaceDeleteAllResponse
constructor
The response to a successful namespace deletion request.
- #to_hash ⇒ { status: :OK }
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(status: :OK) ⇒ NamespaceDeleteAllResponse
The response to a successful namespace deletion request.
|
|
# File 'lib/turbopuffer/models/namespace_delete_all_response.rb', line 13
|
Instance Attribute Details
#status ⇒ Symbol, :OK
The status of the request.
11 |
# File 'lib/turbopuffer/models/namespace_delete_all_response.rb', line 11 required :status, const: :OK |
Instance Method Details
#to_hash ⇒ { status: :OK }
10 |
# File 'sig/turbopuffer/models/namespace_delete_all_response.rbs', line 10
def to_hash: -> { status: :OK }
|