Class: OpenAI::Models::BetaTool::Beta::BetaTool::Mcp
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaTool::Beta::BetaTool::Mcp
- Defined in:
- sig/openai/models/beta/beta_tool.rbs
Defined Under Namespace
Modules: AllowedCaller, AllowedTools, ConnectorID, RequireApproval
Instance Attribute Summary collapse
-
#allowed_callers ⇒ ::Array[OpenAI::Models::Beta::BetaTool::Mcp::allowed_caller]?
Returns the value of attribute allowed_callers.
-
#allowed_tools ⇒ OpenAI::Models::Beta::BetaTool::Mcp::allowed_tools?
Returns the value of attribute allowed_tools.
-
#authorization ⇒ String?
readonly
Returns the value of attribute authorization.
-
#connector_id ⇒ OpenAI::Models::Beta::BetaTool::Mcp::connector_id?
readonly
Returns the value of attribute connector_id.
-
#defer_loading ⇒ Boolean?
readonly
Returns the value of attribute defer_loading.
-
#headers ⇒ ::Hash[Symbol, String]?
Returns the value of attribute headers.
-
#require_approval ⇒ OpenAI::Models::Beta::BetaTool::Mcp::require_approval?
Returns the value of attribute require_approval.
-
#server_description ⇒ String?
readonly
Returns the value of attribute server_description.
-
#server_label ⇒ String
Returns the value of attribute server_label.
-
#server_url ⇒ String?
readonly
Returns the value of attribute server_url.
-
#tunnel_id ⇒ String?
readonly
Returns the value of attribute tunnel_id.
-
#type ⇒ :mcp
Returns the value of attribute type.
Instance Method Summary collapse
- #authorization ⇒ String readonly
- #connector_id ⇒ Object readonly
- #defer_loading ⇒ Boolean readonly
- #initialize ⇒ Object constructor
- #server_description ⇒ String readonly
- #server_url ⇒ String readonly
- #to_hash ⇒ {
- #tunnel_id ⇒ String readonly
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 ⇒ Object
82 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 82
def initialize: (
|
Instance Attribute Details
#allowed_callers ⇒ ::Array[OpenAI::Models::Beta::BetaTool::Mcp::allowed_caller]?
Returns the value of attribute allowed_callers.
48 49 50 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 48 def allowed_callers @allowed_callers end |
#allowed_tools ⇒ OpenAI::Models::Beta::BetaTool::Mcp::allowed_tools?
Returns the value of attribute allowed_tools.
50 51 52 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 50 def allowed_tools @allowed_tools end |
#authorization ⇒ String? (readonly)
Returns the value of attribute authorization.
52 53 54 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 52 def @authorization end |
#connector_id ⇒ OpenAI::Models::Beta::BetaTool::Mcp::connector_id? (readonly)
Returns the value of attribute connector_id.
56 57 58 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 56 def connector_id @connector_id end |
#defer_loading ⇒ Boolean? (readonly)
Returns the value of attribute defer_loading.
62 63 64 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 62 def defer_loading @defer_loading end |
#headers ⇒ ::Hash[Symbol, String]?
Returns the value of attribute headers.
66 67 68 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 66 def headers @headers end |
#require_approval ⇒ OpenAI::Models::Beta::BetaTool::Mcp::require_approval?
Returns the value of attribute require_approval.
68 69 70 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 68 def require_approval @require_approval end |
#server_description ⇒ String? (readonly)
Returns the value of attribute server_description.
70 71 72 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 70 def server_description @server_description end |
#server_label ⇒ String
Returns the value of attribute server_label.
44 45 46 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 44 def server_label @server_label end |
#server_url ⇒ String? (readonly)
Returns the value of attribute server_url.
74 75 76 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 74 def server_url @server_url end |
#tunnel_id ⇒ String? (readonly)
Returns the value of attribute tunnel_id.
78 79 80 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 78 def tunnel_id @tunnel_id end |
#type ⇒ :mcp
Returns the value of attribute type.
46 47 48 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 46 def type @type end |
Instance Method Details
#authorization= ⇒ String (readonly)
54 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 54
def authorization=: (String) -> String
|
#connector_id= ⇒ Object (readonly)
58 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 58
def connector_id=: (
|
#defer_loading= ⇒ Boolean (readonly)
64 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 64
def defer_loading=: (bool) -> bool
|
#server_description= ⇒ String (readonly)
72 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 72
def server_description=: (String) -> String
|
#server_url= ⇒ String (readonly)
76 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 76
def server_url=: (String) -> String
|
#to_hash ⇒ {
97 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 97
def to_hash: -> {
|
#tunnel_id= ⇒ String (readonly)
80 |
# File 'sig/openai/models/beta/beta_tool.rbs', line 80
def tunnel_id=: (String) -> String
|