Class: TencentCloud::Iotexplorer::V20190423::DescribeCloudStorageEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeCloudStorageEventsResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeCloudStorageEvents返回参数结构体
Instance Attribute Summary collapse
- #Context ⇒ Object
- #Events ⇒ Object
- #Listover ⇒ Object
- #RequestId ⇒ Object
- #Total ⇒ Object
- #VideoURL ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, context = nil, listover = nil, total = nil, videourl = nil, requestid = nil) ⇒ DescribeCloudStorageEventsResponse
constructor
A new instance of DescribeCloudStorageEventsResponse.
Constructor Details
#initialize(events = nil, context = nil, listover = nil, total = nil, videourl = nil, requestid = nil) ⇒ DescribeCloudStorageEventsResponse
Returns a new instance of DescribeCloudStorageEventsResponse.
4357 4358 4359 4360 4361 4362 4363 4364 |
# File 'lib/v20190423/models.rb', line 4357 def initialize(events=nil, context=nil, listover=nil, total=nil, videourl=nil, requestid=nil) @Events = events @Context = context @Listover = listover @Total = total @VideoURL = videourl @RequestId = requestid end |
Instance Attribute Details
#Context ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def Context @Context end |
#Events ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def Events @Events end |
#Listover ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def Listover @Listover end |
#RequestId ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def RequestId @RequestId end |
#Total ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def Total @Total end |
#VideoURL ⇒ Object
4355 4356 4357 |
# File 'lib/v20190423/models.rb', line 4355 def VideoURL @VideoURL end |
Instance Method Details
#deserialize(params) ⇒ Object
4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 |
# File 'lib/v20190423/models.rb', line 4366 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| cloudstorageevent_tmp = CloudStorageEvent.new cloudstorageevent_tmp.deserialize(i) @Events << cloudstorageevent_tmp end end @Context = params['Context'] @Listover = params['Listover'] @Total = params['Total'] @VideoURL = params['VideoURL'] @RequestId = params['RequestId'] end |