Class: TencentCloud::Lcic::V20220817::GetRoomEventResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::GetRoomEventResponse
- Defined in:
- lib/v20220817/models.rb
Overview
GetRoomEvent返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, events = nil, requestid = nil) ⇒ GetRoomEventResponse
constructor
A new instance of GetRoomEventResponse.
Constructor Details
#initialize(total = nil, events = nil, requestid = nil) ⇒ GetRoomEventResponse
Returns a new instance of GetRoomEventResponse.
3346 3347 3348 3349 3350 |
# File 'lib/v20220817/models.rb', line 3346 def initialize(total=nil, events=nil, requestid=nil) @Total = total @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
3344 3345 3346 |
# File 'lib/v20220817/models.rb', line 3344 def Events @Events end |
#RequestId ⇒ Object
3344 3345 3346 |
# File 'lib/v20220817/models.rb', line 3344 def RequestId @RequestId end |
#Total ⇒ Object
3344 3345 3346 |
# File 'lib/v20220817/models.rb', line 3344 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 |
# File 'lib/v20220817/models.rb', line 3352 def deserialize(params) @Total = params['Total'] unless params['Events'].nil? @Events = [] params['Events'].each do |i| eventinfo_tmp = EventInfo.new eventinfo_tmp.deserialize(i) @Events << eventinfo_tmp end end @RequestId = params['RequestId'] end |