Class: TencentCloud::Tke::V20180525::ModifyPrometheusGlobalNotificationRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

ModifyPrometheusGlobalNotification请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, notification = nil) ⇒ ModifyPrometheusGlobalNotificationRequest

Returns a new instance of ModifyPrometheusGlobalNotificationRequest.



14688
14689
14690
14691
# File 'lib/v20180525/models.rb', line 14688

def initialize(instanceid=nil, notification=nil)
  @InstanceId = instanceid
  @Notification = notification
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • Notification:

    告警通知渠道



14686
14687
14688
# File 'lib/v20180525/models.rb', line 14686

def InstanceId
  @InstanceId
end

#NotificationObject

Parameters:

  • InstanceId:

    实例ID

  • Notification:

    告警通知渠道



14686
14687
14688
# File 'lib/v20180525/models.rb', line 14686

def Notification
  @Notification
end

Instance Method Details

#deserialize(params) ⇒ Object



14693
14694
14695
14696
14697
14698
14699
# File 'lib/v20180525/models.rb', line 14693

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['Notification'].nil?
    @Notification = PrometheusNotificationItem.new
    @Notification.deserialize(params['Notification'])
  end
end