Class: Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt::PostCallTranscript

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

Defined Under Namespace

Modules: Role, ToolArguments

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(content:, role:, tool_arguments: nil, tool_is_error: nil, tool_name: nil, tool_output: nil) ⇒ Object

Parameters:



# File 'lib/revox/models/campaign_get_rows_response.rb', line 2823

Instance Attribute Details

#contentString

Parameters:

  • value (String)

Returns:

  • (String)


2794
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2794

required :content, String

#roleSymbol, Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt::PostCallTranscript::Role

Parameters:

  • value (Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt::PostCallTranscript::role)

Returns:



2799
2800
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2799

required :role,
enum: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt::PostCallTranscript::Role }

#tool_argumentsHash{Symbol=>Object}, ...

Returns:

  • (Hash{Symbol=>Object}, String, nil)


2805
2806
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2805

optional :tool_arguments,
union: -> { Revox::Models::CampaignGetRowsResponse::Row::Call::LastCallAttempt::PostCallTranscript::ToolArguments }

#tool_is_errorBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


2811
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2811

optional :tool_is_error, Revox::Internal::Type::Boolean

#tool_nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


2816
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2816

optional :tool_name, String

#tool_outputString?

Parameters:

  • (String)

Returns:

  • (String, nil)


2821
# File 'lib/revox/models/campaign_get_rows_response.rb', line 2821

optional :tool_output, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/revox/models/campaign_get_rows_response.rb', line 2840

Instance Method Details

#to_hash{

Returns:

  • ({)


2328
# File 'sig/revox/models/campaign_get_rows_response.rbs', line 2328

def to_hash: -> {