Class: TencentCloud::Iotvideoindustry::V20201201::DescribeAbnormalEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeAbnormalEventsResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeAbnormalEvents返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ DescribeAbnormalEventsResponse
constructor
A new instance of DescribeAbnormalEventsResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ DescribeAbnormalEventsResponse
Returns a new instance of DescribeAbnormalEventsResponse.
1550 1551 1552 1553 |
# File 'lib/v20201201/models.rb', line 1550 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1548 1549 1550 |
# File 'lib/v20201201/models.rb', line 1548 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1548 1549 1550 |
# File 'lib/v20201201/models.rb', line 1548 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 |
# File 'lib/v20201201/models.rb', line 1555 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| abnormalevents_tmp = AbnormalEvents.new abnormalevents_tmp.deserialize(i) @Data << abnormalevents_tmp end end @RequestId = params['RequestId'] end |