Class: TencentCloud::Tke::V20180525::DescribePrometheusAlertRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusAlertRuleRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusAlertRule请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
支持ID,Name.
-
#InstanceId ⇒ Object
支持ID,Name.
-
#Limit ⇒ Object
支持ID,Name.
-
#Offset ⇒ Object
支持ID,Name.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusAlertRuleRequest
constructor
A new instance of DescribePrometheusAlertRuleRequest.
Constructor Details
#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusAlertRuleRequest
Returns a new instance of DescribePrometheusAlertRuleRequest.
8760 8761 8762 8763 8764 8765 |
# File 'lib/v20180525/models.rb', line 8760 def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil) @InstanceId = instanceid @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
支持ID,Name
8758 8759 8760 |
# File 'lib/v20180525/models.rb', line 8758 def Filters @Filters end |
#InstanceId ⇒ Object
支持ID,Name
8758 8759 8760 |
# File 'lib/v20180525/models.rb', line 8758 def InstanceId @InstanceId end |
#Limit ⇒ Object
支持ID,Name
8758 8759 8760 |
# File 'lib/v20180525/models.rb', line 8758 def Limit @Limit end |
#Offset ⇒ Object
支持ID,Name
8758 8759 8760 |
# File 'lib/v20180525/models.rb', line 8758 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 |
# File 'lib/v20180525/models.rb', line 8767 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 |