public class KickUserFromRoomRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
KickUserFromRoomRequest() |
KickUserFromRoomRequest(KickUserFromRoomRequest 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDuration()
Get The ban duration (seconds).
|
Long |
getKickType()
Get The removal type:
`1`: Keep the user out temporarily.
|
Long |
getRoomId()
Get The room ID.
|
Long |
getSdkAppId()
Get The SDKAppID assigned by LCIC.
|
String |
getUserId()
Get The ID of the user to be removed.
|
void |
setDuration(Long Duration)
Set The ban duration (seconds).
|
void |
setKickType(Long KickType)
Set The removal type:
`1`: Keep the user out temporarily.
|
void |
setRoomId(Long RoomId)
Set The room ID.
|
void |
setSdkAppId(Long SdkAppId)
Set The SDKAppID assigned by LCIC.
|
void |
setUserId(String UserId)
Set The ID of the user to be removed.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public KickUserFromRoomRequest()
public KickUserFromRoomRequest(KickUserFromRoomRequest source)
public Long getRoomId()
public void setRoomId(Long RoomId)
RoomId
- The room ID.public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- The SDKAppID assigned by LCIC.public String getUserId()
public void setUserId(String UserId)
UserId
- The ID of the user to be removed.public Long getKickType()
public void setKickType(Long KickType)
KickType
- The removal type:
`1`: Keep the user out temporarily. The `Duration` parameter specifies the ban duration, during which the user is banned from entering the room.
`2`: Remove the user permanently.public Long getDuration()
public void setDuration(Long Duration)
Duration
- The ban duration (seconds). This parameter is valid if `KickType` is `1`. The default value is `0`.Copyright © 2024. All rights reserved.