Class: ClaudeAgentSDK::McpClaudeAIProxyServerConfig
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::McpClaudeAIProxyServerConfig
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Claude.ai proxy MCP server config Output-only type that appears in status responses for servers proxied through Claude.ai
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(type: 'claudeai-proxy', url:, id:) ⇒ McpClaudeAIProxyServerConfig
constructor
A new instance of McpClaudeAIProxyServerConfig.
- #to_h ⇒ Object
Constructor Details
#initialize(type: 'claudeai-proxy', url:, id:) ⇒ McpClaudeAIProxyServerConfig
Returns a new instance of McpClaudeAIProxyServerConfig.
1443 1444 1445 1446 1447 |
# File 'lib/claude_agent_sdk/types.rb', line 1443 def initialize(type: 'claudeai-proxy', url:, id:) @type = type @url = url @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
1441 1442 1443 |
# File 'lib/claude_agent_sdk/types.rb', line 1441 def id @id end |
#type ⇒ Object
Returns the value of attribute type.
1441 1442 1443 |
# File 'lib/claude_agent_sdk/types.rb', line 1441 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
1441 1442 1443 |
# File 'lib/claude_agent_sdk/types.rb', line 1441 def url @url end |
Instance Method Details
#to_h ⇒ Object
1449 1450 1451 |
# File 'lib/claude_agent_sdk/types.rb', line 1449 def to_h { type: @type, url: @url, id: @id } end |