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.
5854 5855 5856 5857 5858 |
# File 'lib/v20180525/models.rb', line 5854 def initialize(totalcount=nil, clusterasgroupset=nil, requestid=nil) @TotalCount = totalcount @ClusterAsGroupSet = clusterasgroupset @RequestId = requestid end |
Instance Attribute Details
#ClusterAsGroupSet ⇒ Object
5852 5853 5854 |
# File 'lib/v20180525/models.rb', line 5852 def ClusterAsGroupSet @ClusterAsGroupSet end |
#RequestId ⇒ Object
5852 5853 5854 |
# File 'lib/v20180525/models.rb', line 5852 def RequestId @RequestId end |
#TotalCount ⇒ Object
5852 5853 5854 |
# File 'lib/v20180525/models.rb', line 5852 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 |
# File 'lib/v20180525/models.rb', line 5860 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 |