com.tencentcloudapi.lcic.v20220817.models.RoomInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.lcic.v20220817.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class RoomInfo extends AbstractModel {
/**
* The room name.
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* The room start time (Unix timestamp).
*/
@SerializedName("StartTime")
@Expose
private Long StartTime;
/**
* The room end time (Unix timestamp).
*/
@SerializedName("EndTime")
@Expose
private Long EndTime;
/**
* The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.
*/
@SerializedName("Resolution")
@Expose
private Long Resolution;
/**
* The maximum number of mic-on users (excluding the teacher). Value range: 0-16.
*/
@SerializedName("MaxMicNumber")
@Expose
private Long MaxMicNumber;
/**
* The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.
*/
@SerializedName("SubType")
@Expose
private String SubType;
/**
* The user ID of the teacher. User IDs are returned by the user registration APIs.
*/
@SerializedName("TeacherId")
@Expose
private String TeacherId;
/**
* Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.
*/
@SerializedName("AutoMic")
@Expose
private Long AutoMic;
/**
* Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.
*/
@SerializedName("TurnOffMic")
@Expose
private Long TurnOffMic;
/**
* Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.
*/
@SerializedName("AudioQuality")
@Expose
private Long AudioQuality;
/**
* Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.
*/
@SerializedName("DisableRecord")
@Expose
private Long DisableRecord;
/**
* The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.
*/
@SerializedName("Assistants")
@Expose
private String [] Assistants;
/**
* The number of RTC users.
*/
@SerializedName("RTCAudienceNumber")
@Expose
private Long RTCAudienceNumber;
/**
* The audience type.
*/
@SerializedName("AudienceType")
@Expose
private Long AudienceType;
/**
* The recording layout.
*/
@SerializedName("RecordLayout")
@Expose
private Long RecordLayout;
/**
* The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("GroupId")
@Expose
private String GroupId;
/**
* Whether the students' consent is required to control their cameras/microphones.
*/
@SerializedName("EnableDirectControl")
@Expose
private Long EnableDirectControl;
/**
* Get The room name.
* @return Name The room name.
*/
public String getName() {
return this.Name;
}
/**
* Set The room name.
* @param Name The room name.
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get The room start time (Unix timestamp).
* @return StartTime The room start time (Unix timestamp).
*/
public Long getStartTime() {
return this.StartTime;
}
/**
* Set The room start time (Unix timestamp).
* @param StartTime The room start time (Unix timestamp).
*/
public void setStartTime(Long StartTime) {
this.StartTime = StartTime;
}
/**
* Get The room end time (Unix timestamp).
* @return EndTime The room end time (Unix timestamp).
*/
public Long getEndTime() {
return this.EndTime;
}
/**
* Set The room end time (Unix timestamp).
* @param EndTime The room end time (Unix timestamp).
*/
public void setEndTime(Long EndTime) {
this.EndTime = EndTime;
}
/**
* Get The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.
* @return Resolution The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.
*/
public Long getResolution() {
return this.Resolution;
}
/**
* Set The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.
* @param Resolution The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD.
*/
public void setResolution(Long Resolution) {
this.Resolution = Resolution;
}
/**
* Get The maximum number of mic-on users (excluding the teacher). Value range: 0-16.
* @return MaxMicNumber The maximum number of mic-on users (excluding the teacher). Value range: 0-16.
*/
public Long getMaxMicNumber() {
return this.MaxMicNumber;
}
/**
* Set The maximum number of mic-on users (excluding the teacher). Value range: 0-16.
* @param MaxMicNumber The maximum number of mic-on users (excluding the teacher). Value range: 0-16.
*/
public void setMaxMicNumber(Long MaxMicNumber) {
this.MaxMicNumber = MaxMicNumber;
}
/**
* Get The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.
* @return SubType The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.
*/
public String getSubType() {
return this.SubType;
}
/**
* Set The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.
* @param SubType The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher.
*/
public void setSubType(String SubType) {
this.SubType = SubType;
}
/**
* Get The user ID of the teacher. User IDs are returned by the user registration APIs.
* @return TeacherId The user ID of the teacher. User IDs are returned by the user registration APIs.
*/
public String getTeacherId() {
return this.TeacherId;
}
/**
* Set The user ID of the teacher. User IDs are returned by the user registration APIs.
* @param TeacherId The user ID of the teacher. User IDs are returned by the user registration APIs.
*/
public void setTeacherId(String TeacherId) {
this.TeacherId = TeacherId;
}
/**
* Get Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.
* @return AutoMic Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.
*/
public Long getAutoMic() {
return this.AutoMic;
}
/**
* Set Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.
* @param AutoMic Whether to automatically turn the mic on when a user enters the room. Valid values: `0` (default): No; `1`: Yes.
*/
public void setAutoMic(Long AutoMic) {
this.AutoMic = AutoMic;
}
/**
* Get Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.
* @return TurnOffMic Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.
*/
public Long getTurnOffMic() {
return this.TurnOffMic;
}
/**
* Set Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.
* @param TurnOffMic Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0` (default): Yes; `1`: No.
*/
public void setTurnOffMic(Long TurnOffMic) {
this.TurnOffMic = TurnOffMic;
}
/**
* Get Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.
* @return AudioQuality Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.
*/
public Long getAudioQuality() {
return this.AudioQuality;
}
/**
* Set Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.
* @param AudioQuality Whether to enable the high audio quality mode. Valid values: `0` (default): No; `1`: Yes.
*/
public void setAudioQuality(Long AudioQuality) {
this.AudioQuality = AudioQuality;
}
/**
* Get Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.
* @return DisableRecord Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.
*/
public Long getDisableRecord() {
return this.DisableRecord;
}
/**
* Set Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.
* @param DisableRecord Whether to disable auto recording. Valid values: `0` (default): No; `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends.
*/
public void setDisableRecord(Long DisableRecord) {
this.DisableRecord = DisableRecord;
}
/**
* Get The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.
* @return Assistants The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.
*/
public String [] getAssistants() {
return this.Assistants;
}
/**
* Set The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.
* @param Assistants The user IDs of the teacher assistants. User IDs are returned by the user registration APIs.
*/
public void setAssistants(String [] Assistants) {
this.Assistants = Assistants;
}
/**
* Get The number of RTC users.
* @return RTCAudienceNumber The number of RTC users.
*/
public Long getRTCAudienceNumber() {
return this.RTCAudienceNumber;
}
/**
* Set The number of RTC users.
* @param RTCAudienceNumber The number of RTC users.
*/
public void setRTCAudienceNumber(Long RTCAudienceNumber) {
this.RTCAudienceNumber = RTCAudienceNumber;
}
/**
* Get The audience type.
* @return AudienceType The audience type.
*/
public Long getAudienceType() {
return this.AudienceType;
}
/**
* Set The audience type.
* @param AudienceType The audience type.
*/
public void setAudienceType(Long AudienceType) {
this.AudienceType = AudienceType;
}
/**
* Get The recording layout.
* @return RecordLayout The recording layout.
*/
public Long getRecordLayout() {
return this.RecordLayout;
}
/**
* Set The recording layout.
* @param RecordLayout The recording layout.
*/
public void setRecordLayout(Long RecordLayout) {
this.RecordLayout = RecordLayout;
}
/**
* Get The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.
* @return GroupId The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getGroupId() {
return this.GroupId;
}
/**
* Set The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.
* @param GroupId The ID of the group to bind. Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setGroupId(String GroupId) {
this.GroupId = GroupId;
}
/**
* Get Whether the students' consent is required to control their cameras/microphones.
* @return EnableDirectControl Whether the students' consent is required to control their cameras/microphones.
*/
public Long getEnableDirectControl() {
return this.EnableDirectControl;
}
/**
* Set Whether the students' consent is required to control their cameras/microphones.
* @param EnableDirectControl Whether the students' consent is required to control their cameras/microphones.
*/
public void setEnableDirectControl(Long EnableDirectControl) {
this.EnableDirectControl = EnableDirectControl;
}
public RoomInfo() {
}
/**
* 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.
*/
public RoomInfo(RoomInfo source) {
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.StartTime != null) {
this.StartTime = new Long(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new Long(source.EndTime);
}
if (source.Resolution != null) {
this.Resolution = new Long(source.Resolution);
}
if (source.MaxMicNumber != null) {
this.MaxMicNumber = new Long(source.MaxMicNumber);
}
if (source.SubType != null) {
this.SubType = new String(source.SubType);
}
if (source.TeacherId != null) {
this.TeacherId = new String(source.TeacherId);
}
if (source.AutoMic != null) {
this.AutoMic = new Long(source.AutoMic);
}
if (source.TurnOffMic != null) {
this.TurnOffMic = new Long(source.TurnOffMic);
}
if (source.AudioQuality != null) {
this.AudioQuality = new Long(source.AudioQuality);
}
if (source.DisableRecord != null) {
this.DisableRecord = new Long(source.DisableRecord);
}
if (source.Assistants != null) {
this.Assistants = new String[source.Assistants.length];
for (int i = 0; i < source.Assistants.length; i++) {
this.Assistants[i] = new String(source.Assistants[i]);
}
}
if (source.RTCAudienceNumber != null) {
this.RTCAudienceNumber = new Long(source.RTCAudienceNumber);
}
if (source.AudienceType != null) {
this.AudienceType = new Long(source.AudienceType);
}
if (source.RecordLayout != null) {
this.RecordLayout = new Long(source.RecordLayout);
}
if (source.GroupId != null) {
this.GroupId = new String(source.GroupId);
}
if (source.EnableDirectControl != null) {
this.EnableDirectControl = new Long(source.EnableDirectControl);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "Resolution", this.Resolution);
this.setParamSimple(map, prefix + "MaxMicNumber", this.MaxMicNumber);
this.setParamSimple(map, prefix + "SubType", this.SubType);
this.setParamSimple(map, prefix + "TeacherId", this.TeacherId);
this.setParamSimple(map, prefix + "AutoMic", this.AutoMic);
this.setParamSimple(map, prefix + "TurnOffMic", this.TurnOffMic);
this.setParamSimple(map, prefix + "AudioQuality", this.AudioQuality);
this.setParamSimple(map, prefix + "DisableRecord", this.DisableRecord);
this.setParamArraySimple(map, prefix + "Assistants.", this.Assistants);
this.setParamSimple(map, prefix + "RTCAudienceNumber", this.RTCAudienceNumber);
this.setParamSimple(map, prefix + "AudienceType", this.AudienceType);
this.setParamSimple(map, prefix + "RecordLayout", this.RecordLayout);
this.setParamSimple(map, prefix + "GroupId", this.GroupId);
this.setParamSimple(map, prefix + "EnableDirectControl", this.EnableDirectControl);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy