Class: OpenAI::Models::BetaResponsesClientEvent::Beta::BetaResponsesClientEvent::ResponseCreate::ContextManagement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponsesClientEvent::Beta::BetaResponsesClientEvent::ResponseCreate::ContextManagement
- Defined in:
- sig/openai/models/beta/beta_responses_client_event.rbs
Instance Attribute Summary collapse
-
#compact_threshold ⇒ Integer?
Returns the value of attribute compact_threshold.
-
#type ⇒ String
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ ContextManagement
constructor
A new instance of ContextManagement.
- #to_hash ⇒ { type: String, compact_threshold: Integer? }
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 ⇒ ContextManagement
Returns a new instance of ContextManagement.
227 |
# File 'sig/openai/models/beta/beta_responses_client_event.rbs', line 227
def initialize: (type: String, ?compact_threshold: Integer?) -> void
|
Instance Attribute Details
#compact_threshold ⇒ Integer?
Returns the value of attribute compact_threshold.
225 226 227 |
# File 'sig/openai/models/beta/beta_responses_client_event.rbs', line 225 def compact_threshold @compact_threshold end |
#type ⇒ String
Returns the value of attribute type.
223 224 225 |
# File 'sig/openai/models/beta/beta_responses_client_event.rbs', line 223 def type @type end |
Instance Method Details
#to_hash ⇒ { type: String, compact_threshold: Integer? }
229 |
# File 'sig/openai/models/beta/beta_responses_client_event.rbs', line 229
def to_hash: -> { type: String, compact_threshold: Integer? }
|