Class: TencentCloud::Bma::V20210624::DescribeCRMonitorsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bma::V20210624::DescribeCRMonitorsResponse
- Defined in:
- lib/v20210624/models.rb
Overview
DescribeCRMonitors返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(monitors = nil, totalcount = nil, exporturl = nil, requestid = nil) ⇒ DescribeCRMonitorsResponse
constructor
A new instance of DescribeCRMonitorsResponse.
Constructor Details
#initialize(monitors = nil, totalcount = nil, exporturl = nil, requestid = nil) ⇒ DescribeCRMonitorsResponse
Returns a new instance of DescribeCRMonitorsResponse.
1282 1283 1284 1285 1286 1287 |
# File 'lib/v20210624/models.rb', line 1282 def initialize(monitors=nil, totalcount=nil, exporturl=nil, requestid=nil) @Monitors = monitors @TotalCount = totalcount @ExportURL = exporturl @RequestId = requestid end |
Instance Attribute Details
#ExportURL ⇒ Object
1280 1281 1282 |
# File 'lib/v20210624/models.rb', line 1280 def ExportURL @ExportURL end |
#Monitors ⇒ Object
1280 1281 1282 |
# File 'lib/v20210624/models.rb', line 1280 def Monitors @Monitors end |
#RequestId ⇒ Object
1280 1281 1282 |
# File 'lib/v20210624/models.rb', line 1280 def RequestId @RequestId end |
#TotalCount ⇒ Object
1280 1281 1282 |
# File 'lib/v20210624/models.rb', line 1280 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 |
# File 'lib/v20210624/models.rb', line 1289 def deserialize(params) unless params['Monitors'].nil? @Monitors = [] params['Monitors'].each do |i| monitor_tmp = Monitor.new monitor_tmp.deserialize(i) @Monitors << monitor_tmp end end @TotalCount = params['TotalCount'] @ExportURL = params['ExportURL'] @RequestId = params['RequestId'] end |