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.
41628 41629 41630 41631 41632 |
# File 'lib/v20180228/models.rb', line 41628 def initialize(receiverid=nil, receivername=nil, policyname=nil) @ReceiverId = receiverid @ReceiverName = receivername @PolicyName = policyname end |
Instance Attribute Details
#PolicyName ⇒ Object
41626 41627 41628 |
# File 'lib/v20180228/models.rb', line 41626 def PolicyName @PolicyName end |
#ReceiverId ⇒ Object
41626 41627 41628 |
# File 'lib/v20180228/models.rb', line 41626 def ReceiverId @ReceiverId end |
#ReceiverName ⇒ Object
41626 41627 41628 |
# File 'lib/v20180228/models.rb', line 41626 def ReceiverName @ReceiverName end |
Instance Method Details
#deserialize(params) ⇒ Object
41634 41635 41636 41637 41638 |
# File 'lib/v20180228/models.rb', line 41634 def deserialize(params) @ReceiverId = params['ReceiverId'] @ReceiverName = params['ReceiverName'] @PolicyName = params['PolicyName'] end |