Class: TencentCloud::Tke::V20180525::DescribePrometheusRecordRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusRecordRulesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusRecordRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusRecordRulesRequest
constructor
A new instance of DescribePrometheusRecordRulesRequest.
Constructor Details
#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusRecordRulesRequest
Returns a new instance of DescribePrometheusRecordRulesRequest.
9341 9342 9343 9344 9345 9346 |
# File 'lib/v20180525/models.rb', line 9341 def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil) @InstanceId = instanceid @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
9339 9340 9341 |
# File 'lib/v20180525/models.rb', line 9339 def Filters @Filters end |
#InstanceId ⇒ Object
9339 9340 9341 |
# File 'lib/v20180525/models.rb', line 9339 def InstanceId @InstanceId end |
#Limit ⇒ Object
9339 9340 9341 |
# File 'lib/v20180525/models.rb', line 9339 def Limit @Limit end |
#Offset ⇒ Object
9339 9340 9341 |
# File 'lib/v20180525/models.rb', line 9339 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 |
# File 'lib/v20180525/models.rb', line 9348 def deserialize(params) @InstanceId = params['InstanceId'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |