Class: Revox::Models::CampaignLaunchResponse::Campaign::Assistant::LlmModel::UnionMember1

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/campaign_launch_response.rb,
sig/revox/models/campaign_launch_response.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

#initializeObject



855
# File 'sig/revox/models/campaign_launch_response.rbs', line 855

def initialize: (

Instance Attribute Details

#openrouter_model_idString

The model ID to use from OpenRouter. eg: openai/gpt-4.1

Parameters:

  • value (String)

Returns:

  • (String)


1097
# File 'lib/revox/models/campaign_launch_response.rb', line 1097

required :openrouter_model_id, String

#openrouter_providerString

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

Parameters:

  • value (String)

Returns:

  • (String)


1103
# File 'lib/revox/models/campaign_launch_response.rb', line 1103

required :openrouter_provider, String

#typeSymbol, :openrouter

Use a model from OpenRouter.

Parameters:

  • value (:openrouter)

Returns:

  • (Symbol, :openrouter)


1109
# File 'lib/revox/models/campaign_launch_response.rb', line 1109

required :type, const: :openrouter

Instance Method Details

#to_hash{

Returns:

  • ({)


861
# File 'sig/revox/models/campaign_launch_response.rbs', line 861

def to_hash: -> {