Class: TencentCloud::Tke::V20180525::DescribePrometheusGlobalNotificationResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusGlobalNotificationResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusGlobalNotification返回参数结构体
Instance Attribute Summary collapse
-
#Notification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(notification = nil, requestid = nil) ⇒ DescribePrometheusGlobalNotificationResponse
constructor
A new instance of DescribePrometheusGlobalNotificationResponse.
Constructor Details
#initialize(notification = nil, requestid = nil) ⇒ DescribePrometheusGlobalNotificationResponse
Returns a new instance of DescribePrometheusGlobalNotificationResponse.
9058 9059 9060 9061 |
# File 'lib/v20180525/models.rb', line 9058 def initialize(notification=nil, requestid=nil) @Notification = notification @RequestId = requestid end |
Instance Attribute Details
#Notification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9056 9057 9058 |
# File 'lib/v20180525/models.rb', line 9056 def Notification @Notification end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9056 9057 9058 |
# File 'lib/v20180525/models.rb', line 9056 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
9063 9064 9065 9066 9067 9068 9069 |
# File 'lib/v20180525/models.rb', line 9063 def deserialize(params) unless params['Notification'].nil? @Notification = PrometheusNotificationItem.new @Notification.deserialize(params['Notification']) end @RequestId = params['RequestId'] end |