Class: TencentCloud::Tke::V20180525::CreatePrometheusGlobalNotificationRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreatePrometheusGlobalNotificationRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreatePrometheusGlobalNotification请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, notification = nil) ⇒ CreatePrometheusGlobalNotificationRequest
constructor
A new instance of CreatePrometheusGlobalNotificationRequest.
Constructor Details
#initialize(instanceid = nil, notification = nil) ⇒ CreatePrometheusGlobalNotificationRequest
Returns a new instance of CreatePrometheusGlobalNotificationRequest.
3505 3506 3507 3508 |
# File 'lib/v20180525/models.rb', line 3505 def initialize(instanceid=nil, notification=nil) @InstanceId = instanceid @Notification = notification end |
Instance Attribute Details
#InstanceId ⇒ Object
3503 3504 3505 |
# File 'lib/v20180525/models.rb', line 3503 def InstanceId @InstanceId end |
#Notification ⇒ Object
3503 3504 3505 |
# File 'lib/v20180525/models.rb', line 3503 def Notification @Notification end |
Instance Method Details
#deserialize(params) ⇒ Object
3510 3511 3512 3513 3514 3515 3516 |
# File 'lib/v20180525/models.rb', line 3510 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Notification'].nil? @Notification = PrometheusNotificationItem.new @Notification.deserialize(params['Notification']) end end |