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.
6110 6111 6112 6113 6114 |
# File 'lib/v20180525/models.rb', line 6110 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6108 6109 6110 |
# File 'lib/v20180525/models.rb', line 6108 def Items @Items end |
#RequestId ⇒ Object
6108 6109 6110 |
# File 'lib/v20180525/models.rb', line 6108 def RequestId @RequestId end |
#TotalCount ⇒ Object
6108 6109 6110 |
# File 'lib/v20180525/models.rb', line 6108 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 |
# File 'lib/v20180525/models.rb', line 6116 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 |