Class: TencentCloud::Ssa::V20180608::AlertListData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssa::V20180608::AlertListData
- Defined in:
- lib/v20180608/models.rb
Overview
告警列表响应数据
Instance Attribute Summary collapse
-
#Aggregations ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AlertList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, alertlist = nil, aggregations = nil) ⇒ AlertListData
constructor
A new instance of AlertListData.
Constructor Details
#initialize(total = nil, alertlist = nil, aggregations = nil) ⇒ AlertListData
Returns a new instance of AlertListData.
132 133 134 135 136 |
# File 'lib/v20180608/models.rb', line 132 def initialize(total=nil, alertlist=nil, aggregations=nil) @Total = total @AlertList = alertlist @Aggregations = aggregations end |
Instance Attribute Details
#Aggregations ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
130 131 132 |
# File 'lib/v20180608/models.rb', line 130 def Aggregations @Aggregations end |
#AlertList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
130 131 132 |
# File 'lib/v20180608/models.rb', line 130 def AlertList @AlertList end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
130 131 132 |
# File 'lib/v20180608/models.rb', line 130 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/v20180608/models.rb', line 138 def deserialize(params) @Total = params['Total'] unless params['AlertList'].nil? @AlertList = [] params['AlertList'].each do |i| alerttype_tmp = AlertType.new alerttype_tmp.deserialize(i) @AlertList << alerttype_tmp end end unless params['Aggregations'].nil? @Aggregations = AlertListAggregations.new @Aggregations.deserialize(params['Aggregations']) end end |