Class: TencentCloud::Cws::V20180312::DescribeMonitorsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeMonitorsRequest
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeMonitors请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(monitorids = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeMonitorsRequest
constructor
A new instance of DescribeMonitorsRequest.
Constructor Details
#initialize(monitorids = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeMonitorsRequest
Returns a new instance of DescribeMonitorsRequest.
363 364 365 366 367 368 |
# File 'lib/v20180312/models.rb', line 363 def initialize(monitorids=nil, filters=nil, offset=nil, limit=nil) @MonitorIds = monitorids @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#Filters ⇒ Object
361 362 363 |
# File 'lib/v20180312/models.rb', line 361 def Filters @Filters end |
#Limit ⇒ Object
361 362 363 |
# File 'lib/v20180312/models.rb', line 361 def Limit @Limit end |
#MonitorIds ⇒ Object
361 362 363 |
# File 'lib/v20180312/models.rb', line 361 def MonitorIds @MonitorIds end |
#Offset ⇒ Object
361 362 363 |
# File 'lib/v20180312/models.rb', line 361 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
370 371 372 373 374 375 376 377 378 379 380 381 382 |
# File 'lib/v20180312/models.rb', line 370 def deserialize(params) @MonitorIds = params['MonitorIds'] 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 |