Class: TencentCloud::Monitor::V20180724::DescribePrometheusGlobalNotificationResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusGlobalNotificationResponse
- Defined in:
- lib/v20180724/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.
8527 8528 8529 8530 |
# File 'lib/v20180724/models.rb', line 8527 def initialize(notification=nil, requestid=nil) @Notification = notification @RequestId = requestid end |
Instance Attribute Details
#Notification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8525 8526 8527 |
# File 'lib/v20180724/models.rb', line 8525 def Notification @Notification end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8525 8526 8527 |
# File 'lib/v20180724/models.rb', line 8525 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8532 8533 8534 8535 8536 8537 8538 |
# File 'lib/v20180724/models.rb', line 8532 def deserialize(params) unless params['Notification'].nil? @Notification = PrometheusNotificationItem.new @Notification.deserialize(params['Notification']) end @RequestId = params['RequestId'] end |