Class: TencentCloud::Tke::V20180525::DescribeClusterLevelChangeRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterLevelChangeRecordsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterLevelChangeRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeClusterLevelChangeRecordsResponse
constructor
A new instance of DescribeClusterLevelChangeRecordsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeClusterLevelChangeRecordsResponse
Returns a new instance of DescribeClusterLevelChangeRecordsResponse.
6544 6545 6546 6547 6548 |
# File 'lib/v20180525/models.rb', line 6544 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6542 6543 6544 |
# File 'lib/v20180525/models.rb', line 6542 def Items @Items end |
#RequestId ⇒ Object
6542 6543 6544 |
# File 'lib/v20180525/models.rb', line 6542 def RequestId @RequestId end |
#TotalCount ⇒ Object
6542 6543 6544 |
# File 'lib/v20180525/models.rb', line 6542 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 |
# File 'lib/v20180525/models.rb', line 6550 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| clusterlevelchangerecord_tmp = ClusterLevelChangeRecord.new clusterlevelchangerecord_tmp.deserialize(i) @Items << clusterlevelchangerecord_tmp end end @RequestId = params['RequestId'] end |