Class: TencentCloud::Cwp::V20180228::WebHookReceiverUsage
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::WebHookReceiverUsage
- Defined in:
- lib/v20180228/models.rb
Overview
告警接收人的关联策略使用信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(receiverid = nil, receivername = nil, policyname = nil) ⇒ WebHookReceiverUsage
constructor
A new instance of WebHookReceiverUsage.
Constructor Details
#initialize(receiverid = nil, receivername = nil, policyname = nil) ⇒ WebHookReceiverUsage
Returns a new instance of WebHookReceiverUsage.
41254 41255 41256 41257 41258 |
# File 'lib/v20180228/models.rb', line 41254 def initialize(receiverid=nil, receivername=nil, policyname=nil) @ReceiverId = receiverid @ReceiverName = receivername @PolicyName = policyname end |
Instance Attribute Details
#PolicyName ⇒ Object
41252 41253 41254 |
# File 'lib/v20180228/models.rb', line 41252 def PolicyName @PolicyName end |
#ReceiverId ⇒ Object
41252 41253 41254 |
# File 'lib/v20180228/models.rb', line 41252 def ReceiverId @ReceiverId end |
#ReceiverName ⇒ Object
41252 41253 41254 |
# File 'lib/v20180228/models.rb', line 41252 def ReceiverName @ReceiverName end |
Instance Method Details
#deserialize(params) ⇒ Object
41260 41261 41262 41263 41264 |
# File 'lib/v20180228/models.rb', line 41260 def deserialize(params) @ReceiverId = params['ReceiverId'] @ReceiverName = params['ReceiverName'] @PolicyName = params['PolicyName'] end |