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.
14933 14934 14935 14936 |
# File 'lib/v20180525/models.rb', line 14933 def initialize(instanceid=nil, notification=nil) @InstanceId = instanceid @Notification = notification end |
Instance Attribute Details
#InstanceId ⇒ Object
14931 14932 14933 |
# File 'lib/v20180525/models.rb', line 14931 def InstanceId @InstanceId end |
#Notification ⇒ Object
14931 14932 14933 |
# File 'lib/v20180525/models.rb', line 14931 def Notification @Notification end |
Instance Method Details
#deserialize(params) ⇒ Object
14938 14939 14940 14941 14942 14943 14944 |
# File 'lib/v20180525/models.rb', line 14938 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Notification'].nil? @Notification = PrometheusNotificationItem.new @Notification.deserialize(params['Notification']) end end |