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.
6025 6026 6027 6028 6029 |
# File 'lib/v20180525/models.rb', line 6025 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
6023 6024 6025 |
# File 'lib/v20180525/models.rb', line 6023 def Items @Items end |
#RequestId ⇒ Object
6023 6024 6025 |
# File 'lib/v20180525/models.rb', line 6023 def RequestId @RequestId end |
#TotalCount ⇒ Object
6023 6024 6025 |
# File 'lib/v20180525/models.rb', line 6023 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 |
# File 'lib/v20180525/models.rb', line 6031 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 |