Class: TencentCloud::Tke::V20180525::DescribePrometheusAlertHistoryRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusAlertHistoryRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusAlertHistory请求参数结构体
Instance Attribute Summary collapse
- #EndTime ⇒ Object
- #InstanceId ⇒ Object
- #Labels ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #RuleName ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, rulename = nil, starttime = nil, endtime = nil, labels = nil, offset = nil, limit = nil) ⇒ DescribePrometheusAlertHistoryRequest
constructor
A new instance of DescribePrometheusAlertHistoryRequest.
Constructor Details
#initialize(instanceid = nil, rulename = nil, starttime = nil, endtime = nil, labels = nil, offset = nil, limit = nil) ⇒ DescribePrometheusAlertHistoryRequest
Returns a new instance of DescribePrometheusAlertHistoryRequest.
8648 8649 8650 8651 8652 8653 8654 8655 8656 |
# File 'lib/v20180525/models.rb', line 8648 def initialize(instanceid=nil, rulename=nil, starttime=nil, endtime=nil, labels=nil, offset=nil, limit=nil) @InstanceId = instanceid @RuleName = rulename @StartTime = starttime @EndTime = endtime @Labels = labels @Offset = offset @Limit = limit end |
Instance Attribute Details
#EndTime ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def EndTime @EndTime end |
#InstanceId ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def InstanceId @InstanceId end |
#Labels ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def Labels @Labels end |
#Limit ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def Limit @Limit end |
#Offset ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def Offset @Offset end |
#RuleName ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def RuleName @RuleName end |
#StartTime ⇒ Object
8646 8647 8648 |
# File 'lib/v20180525/models.rb', line 8646 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
8658 8659 8660 8661 8662 8663 8664 8665 8666 |
# File 'lib/v20180525/models.rb', line 8658 def deserialize(params) @InstanceId = params['InstanceId'] @RuleName = params['RuleName'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Labels = params['Labels'] @Offset = params['Offset'] @Limit = params['Limit'] end |