Class: TencentCloud::Tke::V20180525::DescribeClusterInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterInstancesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instanceset = nil, requestid = nil) ⇒ DescribeClusterInstancesResponse
constructor
A new instance of DescribeClusterInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instanceset = nil, requestid = nil) ⇒ DescribeClusterInstancesResponse
Returns a new instance of DescribeClusterInstancesResponse.
6394 6395 6396 6397 6398 |
# File 'lib/v20180525/models.rb', line 6394 def initialize(totalcount=nil, instanceset=nil, requestid=nil) @TotalCount = totalcount @InstanceSet = instanceset @RequestId = requestid end |
Instance Attribute Details
#InstanceSet ⇒ Object
6392 6393 6394 |
# File 'lib/v20180525/models.rb', line 6392 def InstanceSet @InstanceSet end |
#RequestId ⇒ Object
6392 6393 6394 |
# File 'lib/v20180525/models.rb', line 6392 def RequestId @RequestId end |
#TotalCount ⇒ Object
6392 6393 6394 |
# File 'lib/v20180525/models.rb', line 6392 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 |
# File 'lib/v20180525/models.rb', line 6400 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceSet'].nil? @InstanceSet = [] params['InstanceSet'].each do |i| instance_tmp = Instance.new instance_tmp.deserialize(i) @InstanceSet << instance_tmp end end @RequestId = params['RequestId'] end |