Class: TencentCloud::Wedata::V20250806::AlarmQuietInterval

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

Overview

告警免打扰时间区间

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(daysofweek = nil, starttime = nil, endtime = nil) ⇒ AlarmQuietInterval

Returns a new instance of AlarmQuietInterval.



177
178
179
180
181
# File 'lib/v20250806/models.rb', line 177

def initialize(daysofweek=nil, starttime=nil, endtime=nil)
  @DaysOfWeek = daysofweek
  @StartTime = starttime
  @EndTime = endtime
end

Instance Attribute Details

#DaysOfWeekObject

Parameters:

  • DaysOfWeek:

    ISO标准,1表示周一,7表示周日。

  • StartTime:

    开始时间,精度时分秒,格式 HH:mm:ss

  • EndTime:

    结束时间,精度时分秒,格式 HH:mm:ss



175
176
177
# File 'lib/v20250806/models.rb', line 175

def DaysOfWeek
  @DaysOfWeek
end

#EndTimeObject

Parameters:

  • DaysOfWeek:

    ISO标准,1表示周一,7表示周日。

  • StartTime:

    开始时间,精度时分秒,格式 HH:mm:ss

  • EndTime:

    结束时间,精度时分秒,格式 HH:mm:ss



175
176
177
# File 'lib/v20250806/models.rb', line 175

def EndTime
  @EndTime
end

#StartTimeObject

Parameters:

  • DaysOfWeek:

    ISO标准,1表示周一,7表示周日。

  • StartTime:

    开始时间,精度时分秒,格式 HH:mm:ss

  • EndTime:

    结束时间,精度时分秒,格式 HH:mm:ss



175
176
177
# File 'lib/v20250806/models.rb', line 175

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



183
184
185
186
187
# File 'lib/v20250806/models.rb', line 183

def deserialize(params)
  @DaysOfWeek = params['DaysOfWeek']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
end