class TencentCloud::Trtc::V20190722::UserInformation

用户信息,包括用户进房时间,退房时间等

Attributes

ClientIp[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

DeviceType[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

Finished[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

JoinTs[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

LeaveTs[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

RoomStr[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

SdkVersion[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

UserId[RW]

@param RoomStr: 房间号 @type RoomStr: String @param UserId: 用户Id @type UserId: String @param JoinTs: 用户进房时间 @type JoinTs: Integer @param LeaveTs: 用户退房时间,用户没有退房则返回当前时间 @type LeaveTs: Integer @param DeviceType: 终端类型 @type DeviceType: String @param SdkVersion: Sdk版本号 @type SdkVersion: String @param ClientIp: 客户端IP地址 @type ClientIp: String @param Finished: 判断用户是否已经离开房间 @type Finished: Boolean

Public Class Methods

new(roomstr=nil, userid=nil, joints=nil, leavets=nil, devicetype=nil, sdkversion=nil, clientip=nil, finished=nil) click to toggle source
# File lib/v20190722/models.rb, line 2177
def initialize(roomstr=nil, userid=nil, joints=nil, leavets=nil, devicetype=nil, sdkversion=nil, clientip=nil, finished=nil)
  @RoomStr = roomstr
  @UserId = userid
  @JoinTs = joints
  @LeaveTs = leavets
  @DeviceType = devicetype
  @SdkVersion = sdkversion
  @ClientIp = clientip
  @Finished = finished
end

Public Instance Methods

deserialize(params) click to toggle source
# File lib/v20190722/models.rb, line 2188
def deserialize(params)
  @RoomStr = params['RoomStr']
  @UserId = params['UserId']
  @JoinTs = params['JoinTs']
  @LeaveTs = params['LeaveTs']
  @DeviceType = params['DeviceType']
  @SdkVersion = params['SdkVersion']
  @ClientIp = params['ClientIp']
  @Finished = params['Finished']
end