Class: TencentCloud::Thpc::V20230321::DescribeNodesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeNodesRequest
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeNodes请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>.
-
#Filters ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>.
-
#Limit ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>.
-
#Offset ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeNodesRequest
constructor
A new instance of DescribeNodesRequest.
Constructor Details
#initialize(clusterid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeNodesRequest
Returns a new instance of DescribeNodesRequest.
1367 1368 1369 1370 1371 1372 |
# File 'lib/v20230321/models.rb', line 1367 def initialize(clusterid=nil, filters=nil, offset=nil, limit=nil) @ClusterId = clusterid @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#ClusterId ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>
1365 1366 1367 |
# File 'lib/v20230321/models.rb', line 1365 def ClusterId @ClusterId end |
#Filters ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>
1365 1366 1367 |
# File 'lib/v20230321/models.rb', line 1365 def Filters @Filters end |
#Limit ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>
1365 1366 1367 |
# File 'lib/v20230321/models.rb', line 1365 def Limit @Limit end |
#Offset ⇒ Object
</ul> <p style=“padding-left: 30px;”>每次请求的‘Filters`的上限为10,`Filter.Values`的上限为5。</p>
1365 1366 1367 |
# File 'lib/v20230321/models.rb', line 1365 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/v20230321/models.rb', line 1374 def deserialize(params) @ClusterId = params['ClusterId'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Offset = params['Offset'] @Limit = params['Limit'] end |