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.
5454 5455 5456 5457 5458 |
# File 'lib/v20180525/models.rb', line 5454 def initialize(totalcount=nil, clusterasgroupset=nil, requestid=nil) @TotalCount = totalcount @ClusterAsGroupSet = clusterasgroupset @RequestId = requestid end |
Instance Attribute Details
#ClusterAsGroupSet ⇒ Object
5452 5453 5454 |
# File 'lib/v20180525/models.rb', line 5452 def ClusterAsGroupSet @ClusterAsGroupSet end |
#RequestId ⇒ Object
5452 5453 5454 |
# File 'lib/v20180525/models.rb', line 5452 def RequestId @RequestId end |
#TotalCount ⇒ Object
5452 5453 5454 |
# File 'lib/v20180525/models.rb', line 5452 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 |
# File 'lib/v20180525/models.rb', line 5460 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 |