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
- #Reason ⇒ 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, reason = nil) ⇒ EventDataInfo
constructor
A new instance of EventDataInfo.
Constructor Details
#initialize(roomid = nil, userid = nil, device = nil, duration = nil, recordsize = nil, recordurl = nil, reason = nil) ⇒ EventDataInfo
Returns a new instance of EventDataInfo.
3233 3234 3235 3236 3237 3238 3239 3240 3241 |
# File 'lib/v20220817/models.rb', line 3233 def initialize(roomid=nil, userid=nil, device=nil, duration=nil, recordsize=nil, recordurl=nil, reason=nil) @RoomId = roomid @UserId = userid @Device = device @Duration = duration @RecordSize = recordsize @RecordUrl = recordurl @Reason = reason end |
Instance Attribute Details
#Device ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def Device @Device end |
#Duration ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def Duration @Duration end |
#Reason ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def Reason @Reason end |
#RecordSize ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def RecordSize @RecordSize end |
#RecordUrl ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def RecordUrl @RecordUrl end |
#RoomId ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def RoomId @RoomId end |
#UserId ⇒ Object
3231 3232 3233 |
# File 'lib/v20220817/models.rb', line 3231 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
3243 3244 3245 3246 3247 3248 3249 3250 3251 |
# File 'lib/v20220817/models.rb', line 3243 def deserialize(params) @RoomId = params['RoomId'] @UserId = params['UserId'] @Device = params['Device'] @Duration = params['Duration'] @RecordSize = params['RecordSize'] @RecordUrl = params['RecordUrl'] @Reason = params['Reason'] end |