Class: TencentCloud::Csip::V20221121::NewAlertKey
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::NewAlertKey
- Defined in:
- lib/v20221121/models.rb
Overview
该结构体用来传入告警的key,以更新告警的status
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #Date ⇒ Object
- #Key ⇒ Object
- #Name ⇒ Object
- #Source ⇒ Object
- #Status ⇒ Object
- #SubType ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appid = nil, type = nil, subtype = nil, source = nil, name = nil, key = nil, date = nil, status = nil) ⇒ NewAlertKey
constructor
A new instance of NewAlertKey.
Constructor Details
#initialize(appid = nil, type = nil, subtype = nil, source = nil, name = nil, key = nil, date = nil, status = nil) ⇒ NewAlertKey
Returns a new instance of NewAlertKey.
10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 |
# File 'lib/v20221121/models.rb', line 10549 def initialize(appid=nil, type=nil, subtype=nil, source=nil, name=nil, key=nil, date=nil, status=nil) @AppId = appid @Type = type @SubType = subtype @Source = source @Name = name @Key = key @Date = date @Status = status end |
Instance Attribute Details
#AppId ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def AppId @AppId end |
#Date ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Date @Date end |
#Key ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Key @Key end |
#Name ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Name @Name end |
#Source ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Source @Source end |
#Status ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Status @Status end |
#SubType ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def SubType @SubType end |
#Type ⇒ Object
10547 10548 10549 |
# File 'lib/v20221121/models.rb', line 10547 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 |
# File 'lib/v20221121/models.rb', line 10560 def deserialize(params) @AppId = params['AppId'] @Type = params['Type'] @SubType = params['SubType'] @Source = params['Source'] @Name = params['Name'] @Key = params['Key'] @Date = params['Date'] @Status = params['Status'] end |