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.
5960 5961 5962 5963 5964 |
# File 'lib/v20180525/models.rb', line 5960 def initialize(totalcount=nil, instanceset=nil, requestid=nil) @TotalCount = totalcount @InstanceSet = instanceset @RequestId = requestid end |
Instance Attribute Details
#InstanceSet ⇒ Object
5958 5959 5960 |
# File 'lib/v20180525/models.rb', line 5958 def InstanceSet @InstanceSet end |
#RequestId ⇒ Object
5958 5959 5960 |
# File 'lib/v20180525/models.rb', line 5958 def RequestId @RequestId end |
#TotalCount ⇒ Object
5958 5959 5960 |
# File 'lib/v20180525/models.rb', line 5958 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 |
# File 'lib/v20180525/models.rb', line 5966 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 |