public class CreateRoomRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateRoomRequest() |
CreateRoomRequest(CreateRoomRequest 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 |
---|---|
String[] |
getAssistants()
Get The user IDs of the teaching assistants.
|
Long |
getAudienceType()
Get The audience type.
|
Long |
getAudioQuality()
Get Whether to enable the high audio quality mode.
|
Long |
getAutoMic()
Get Whether to automatically turn the mic on when the user enters a room.
|
Long |
getDisableRecord()
Get Whether to disable auto recording.
|
Long |
getEnableAutoStart()
Get Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is valid when
|
Long |
getEnableDirectControl()
Get Whether the teacher/teaching assistant can control students' cameras/microphones without the students' consent.
|
Long |
getEndDelayTime()
Get Drag class time: unit: minutes.
|
Long |
getEndTime()
Get Reserved room end time, in UNIX timestamp format
|
String |
getGroupId()
Get The ID of the group to bind.
|
Long |
getInteractionMode()
Get Turn on focus mode.
|
Long |
getIsGradingRequiredPostClass()
Get Enable after-class grading.
|
Long |
getLiveType()
Get Live type: 0 regular (default) 1 Simulated Live
|
Long |
getMaxMicNumber()
Get Maximum number of mic-on users (excluding teachers).
|
String |
getName()
Get Room name
|
String |
getRecordBackground()
Get Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time being
|
String |
getRecordLang()
Deprecated.
|
Long |
getRecordLayout()
Get Recording layout
|
String |
getRecordLiveUrl()
Get Simulated Live link
|
String |
getRecordScene()
Get Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type.
|
Long |
getResolution()
Get Resolution.
|
Long |
getRoomType()
Get Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class)
|
Long |
getRTCAudienceNumber()
Get The number of RTC users.
|
Long |
getSdkAppId()
Get LCIC SdkAppId
|
Long |
getStartTime()
Get Reserved room start time, in UNIX timestamp format
|
String |
getSubType()
Get The room subtype.
|
String |
getTeacherId()
Get The user ID of the teacher.
|
Long |
getTurnOffMic()
Get Whether to disconnect communication after audio/video permissions are revoked.
|
Long |
getVideoOrientation()
Get Horizontal and vertical screen.
|
void |
setAssistants(String[] Assistants)
Set The user IDs of the teaching assistants.
|
void |
setAudienceType(Long AudienceType)
Set The audience type.
|
void |
setAudioQuality(Long AudioQuality)
Set Whether to enable the high audio quality mode.
|
void |
setAutoMic(Long AutoMic)
Set Whether to automatically turn the mic on when the user enters a room.
|
void |
setDisableRecord(Long DisableRecord)
Set Whether to disable auto recording.
|
void |
setEnableAutoStart(Long EnableAutoStart)
Set Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is valid when
|
void |
setEnableDirectControl(Long EnableDirectControl)
Set Whether the teacher/teaching assistant can control students' cameras/microphones without the students' consent.
|
void |
setEndDelayTime(Long EndDelayTime)
Set Drag class time: unit: minutes.
|
void |
setEndTime(Long EndTime)
Set Reserved room end time, in UNIX timestamp format
|
void |
setGroupId(String GroupId)
Set The ID of the group to bind.
|
void |
setInteractionMode(Long InteractionMode)
Set Turn on focus mode.
|
void |
setIsGradingRequiredPostClass(Long IsGradingRequiredPostClass)
Set Enable after-class grading.
|
void |
setLiveType(Long LiveType)
Set Live type: 0 regular (default) 1 Simulated Live
|
void |
setMaxMicNumber(Long MaxMicNumber)
Set Maximum number of mic-on users (excluding teachers).
|
void |
setName(String Name)
Set Room name
|
void |
setRecordBackground(String RecordBackground)
Set Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time being
|
void |
setRecordLang(String RecordLang)
Deprecated.
|
void |
setRecordLayout(Long RecordLayout)
Set Recording layout
|
void |
setRecordLiveUrl(String RecordLiveUrl)
Set Simulated Live link
|
void |
setRecordScene(String RecordScene)
Set Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type.
|
void |
setResolution(Long Resolution)
Set Resolution.
|
void |
setRoomType(Long RoomType)
Set Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class)
|
void |
setRTCAudienceNumber(Long RTCAudienceNumber)
Set The number of RTC users.
|
void |
setSdkAppId(Long SdkAppId)
Set LCIC SdkAppId
|
void |
setStartTime(Long StartTime)
Set Reserved room start time, in UNIX timestamp format
|
void |
setSubType(String SubType)
Set The room subtype.
|
void |
setTeacherId(String TeacherId)
Set The user ID of the teacher.
|
void |
setTurnOffMic(Long TurnOffMic)
Set Whether to disconnect communication after audio/video permissions are revoked.
|
void |
setVideoOrientation(Long VideoOrientation)
Set Horizontal and vertical screen.
|
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 CreateRoomRequest()
public CreateRoomRequest(CreateRoomRequest source)
public String getName()
public void setName(String Name)
Name
- Room namepublic Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Reserved room start time, in UNIX timestamp formatpublic Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- Reserved room end time, in UNIX timestamp formatpublic Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId
- LCIC SdkAppIdpublic Long getResolution()
public void setResolution(Long Resolution)
Resolution
- Resolution. Valid values: 1: SD; 2: HD; 3: FHDpublic Long getMaxMicNumber()
public void setMaxMicNumber(Long MaxMicNumber)
MaxMicNumber
- Maximum number of mic-on users (excluding teachers). Value range: [0, 16]public String getSubType()
public void setSubType(String SubType)
SubType
- The room subtype. Valid values: videodoc: Document + Video; video: Video only.public String getTeacherId()
public void setTeacherId(String TeacherId)
TeacherId
- The user ID of the teacher. User IDs are returned by the user registration APIs. The user specified will have teacher permissions in the room created.public Long getAutoMic()
public void setAutoMic(Long AutoMic)
AutoMic
- Whether to automatically turn the mic on when the user enters a room. Valid values: 0: No (default value); 1: Yes.public Long getTurnOffMic()
public void setTurnOffMic(Long TurnOffMic)
TurnOffMic
- Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.public Long getAudioQuality()
public void setAudioQuality(Long AudioQuality)
AudioQuality
- Whether to enable the high audio quality mode. Valid values: 0: No (default value); 1: Yes.public Long getDisableRecord()
public void setDisableRecord(Long DisableRecord)
DisableRecord
- Whether to disable auto recording. Valid values: 0: No (default); 1: Yes. If this parameter is 0, recording will start when the class starts and stops when the class ends.public String[] getAssistants()
public void setAssistants(String[] Assistants)
Assistants
- The user IDs of the teaching assistants. User IDs are returned by the user registration APIs. The users specified will have teaching assistant permissions in the room created.public Long getRTCAudienceNumber()
public void setRTCAudienceNumber(Long RTCAudienceNumber)
RTCAudienceNumber
- The number of RTC users.public Long getAudienceType()
public void setAudienceType(Long AudienceType)
AudienceType
- The audience type.public Long getRecordLayout()
public void setRecordLayout(Long RecordLayout)
RecordLayout
- Recording layoutpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId
- The ID of the group to bind. If you specify this parameter, only members of the group can enter this room.public Long getEnableDirectControl()
public void setEnableDirectControl(Long EnableDirectControl)
EnableDirectControl
- Whether the teacher/teaching assistant can control students' cameras/microphones without the students' consent. Valid values:
`0` (default): No (consent required)
`1`: Yes (no consent required)public Long getInteractionMode()
public void setInteractionMode(Long InteractionMode)
InteractionMode
- Turn on focus mode. 0 Watch all character audio and video (default) 1 Watch only teachers and assistantspublic Long getVideoOrientation()
public void setVideoOrientation(Long VideoOrientation)
VideoOrientation
- Horizontal and vertical screen. 0: Horizontal screen (default); 1: Vertical screen , currently only support mobile video typepublic Long getIsGradingRequiredPostClass()
public void setIsGradingRequiredPostClass(Long IsGradingRequiredPostClass)
IsGradingRequiredPostClass
- Enable after-class grading. 0: not on (default) 1: onpublic Long getRoomType()
public void setRoomType(Long RoomType)
RoomType
- Room Type: 0 Small Classroom(default); 1 Lecture Hall(public class)public Long getEndDelayTime()
public void setEndDelayTime(Long EndDelayTime)
EndDelayTime
- Drag class time: unit: minutes. 0: no limit (default), -1: can't drag class, greater than 0: the time of dragging class. maximum value: 120 minutes.public Long getLiveType()
public void setLiveType(Long LiveType)
LiveType
- Live type: 0 regular (default) 1 Simulated Livepublic String getRecordLiveUrl()
public void setRecordLiveUrl(String RecordLiveUrl)
RecordLiveUrl
- Simulated Live linkpublic Long getEnableAutoStart()
public void setEnableAutoStart(Long EnableAutoStart)
EnableAutoStart
- Whether to start the lesson automatically: 0 not automatic lesson (default) 1 automatic lesson live_type=1 is valid whenpublic String getRecordBackground()
public void setRecordBackground(String RecordBackground)
RecordBackground
- Recorded file background image, support png, jpg, jpeg, bmp format, does not support transparent channel for the time beingpublic String getRecordScene()
public void setRecordScene(String RecordScene)
RecordScene
- Record customized scene, only recordlayout=9 this parameter is valid, the data content for the user-defined scene parameters, data format for the json key-value pairs, where the key-value pairs of the value for the string type.@Deprecated public String getRecordLang()
@Deprecated public void setRecordLang(String RecordLang)
RecordLang
- Record customized language, only when recordlayout=9, this parameter is valid.Copyright © 2024. All rights reserved.