Class: TencentCloud::Iotexplorer::V20190423::DescribeFenceEventListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeFenceEventListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeFenceEventList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, total = nil, requestid = nil) ⇒ DescribeFenceEventListResponse
constructor
A new instance of DescribeFenceEventListResponse.
Constructor Details
#initialize(list = nil, total = nil, requestid = nil) ⇒ DescribeFenceEventListResponse
Returns a new instance of DescribeFenceEventListResponse.
5613 5614 5615 5616 5617 |
# File 'lib/v20190423/models.rb', line 5613 def initialize(list=nil, total=nil, requestid=nil) @List = list @Total = total @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
5611 5612 5613 |
# File 'lib/v20190423/models.rb', line 5611 def List @List end |
#RequestId ⇒ Object
5611 5612 5613 |
# File 'lib/v20190423/models.rb', line 5611 def RequestId @RequestId end |
#Total ⇒ Object
5611 5612 5613 |
# File 'lib/v20190423/models.rb', line 5611 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 |
# File 'lib/v20190423/models.rb', line 5619 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| fenceeventitem_tmp = FenceEventItem.new fenceeventitem_tmp.deserialize(i) @List << fenceeventitem_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |