Class: OpenAI::Models::Beta::BetaResponseFunctionShellCallOutputContent::Outcome::Timeout

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/beta/beta_response_function_shell_call_output_content.rb,
sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs

Instance Attribute 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

#initializeTimeout

Returns a new instance of Timeout.

Parameters:

  • type: (:timeout)


44
# File 'sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs', line 44

def initialize: (?type: :timeout) -> void

Instance Attribute Details

#typeSymbol, :timeout

The outcome type. Always timeout.

Parameters:

  • value (:timeout)

Returns:

  • (Symbol, :timeout)


53
# File 'lib/openai/models/beta/beta_response_function_shell_call_output_content.rb', line 53

required :type, const: :timeout

Instance Method Details

#to_hash{ type: :timeout }

Returns:

  • ({ type: :timeout })


46
# File 'sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs', line 46

def to_hash: -> { type: :timeout }