Class: TencentCloud::Wedata::V20210820::DescribeAlarmEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::DescribeAlarmEventsResponse
- Defined in:
- lib/v20210820/models.rb
Overview
DescribeAlarmEvents返回参数结构体
Instance Attribute Summary collapse
-
#AlarmEventInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmeventinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeAlarmEventsResponse
constructor
A new instance of DescribeAlarmEventsResponse.
Constructor Details
#initialize(alarmeventinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeAlarmEventsResponse
Returns a new instance of DescribeAlarmEventsResponse.
8238 8239 8240 8241 8242 |
# File 'lib/v20210820/models.rb', line 8238 def initialize(alarmeventinfolist=nil, totalcount=nil, requestid=nil) @AlarmEventInfoList = alarmeventinfolist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AlarmEventInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8236 8237 8238 |
# File 'lib/v20210820/models.rb', line 8236 def AlarmEventInfoList @AlarmEventInfoList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8236 8237 8238 |
# File 'lib/v20210820/models.rb', line 8236 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8236 8237 8238 |
# File 'lib/v20210820/models.rb', line 8236 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 |
# File 'lib/v20210820/models.rb', line 8244 def deserialize(params) unless params['AlarmEventInfoList'].nil? @AlarmEventInfoList = [] params['AlarmEventInfoList'].each do |i| alarmeventinfo_tmp = AlarmEventInfo.new alarmeventinfo_tmp.deserialize(i) @AlarmEventInfoList << alarmeventinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |