Class: TencentCloud::Lighthouse::V20200324::DescribeMcpServersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeMcpServersResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeMcpServers返回参数结构体
Instance Attribute Summary collapse
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #McpServerSet ⇒ Object
- #RequestId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mcpserverset = nil, totalcount = nil, instanceid = nil, instancename = nil, requestid = nil) ⇒ DescribeMcpServersResponse
constructor
A new instance of DescribeMcpServersResponse.
Constructor Details
#initialize(mcpserverset = nil, totalcount = nil, instanceid = nil, instancename = nil, requestid = nil) ⇒ DescribeMcpServersResponse
Returns a new instance of DescribeMcpServersResponse.
3724 3725 3726 3727 3728 3729 3730 |
# File 'lib/v20200324/models.rb', line 3724 def initialize(mcpserverset=nil, totalcount=nil, instanceid=nil, instancename=nil, requestid=nil) @McpServerSet = mcpserverset @TotalCount = totalcount @InstanceId = instanceid @InstanceName = instancename @RequestId = requestid end |
Instance Attribute Details
#InstanceId ⇒ Object
3722 3723 3724 |
# File 'lib/v20200324/models.rb', line 3722 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
3722 3723 3724 |
# File 'lib/v20200324/models.rb', line 3722 def InstanceName @InstanceName end |
#McpServerSet ⇒ Object
3722 3723 3724 |
# File 'lib/v20200324/models.rb', line 3722 def McpServerSet @McpServerSet end |
#RequestId ⇒ Object
3722 3723 3724 |
# File 'lib/v20200324/models.rb', line 3722 def RequestId @RequestId end |
#TotalCount ⇒ Object
3722 3723 3724 |
# File 'lib/v20200324/models.rb', line 3722 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 |
# File 'lib/v20200324/models.rb', line 3732 def deserialize(params) unless params['McpServerSet'].nil? @McpServerSet = [] params['McpServerSet'].each do |i| mcpserver_tmp = McpServer.new mcpserver_tmp.deserialize(i) @McpServerSet << mcpserver_tmp end end @TotalCount = params['TotalCount'] @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @RequestId = params['RequestId'] end |