Class: TencentCloud::Wedata::V20250806::ListAlarmRulesResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::ListAlarmRulesResult
- Defined in:
- lib/v20250806/models.rb
Overview
查询告警规则列表
Instance Attribute Summary collapse
- #Items ⇒ Object
- #PageNumber ⇒ Object
- #PageSize ⇒ Object
- #TotalCount ⇒ Object
- #TotalPageNumber ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, totalpagenumber = nil, totalcount = nil, items = nil) ⇒ ListAlarmRulesResult
constructor
A new instance of ListAlarmRulesResult.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, totalpagenumber = nil, totalcount = nil, items = nil) ⇒ ListAlarmRulesResult
Returns a new instance of ListAlarmRulesResult.
6266 6267 6268 6269 6270 6271 6272 |
# File 'lib/v20250806/models.rb', line 6266 def initialize(pagenumber=nil, pagesize=nil, totalpagenumber=nil, totalcount=nil, items=nil) @PageNumber = pagenumber @PageSize = pagesize @TotalPageNumber = totalpagenumber @TotalCount = totalcount @Items = items end |
Instance Attribute Details
#Items ⇒ Object
6264 6265 6266 |
# File 'lib/v20250806/models.rb', line 6264 def Items @Items end |
#PageNumber ⇒ Object
6264 6265 6266 |
# File 'lib/v20250806/models.rb', line 6264 def PageNumber @PageNumber end |
#PageSize ⇒ Object
6264 6265 6266 |
# File 'lib/v20250806/models.rb', line 6264 def PageSize @PageSize end |
#TotalCount ⇒ Object
6264 6265 6266 |
# File 'lib/v20250806/models.rb', line 6264 def TotalCount @TotalCount end |
#TotalPageNumber ⇒ Object
6264 6265 6266 |
# File 'lib/v20250806/models.rb', line 6264 def TotalPageNumber @TotalPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 |
# File 'lib/v20250806/models.rb', line 6274 def deserialize(params) @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @TotalPageNumber = params['TotalPageNumber'] @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| alarmruledata_tmp = AlarmRuleData.new alarmruledata_tmp.deserialize(i) @Items << alarmruledata_tmp end end end |