Class: TencentCloud::Tke::V20220501::DescribeNodePoolsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeNodePoolsRequest
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeNodePools请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
· tag:tag-key 按照【标签键值对】进行过滤。 类型:String 必选:否.
-
#Filters ⇒ Object
· tag:tag-key 按照【标签键值对】进行过滤。 类型:String 必选:否.
-
#Limit ⇒ Object
· tag:tag-key 按照【标签键值对】进行过滤。 类型:String 必选:否.
-
#Offset ⇒ Object
· tag:tag-key 按照【标签键值对】进行过滤。 类型:String 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeNodePoolsRequest
constructor
A new instance of DescribeNodePoolsRequest.
Constructor Details
#initialize(clusterid = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeNodePoolsRequest
Returns a new instance of DescribeNodePoolsRequest.
786 787 788 789 790 791 |
# File 'lib/v20220501/models.rb', line 786 def initialize(clusterid=nil, filters=nil, offset=nil, limit=nil) @ClusterId = clusterid @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#ClusterId ⇒ Object
· tag:tag-key
按照【标签键值对】进行过滤。
类型:String
必选:否
784 785 786 |
# File 'lib/v20220501/models.rb', line 784 def ClusterId @ClusterId end |
#Filters ⇒ Object
· tag:tag-key
按照【标签键值对】进行过滤。
类型:String
必选:否
784 785 786 |
# File 'lib/v20220501/models.rb', line 784 def Filters @Filters end |
#Limit ⇒ Object
· tag:tag-key
按照【标签键值对】进行过滤。
类型:String
必选:否
784 785 786 |
# File 'lib/v20220501/models.rb', line 784 def Limit @Limit end |
#Offset ⇒ Object
· tag:tag-key
按照【标签键值对】进行过滤。
类型:String
必选:否
784 785 786 |
# File 'lib/v20220501/models.rb', line 784 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
793 794 795 796 797 798 799 800 801 802 803 804 805 |
# File 'lib/v20220501/models.rb', line 793 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 |