Class: TencentCloud::Cls::V20201016::CreateAlarmShieldRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::CreateAlarmShieldRequest
- Defined in:
- lib/v20201016/models.rb
Overview
CreateAlarmShield请求参数结构体
Instance Attribute Summary collapse
- #AlarmNoticeId ⇒ Object
- #EndTime ⇒ Object
- #Reason ⇒ Object
- #Rule ⇒ Object
- #StartTime ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmnoticeid = nil, starttime = nil, endtime = nil, type = nil, reason = nil, rule = nil) ⇒ CreateAlarmShieldRequest
constructor
A new instance of CreateAlarmShieldRequest.
Constructor Details
#initialize(alarmnoticeid = nil, starttime = nil, endtime = nil, type = nil, reason = nil, rule = nil) ⇒ CreateAlarmShieldRequest
Returns a new instance of CreateAlarmShieldRequest.
2622 2623 2624 2625 2626 2627 2628 2629 |
# File 'lib/v20201016/models.rb', line 2622 def initialize(alarmnoticeid=nil, starttime=nil, endtime=nil, type=nil, reason=nil, rule=nil) @AlarmNoticeId = alarmnoticeid @StartTime = starttime @EndTime = endtime @Type = type @Reason = reason @Rule = rule end |
Instance Attribute Details
#AlarmNoticeId ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def AlarmNoticeId @AlarmNoticeId end |
#EndTime ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def EndTime @EndTime end |
#Reason ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def Reason @Reason end |
#Rule ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def Rule @Rule end |
#StartTime ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def StartTime @StartTime end |
#Type ⇒ Object
2620 2621 2622 |
# File 'lib/v20201016/models.rb', line 2620 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2631 2632 2633 2634 2635 2636 2637 2638 |
# File 'lib/v20201016/models.rb', line 2631 def deserialize(params) @AlarmNoticeId = params['AlarmNoticeId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Type = params['Type'] @Reason = params['Reason'] @Rule = params['Rule'] end |