Module: Telnyx::Models::AI::Conversations::InsightUpdateParams::JsonSchema

Extended by:
Internal::Type::Union
Defined in:
lib/telnyx/models/ai/conversations/insight_update_params.rb

Constant Summary collapse

JsonSchemaObjectMap =
Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Hash{Symbol=>Object})

Returns:

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


# File 'lib/telnyx/models/ai/conversations/insight_update_params.rb', line 58

Instance Method Details

#initialize(insight_id:, instructions: nil, json_schema: nil, name: nil, webhook: nil, request_options: {}) ⇒ Object

Parameters:

  • insight_id (String)

    The ID of the insight

  • instructions (String) (defaults to: nil)
  • json_schema (String, Hash{Symbol=>Object}) (defaults to: nil)
  • name (String) (defaults to: nil)
  • webhook (String) (defaults to: nil)
  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/telnyx/models/ai/conversations/insight_update_params.rb', line 51

module JsonSchema
  extend Telnyx::Internal::Type::Union

  variant String

  variant -> { Telnyx::Models::AI::Conversations::InsightUpdateParams::JsonSchema::JsonSchemaObjectMap }

  # @!method self.variants
  #   @return [Array(String, Hash{Symbol=>Object})]

  # @type [Telnyx::Internal::Type::Converter]
  JsonSchemaObjectMap = Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
end