Class: TencentCloud::Cws::V20180312::DescribeMonitorsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeMonitorsResponse
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeMonitors返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(monitors = nil, totalcount = nil, requestid = nil) ⇒ DescribeMonitorsResponse
constructor
A new instance of DescribeMonitorsResponse.
Constructor Details
#initialize(monitors = nil, totalcount = nil, requestid = nil) ⇒ DescribeMonitorsResponse
Returns a new instance of DescribeMonitorsResponse.
396 397 398 399 400 |
# File 'lib/v20180312/models.rb', line 396 def initialize(monitors=nil, totalcount=nil, requestid=nil) @Monitors = monitors @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Monitors ⇒ Object
394 395 396 |
# File 'lib/v20180312/models.rb', line 394 def Monitors @Monitors end |
#RequestId ⇒ Object
394 395 396 |
# File 'lib/v20180312/models.rb', line 394 def RequestId @RequestId end |
#TotalCount ⇒ Object
394 395 396 |
# File 'lib/v20180312/models.rb', line 394 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
402 403 404 405 406 407 408 409 410 411 412 413 |
# File 'lib/v20180312/models.rb', line 402 def deserialize(params) unless params['Monitors'].nil? @Monitors = [] params['Monitors'].each do |i| monitorsdetail_tmp = MonitorsDetail.new monitorsdetail_tmp.deserialize(i) @Monitors << monitorsdetail_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |