Class: Revox::Models::AssistantUpdateResponse

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::Resources::Assistants#update

Defined Under Namespace

Classes: Assistant, UnpatchedCallsNotice

Instance Attribute Summary collapse

Class Method 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(assistant:, unpatched_calls_notice: nil) ⇒ Object



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

Instance Attribute Details

#assistantRevox::Models::AssistantUpdateResponse::Assistant



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

required :assistant, -> { Revox::Models::AssistantUpdateResponse::Assistant }

#unpatched_calls_noticeRevox::Models::AssistantUpdateResponse::UnpatchedCallsNotice?



15
16
17
# File 'lib/revox/models/assistant_update_response.rb', line 15

optional :unpatched_calls_notice,
-> { Revox::Models::AssistantUpdateResponse::UnpatchedCallsNotice },
api_name: :unpatchedCallsNotice

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {