Class: Revox::Models::AssistantUpdateResponse::UnpatchedCallsNotice

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/assistant_update_response.rb,
sig/revox/models/assistant_update_response.rbs

Overview

See Also:

  • Revox::Models::AssistantUpdateResponse#unpatched_calls_notice

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

#initialize(count:, variables:) ⇒ UnpatchedCallsNotice

Returns a new instance of UnpatchedCallsNotice.

Parameters:

  • count (Float)
  • variables (Array<String>)
  • count: (Float)
  • variables: (::Array[String])


# File 'lib/revox/models/assistant_update_response.rb', line 1614

Instance Attribute Details

#countFloat

Parameters:

  • value (Float)

Returns:

  • (Float)


1607
# File 'lib/revox/models/assistant_update_response.rb', line 1607

required :count, Float

#variablesArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


1612
# File 'lib/revox/models/assistant_update_response.rb', line 1612

required :variables, Revox::Internal::Type::ArrayOf[String]

Instance Method Details

#to_hash{ count: Float, variables: ::Array[String] }

Returns:

  • ({ count: Float, variables: ::Array[String] })


1337
# File 'sig/revox/models/assistant_update_response.rbs', line 1337

def to_hash: -> { count: Float, variables: ::Array[String] }