Class: TencentCloud::Monitor::V20180724::DescribePrometheusAlertGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusAlertGroupsResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribePrometheusAlertGroups返回参数结构体
Instance Attribute Summary collapse
-
#AlertGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alertgroupset = nil, totalcount = nil, requestid = nil) ⇒ DescribePrometheusAlertGroupsResponse
constructor
A new instance of DescribePrometheusAlertGroupsResponse.
Constructor Details
#initialize(alertgroupset = nil, totalcount = nil, requestid = nil) ⇒ DescribePrometheusAlertGroupsResponse
Returns a new instance of DescribePrometheusAlertGroupsResponse.
8155 8156 8157 8158 8159 |
# File 'lib/v20180724/models.rb', line 8155 def initialize(alertgroupset=nil, totalcount=nil, requestid=nil) @AlertGroupSet = alertgroupset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AlertGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
8153 8154 8155 |
# File 'lib/v20180724/models.rb', line 8153 def AlertGroupSet @AlertGroupSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
8153 8154 8155 |
# File 'lib/v20180724/models.rb', line 8153 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
8153 8154 8155 |
# File 'lib/v20180724/models.rb', line 8153 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 |
# File 'lib/v20180724/models.rb', line 8161 def deserialize(params) unless params['AlertGroupSet'].nil? @AlertGroupSet = [] params['AlertGroupSet'].each do |i| prometheusalertgroupset_tmp = PrometheusAlertGroupSet.new prometheusalertgroupset_tmp.deserialize(i) @AlertGroupSet << prometheusalertgroupset_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |