Class: TencentCloud::Monitor::V20180724::PrometheusAlertAllowTimeRange

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180724/models.rb

Overview

Prometheus自定义告警通知时间段

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#EndObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Start:

    从0点开始的秒数

  • End:

    从0点开始的秒数



12872
12873
12874
# File 'lib/v20180724/models.rb', line 12872

def End
  @End
end

#StartObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Start:

    从0点开始的秒数

  • End:

    从0点开始的秒数



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