Class: TencentCloud::Lcic::V20220817::EventDataInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220817/models.rb

Overview

房间事件对应的信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DeviceObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



3169
3170
3171
# File 'lib/v20220817/models.rb', line 3169

def Device
  @Device
end

#DurationObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



3169
3170
3171
# File 'lib/v20220817/models.rb', line 3169

def Duration
  @Duration
end

#RecordSizeObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



3169
3170
3171
# File 'lib/v20220817/models.rb', line 3169

def RecordSize
  @RecordSize
end

#RecordUrlObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



3169
3170
3171
# File 'lib/v20220817/models.rb', line 3169

def RecordUrl
  @RecordUrl
end

#RoomIdObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



3169
3170
3171
# File 'lib/v20220817/models.rb', line 3169

def RoomId
  @RoomId
end

#UserIdObject

Parameters:

  • RoomId:

    事件发生的房间号。

  • UserId:

    事件发生的用户。

  • Device:

    用户设备类型。0: Unknown; 1: Windows; 2: macOS; 3: Android; 4: iOS; 5: Web; 6: Mobile webpage; 7: Weixin Mini Program.

  • Duration:

    录制时长。单位:秒

  • RecordSize:

    录制文件大小

  • RecordUrl:

    录制url



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