Class: TencentCloud::Tke::V20180525::DescribeClusterAsGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterAsGroupsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterAsGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, clusterasgroupset = nil, requestid = nil) ⇒ DescribeClusterAsGroupsResponse
constructor
A new instance of DescribeClusterAsGroupsResponse.
Constructor Details
#initialize(totalcount = nil, clusterasgroupset = nil, requestid = nil) ⇒ DescribeClusterAsGroupsResponse
Returns a new instance of DescribeClusterAsGroupsResponse.
5464 5465 5466 5467 5468 |
# File 'lib/v20180525/models.rb', line 5464 def initialize(totalcount=nil, clusterasgroupset=nil, requestid=nil) @TotalCount = totalcount @ClusterAsGroupSet = clusterasgroupset @RequestId = requestid end |
Instance Attribute Details
#ClusterAsGroupSet ⇒ Object
5462 5463 5464 |
# File 'lib/v20180525/models.rb', line 5462 def ClusterAsGroupSet @ClusterAsGroupSet end |
#RequestId ⇒ Object
5462 5463 5464 |
# File 'lib/v20180525/models.rb', line 5462 def RequestId @RequestId end |
#TotalCount ⇒ Object
5462 5463 5464 |
# File 'lib/v20180525/models.rb', line 5462 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 |
# File 'lib/v20180525/models.rb', line 5470 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ClusterAsGroupSet'].nil? @ClusterAsGroupSet = [] params['ClusterAsGroupSet'].each do |i| clusterasgroup_tmp = ClusterAsGroup.new clusterasgroup_tmp.deserialize(i) @ClusterAsGroupSet << clusterasgroup_tmp end end @RequestId = params['RequestId'] end |