Class: TencentCloud::Monitor::V20180724::PrometheusAlertAllowTimeRange
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PrometheusAlertAllowTimeRange
- Defined in:
- lib/v20180724/models.rb
Overview
Prometheus自定义告警通知时间段
Instance Attribute Summary collapse
-
#End ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Start ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(start = nil, _end = nil) ⇒ PrometheusAlertAllowTimeRange
constructor
A new instance of PrometheusAlertAllowTimeRange.
Constructor Details
#initialize(start = nil, _end = nil) ⇒ PrometheusAlertAllowTimeRange
Returns a new instance of PrometheusAlertAllowTimeRange.
12874 12875 12876 12877 |
# File 'lib/v20180724/models.rb', line 12874 def initialize(start=nil, _end=nil) @Start = start @End = _end end |
Instance Attribute Details
#End ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12872 12873 12874 |
# File 'lib/v20180724/models.rb', line 12872 def End @End end |
#Start ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12872 12873 12874 |
# File 'lib/v20180724/models.rb', line 12872 def Start @Start end |
Instance Method Details
#deserialize(params) ⇒ Object
12879 12880 12881 12882 |
# File 'lib/v20180724/models.rb', line 12879 def deserialize(params) @Start = params['Start'] @End = params['End'] end |