Class UserInformation
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.UserInformation
-
public class UserInformation extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UserInformation()UserInformation(UserInformation source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientIp()Get 客户端IP地址StringgetDeviceType()Get 终端类型BooleangetFinished()Get 判断用户是否已经离开房间LonggetJoinTs()Get 用户进房时间LonggetLeaveTs()Get 用户退房时间,用户没有退房则返回当前时间StringgetRoomStr()Get 房间号StringgetSdkVersion()Get Sdk版本号StringgetUserId()Get 用户IdvoidsetClientIp(String ClientIp)Set 客户端IP地址voidsetDeviceType(String DeviceType)Set 终端类型voidsetFinished(Boolean Finished)Set 判断用户是否已经离开房间voidsetJoinTs(Long JoinTs)Set 用户进房时间voidsetLeaveTs(Long LeaveTs)Set 用户退房时间,用户没有退房则返回当前时间voidsetRoomStr(String RoomStr)Set 房间号voidsetSdkVersion(String SdkVersion)Set Sdk版本号voidsetUserId(String UserId)Set 用户IdvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UserInformation
public UserInformation()
-
UserInformation
public UserInformation(UserInformation source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getRoomStr
public String getRoomStr()
Get 房间号- Returns:
- RoomStr 房间号
-
setRoomStr
public void setRoomStr(String RoomStr)
Set 房间号- Parameters:
RoomStr- 房间号
-
getUserId
public String getUserId()
Get 用户Id- Returns:
- UserId 用户Id
-
setUserId
public void setUserId(String UserId)
Set 用户Id- Parameters:
UserId- 用户Id
-
getJoinTs
public Long getJoinTs()
Get 用户进房时间- Returns:
- JoinTs 用户进房时间
-
setJoinTs
public void setJoinTs(Long JoinTs)
Set 用户进房时间- Parameters:
JoinTs- 用户进房时间
-
getLeaveTs
public Long getLeaveTs()
Get 用户退房时间,用户没有退房则返回当前时间- Returns:
- LeaveTs 用户退房时间,用户没有退房则返回当前时间
-
setLeaveTs
public void setLeaveTs(Long LeaveTs)
Set 用户退房时间,用户没有退房则返回当前时间- Parameters:
LeaveTs- 用户退房时间,用户没有退房则返回当前时间
-
getDeviceType
public String getDeviceType()
Get 终端类型- Returns:
- DeviceType 终端类型
-
setDeviceType
public void setDeviceType(String DeviceType)
Set 终端类型- Parameters:
DeviceType- 终端类型
-
getSdkVersion
public String getSdkVersion()
Get Sdk版本号- Returns:
- SdkVersion Sdk版本号
-
setSdkVersion
public void setSdkVersion(String SdkVersion)
Set Sdk版本号- Parameters:
SdkVersion- Sdk版本号
-
getClientIp
public String getClientIp()
Get 客户端IP地址- Returns:
- ClientIp 客户端IP地址
-
setClientIp
public void setClientIp(String ClientIp)
Set 客户端IP地址- Parameters:
ClientIp- 客户端IP地址
-
getFinished
public Boolean getFinished()
Get 判断用户是否已经离开房间- Returns:
- Finished 判断用户是否已经离开房间
-
setFinished
public void setFinished(Boolean Finished)
Set 判断用户是否已经离开房间- Parameters:
Finished- 判断用户是否已经离开房间
-
-