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.
3410 3411 3412 3413 3414 |
# File 'lib/v20220817/models.rb', line 3410 def initialize(total=nil, events=nil, requestid=nil) @Total = total @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
3408 3409 3410 |
# File 'lib/v20220817/models.rb', line 3408 def Events @Events end |
#RequestId ⇒ Object
3408 3409 3410 |
# File 'lib/v20220817/models.rb', line 3408 def RequestId @RequestId end |
#Total ⇒ Object
3408 3409 3410 |
# File 'lib/v20220817/models.rb', line 3408 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 |
# File 'lib/v20220817/models.rb', line 3416 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 |