Class: TencentCloud::Thpc::V20220401::DescribeNodesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DescribeNodesRequest
- Defined in:
- lib/v20220401/models.rb
Overview
DescribeNodes请求参数结构体
Instance Attribute Summary collapse
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.
1114 1115 1116 1117 1118 1119 |
# File 'lib/v20220401/models.rb', line 1114 def initialize(clusterid=nil, filters=nil, offset=nil, limit=nil) @ClusterId = clusterid @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#ClusterId ⇒ Object
1112 1113 1114 |
# File 'lib/v20220401/models.rb', line 1112 def ClusterId @ClusterId end |
#Filters ⇒ Object
1112 1113 1114 |
# File 'lib/v20220401/models.rb', line 1112 def Filters @Filters end |
#Limit ⇒ Object
1112 1113 1114 |
# File 'lib/v20220401/models.rb', line 1112 def Limit @Limit end |
#Offset ⇒ Object
1112 1113 1114 |
# File 'lib/v20220401/models.rb', line 1112 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 |
# File 'lib/v20220401/models.rb', line 1121 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 |