Class: TencentCloud::Tke::V20180525::DescribePrometheusAlertPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusAlertPolicyRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusAlertPolicy请求参数结构体
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) ⇒ DescribePrometheusAlertPolicyRequest
constructor
A new instance of DescribePrometheusAlertPolicyRequest.
Constructor Details
#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusAlertPolicyRequest
Returns a new instance of DescribePrometheusAlertPolicyRequest.
8692 8693 8694 8695 8696 8697 |
# File 'lib/v20180525/models.rb', line 8692 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
8690 8691 8692 |
# File 'lib/v20180525/models.rb', line 8690 def Filters @Filters end |
#InstanceId ⇒ Object
支持ID,Name
8690 8691 8692 |
# File 'lib/v20180525/models.rb', line 8690 def InstanceId @InstanceId end |
#Limit ⇒ Object
支持ID,Name
8690 8691 8692 |
# File 'lib/v20180525/models.rb', line 8690 def Limit @Limit end |
#Offset ⇒ Object
支持ID,Name
8690 8691 8692 |
# File 'lib/v20180525/models.rb', line 8690 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 |
# File 'lib/v20180525/models.rb', line 8699 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 |