Class: Revox::Models::CampaignUpdateResponse::Campaign::Assistant::PromptFlow::Node

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

Defined Under Namespace

Classes: Data, Position

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(body:, title:) ⇒ Object

Parameters:

  • body (String)
  • title (String)


# File 'lib/revox/models/campaign_update_response.rb', line 1286

Instance Attribute Details

#dataRevox::Models::CampaignUpdateResponse::Campaign::Assistant::PromptFlow::Node::Data



1273
# File 'lib/revox/models/campaign_update_response.rb', line 1273

required :data, -> { Revox::Models::CampaignUpdateResponse::Campaign::Assistant::PromptFlow::Node::Data }

#idString

Parameters:

  • value (String)

Returns:

  • (String)


1268
# File 'lib/revox/models/campaign_update_response.rb', line 1268

required :id, String

#positionRevox::Models::CampaignUpdateResponse::Campaign::Assistant::PromptFlow::Node::Position



1278
1279
# File 'lib/revox/models/campaign_update_response.rb', line 1278

required :position,
-> { Revox::Models::CampaignUpdateResponse::Campaign::Assistant::PromptFlow::Node::Position }

#typeSymbol, :promptBlock

Parameters:

  • value (:promptBlock)

Returns:

  • (Symbol, :promptBlock)


1284
# File 'lib/revox/models/campaign_update_response.rb', line 1284

required :type, const: :promptBlock

Instance Method Details

#to_hash{

Returns:

  • ({)


1023
# File 'sig/revox/models/campaign_update_response.rbs', line 1023

def to_hash: -> {