Class: Turbopuffer::Models::WriteBilling
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Turbopuffer::Models::WriteBilling
- Defined in:
- lib/turbopuffer/models/write_billing.rb
Instance Attribute Summary collapse
-
#billable_logical_bytes_written ⇒ Integer
The number of billable logical bytes written to the namespace.
-
#query ⇒ Turbopuffer::Models::QueryBilling?
The billing information for a query.
Instance Method Summary collapse
-
#initialize(billable_logical_bytes_written:, query: nil) ⇒ Object
constructor
The billing information for a write request.
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(billable_logical_bytes_written:, query: nil) ⇒ Object
The billing information for a write request.
|
|
# File 'lib/turbopuffer/models/write_billing.rb', line 18
|
Instance Attribute Details
#billable_logical_bytes_written ⇒ Integer
The number of billable logical bytes written to the namespace.
10 |
# File 'lib/turbopuffer/models/write_billing.rb', line 10 required :billable_logical_bytes_written, Integer |
#query ⇒ Turbopuffer::Models::QueryBilling?
The billing information for a query.
16 |
# File 'lib/turbopuffer/models/write_billing.rb', line 16 optional :query, -> { Turbopuffer::QueryBilling } |