Class: TencentCloud::Lcic::V20220817::EventDataInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::EventDataInfo
- Defined in:
- lib/v20220817/models.rb
Overview
房间事件对应的信息。
Instance Attribute Summary collapse
- #Device ⇒ Object
- #Duration ⇒ Object
- #RecordSize ⇒ Object
- #RecordUrl ⇒ Object
- #RoomId ⇒ Object
- #UserId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roomid = nil, userid = nil, device = nil, duration = nil, recordsize = nil, recordurl = nil) ⇒ EventDataInfo
constructor
A new instance of EventDataInfo.
Constructor Details
#initialize(roomid = nil, userid = nil, device = nil, duration = nil, recordsize = nil, recordurl = nil) ⇒ EventDataInfo
Returns a new instance of EventDataInfo.
3171 3172 3173 3174 3175 3176 3177 3178 |
# File 'lib/v20220817/models.rb', line 3171 def initialize(roomid=nil, userid=nil, device=nil, duration=nil, recordsize=nil, recordurl=nil) @RoomId = roomid @UserId = userid @Device = device @Duration = duration @RecordSize = recordsize @RecordUrl = recordurl end |
Instance Attribute Details
#Device ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def Device @Device end |
#Duration ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def Duration @Duration end |
#RecordSize ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def RecordSize @RecordSize end |
#RecordUrl ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def RecordUrl @RecordUrl end |
#RoomId ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def RoomId @RoomId end |
#UserId ⇒ Object
3169 3170 3171 |
# File 'lib/v20220817/models.rb', line 3169 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
3180 3181 3182 3183 3184 3185 3186 3187 |
# File 'lib/v20220817/models.rb', line 3180 def deserialize(params) @RoomId = params['RoomId'] @UserId = params['UserId'] @Device = params['Device'] @Duration = params['Duration'] @RecordSize = params['RecordSize'] @RecordUrl = params['RecordUrl'] end |