Class: TencentCloud::Tke::V20180525::DescribeClusterLevelAttributeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterLevelAttributeResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterLevelAttribute返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeClusterLevelAttributeResponse
constructor
A new instance of DescribeClusterLevelAttributeResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeClusterLevelAttributeResponse
Returns a new instance of DescribeClusterLevelAttributeResponse.
6047 6048 6049 6050 6051 |
# File 'lib/v20180525/models.rb', line 6047 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6045 6046 6047 |
# File 'lib/v20180525/models.rb', line 6045 def Items @Items end |
#RequestId ⇒ Object
6045 6046 6047 |
# File 'lib/v20180525/models.rb', line 6045 def RequestId @RequestId end |
#TotalCount ⇒ Object
6045 6046 6047 |
# File 'lib/v20180525/models.rb', line 6045 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 |
# File 'lib/v20180525/models.rb', line 6053 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| clusterlevelattribute_tmp = ClusterLevelAttribute.new clusterlevelattribute_tmp.deserialize(i) @Items << clusterlevelattribute_tmp end end @RequestId = params['RequestId'] end |