Class: TencentCloud::Lighthouse::V20200324::McpServerTemplateEnv

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

MCP Server模板环境变量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ McpServerTemplateEnv

Returns a new instance of McpServerTemplateEnv.



6533
6534
6535
6536
# File 'lib/v20200324/models.rb', line 6533

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    MCP Server模板的环境变量键

  • Value:

    MCP Server模板的环境变量值



6531
6532
6533
# File 'lib/v20200324/models.rb', line 6531

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    MCP Server模板的环境变量键

  • Value:

    MCP Server模板的环境变量值



6531
6532
6533
# File 'lib/v20200324/models.rb', line 6531

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6538
6539
6540
6541
# File 'lib/v20200324/models.rb', line 6538

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end