Class: Telnyx::Models::AI::AssistantImportsParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/ai/assistant_imports_params.rb

Overview

Defined Under Namespace

Modules: Provider

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(api_key_ref:, provider:, import_ids: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::AI::AssistantImportsParams for more details.

Parameters:

  • api_key_ref (String)

    Integration secret pointer that refers to the API key for the external provider.

  • provider (Symbol, Telnyx::Models::AI::AssistantImportsParams::Provider)

    The external provider to import assistants from.

  • import_ids (Array<String>) (defaults to: nil)

    Optional list of assistant IDs to import from the external provider. If not prov

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/telnyx/models/ai/assistant_imports_params.rb', line 32

Instance Attribute Details

#api_key_refString

Integration secret pointer that refers to the API key for the external provider. This should be an identifier for an integration secret created via /v2/integration_secrets.

Returns:

  • (String)


17
# File 'lib/telnyx/models/ai/assistant_imports_params.rb', line 17

required :api_key_ref, String

#import_idsArray<String>?

Optional list of assistant IDs to import from the external provider. If not provided, all assistants will be imported.

Returns:

  • (Array<String>, nil)


30
# File 'lib/telnyx/models/ai/assistant_imports_params.rb', line 30

optional :import_ids, Telnyx::Internal::Type::ArrayOf[String]

#providerSymbol, Telnyx::Models::AI::AssistantImportsParams::Provider

The external provider to import assistants from.



23
# File 'lib/telnyx/models/ai/assistant_imports_params.rb', line 23

required :provider, enum: -> { Telnyx::AI::AssistantImportsParams::Provider }