Class: TencentCloud::Monitor::V20180724::CLSNotice
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CLSNotice
- Defined in:
- lib/v20180724/models.rb
Overview
告警通知中的推送CLS操作
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, logsetid = nil, topicid = nil, enable = nil) ⇒ CLSNotice
constructor
A new instance of CLSNotice.
Constructor Details
#initialize(region = nil, logsetid = nil, topicid = nil, enable = nil) ⇒ CLSNotice
Returns a new instance of CLSNotice.
1305 1306 1307 1308 1309 1310 |
# File 'lib/v20180724/models.rb', line 1305 def initialize(region=nil, logsetid=nil, topicid=nil, enable=nil) @Region = region @LogSetId = logsetid @TopicId = topicid @Enable = enable end |
Instance Attribute Details
#Enable ⇒ Object
1303 1304 1305 |
# File 'lib/v20180724/models.rb', line 1303 def Enable @Enable end |
#LogSetId ⇒ Object
1303 1304 1305 |
# File 'lib/v20180724/models.rb', line 1303 def LogSetId @LogSetId end |
#Region ⇒ Object
1303 1304 1305 |
# File 'lib/v20180724/models.rb', line 1303 def Region @Region end |
#TopicId ⇒ Object
1303 1304 1305 |
# File 'lib/v20180724/models.rb', line 1303 def TopicId @TopicId end |
Instance Method Details
#deserialize(params) ⇒ Object
1312 1313 1314 1315 1316 1317 |
# File 'lib/v20180724/models.rb', line 1312 def deserialize(params) @Region = params['Region'] @LogSetId = params['LogSetId'] @TopicId = params['TopicId'] @Enable = params['Enable'] end |