Class: TencentCloud::Tke::V20180525::ModifyPrometheusGlobalNotificationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusGlobalNotificationRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusGlobalNotification请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, notification = nil) ⇒ ModifyPrometheusGlobalNotificationRequest
constructor
A new instance of ModifyPrometheusGlobalNotificationRequest.
Constructor Details
#initialize(instanceid = nil, notification = nil) ⇒ ModifyPrometheusGlobalNotificationRequest
Returns a new instance of ModifyPrometheusGlobalNotificationRequest.
14637 14638 14639 14640 |
# File 'lib/v20180525/models.rb', line 14637 def initialize(instanceid=nil, notification=nil) @InstanceId = instanceid @Notification = notification end |
Instance Attribute Details
#InstanceId ⇒ Object
14635 14636 14637 |
# File 'lib/v20180525/models.rb', line 14635 def InstanceId @InstanceId end |
#Notification ⇒ Object
14635 14636 14637 |
# File 'lib/v20180525/models.rb', line 14635 def Notification @Notification end |
Instance Method Details
#deserialize(params) ⇒ Object
14642 14643 14644 14645 14646 14647 14648 |
# File 'lib/v20180525/models.rb', line 14642 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Notification'].nil? @Notification = PrometheusNotificationItem.new @Notification.deserialize(params['Notification']) end end |