Class: TencentCloud::Tke::V20180525::DescribeClusterStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterStatusResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterStatus返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterstatusset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterStatusResponse
constructor
A new instance of DescribeClusterStatusResponse.
Constructor Details
#initialize(clusterstatusset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterStatusResponse
Returns a new instance of DescribeClusterStatusResponse.
6710 6711 6712 6713 6714 |
# File 'lib/v20180525/models.rb', line 6710 def initialize(clusterstatusset=nil, totalcount=nil, requestid=nil) @ClusterStatusSet = clusterstatusset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterStatusSet ⇒ Object
6708 6709 6710 |
# File 'lib/v20180525/models.rb', line 6708 def ClusterStatusSet @ClusterStatusSet end |
#RequestId ⇒ Object
6708 6709 6710 |
# File 'lib/v20180525/models.rb', line 6708 def RequestId @RequestId end |
#TotalCount ⇒ Object
6708 6709 6710 |
# File 'lib/v20180525/models.rb', line 6708 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 |
# File 'lib/v20180525/models.rb', line 6716 def deserialize(params) unless params['ClusterStatusSet'].nil? @ClusterStatusSet = [] params['ClusterStatusSet'].each do |i| clusterstatus_tmp = ClusterStatus.new clusterstatus_tmp.deserialize(i) @ClusterStatusSet << clusterstatus_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |