Class: Telnyx::Models::AI::McpServerUpdateParams

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

Overview

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(mcp_server_id:, id: nil, allowed_tools: nil, api_key_ref: nil, created_at: nil, name: nil, type: nil, url: nil, request_options: {}) ⇒ Object

Parameters:

  • mcp_server_id (String)
  • id (String) (defaults to: nil)
  • allowed_tools (Array<String>, nil) (defaults to: nil)
  • api_key_ref (String, nil) (defaults to: nil)
  • created_at (Time) (defaults to: nil)
  • name (String) (defaults to: nil)
  • type (String) (defaults to: nil)
  • url (String) (defaults to: nil)
  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 51

Instance Attribute Details

#allowed_toolsArray<String>?

Returns:

  • (Array<String>, nil)


24
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 24

optional :allowed_tools, Telnyx::Internal::Type::ArrayOf[String], nil?: true

#api_key_refString?

Returns:

  • (String, nil)


29
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 29

optional :api_key_ref, String, nil?: true

#created_atTime?

Returns:

  • (Time, nil)


34
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 34

optional :created_at, Time

#idString?

Returns:

  • (String, nil)


19
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 19

optional :id, String

#mcp_server_idString

Returns:

  • (String)


14
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 14

required :mcp_server_id, String

#nameString?

Returns:

  • (String, nil)


39
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 39

optional :name, String

#typeString?

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 44

optional :type, String

#urlString?

Returns:

  • (String, nil)


49
# File 'lib/telnyx/models/ai/mcp_server_update_params.rb', line 49

optional :url, String