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.
7255 7256 7257 7258 7259 |
# File 'lib/v20180525/models.rb', line 7255 def initialize(clusterstatusset=nil, totalcount=nil, requestid=nil) @ClusterStatusSet = clusterstatusset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterStatusSet ⇒ Object
7253 7254 7255 |
# File 'lib/v20180525/models.rb', line 7253 def ClusterStatusSet @ClusterStatusSet end |
#RequestId ⇒ Object
7253 7254 7255 |
# File 'lib/v20180525/models.rb', line 7253 def RequestId @RequestId end |
#TotalCount ⇒ Object
7253 7254 7255 |
# File 'lib/v20180525/models.rb', line 7253 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 |
# File 'lib/v20180525/models.rb', line 7261 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 |