com.aliyun.dingtalkedu_1_0.models.GetRemoteClassCourseResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class GetRemoteClassCourseResponseBody extends TeaModel {
@NameInMap("result")
public GetRemoteClassCourseResponseBodyResult result;
// 是否成功
@NameInMap("success")
public Boolean success;
public static GetRemoteClassCourseResponseBody build(java.util.Map map) throws Exception {
GetRemoteClassCourseResponseBody self = new GetRemoteClassCourseResponseBody();
return TeaModel.build(map, self);
}
public GetRemoteClassCourseResponseBody setResult(GetRemoteClassCourseResponseBodyResult result) {
this.result = result;
return this;
}
public GetRemoteClassCourseResponseBodyResult getResult() {
return this.result;
}
public GetRemoteClassCourseResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetRemoteClassCourseResponseBodyResultAttendParticipants extends TeaModel {
// 组织ID
@NameInMap("corpId")
public String corpId;
// 组织名称
@NameInMap("orgName")
public String orgName;
// 参与方ID
@NameInMap("participantId")
public String participantId;
// 参与方名称
@NameInMap("participantName")
public String participantName;
public static GetRemoteClassCourseResponseBodyResultAttendParticipants build(java.util.Map map) throws Exception {
GetRemoteClassCourseResponseBodyResultAttendParticipants self = new GetRemoteClassCourseResponseBodyResultAttendParticipants();
return TeaModel.build(map, self);
}
public GetRemoteClassCourseResponseBodyResultAttendParticipants setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public GetRemoteClassCourseResponseBodyResultAttendParticipants setOrgName(String orgName) {
this.orgName = orgName;
return this;
}
public String getOrgName() {
return this.orgName;
}
public GetRemoteClassCourseResponseBodyResultAttendParticipants setParticipantId(String participantId) {
this.participantId = participantId;
return this;
}
public String getParticipantId() {
return this.participantId;
}
public GetRemoteClassCourseResponseBodyResultAttendParticipants setParticipantName(String participantName) {
this.participantName = participantName;
return this;
}
public String getParticipantName() {
return this.participantName;
}
}
public static class GetRemoteClassCourseResponseBodyResultRecordInfos extends TeaModel {
// 录制开始时间(UTC/GMT格式)
@NameInMap("startTime")
public String startTime;
// 录制结束时间(UTC/GMT格式)
@NameInMap("stopTime")
public String stopTime;
// 录制文件地址(文件有效期7天)
@NameInMap("url")
public String url;
public static GetRemoteClassCourseResponseBodyResultRecordInfos build(java.util.Map map) throws Exception {
GetRemoteClassCourseResponseBodyResultRecordInfos self = new GetRemoteClassCourseResponseBodyResultRecordInfos();
return TeaModel.build(map, self);
}
public GetRemoteClassCourseResponseBodyResultRecordInfos setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public GetRemoteClassCourseResponseBodyResultRecordInfos setStopTime(String stopTime) {
this.stopTime = stopTime;
return this;
}
public String getStopTime() {
return this.stopTime;
}
public GetRemoteClassCourseResponseBodyResultRecordInfos setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class GetRemoteClassCourseResponseBodyResultTeachingParticipant extends TeaModel {
// 组织ID
@NameInMap("corpId")
public String corpId;
// 组织名称
@NameInMap("orgName")
public String orgName;
// 参与方ID
@NameInMap("participantId")
public String participantId;
// 参与方名称
@NameInMap("participantName")
public String participantName;
public static GetRemoteClassCourseResponseBodyResultTeachingParticipant build(java.util.Map map) throws Exception {
GetRemoteClassCourseResponseBodyResultTeachingParticipant self = new GetRemoteClassCourseResponseBodyResultTeachingParticipant();
return TeaModel.build(map, self);
}
public GetRemoteClassCourseResponseBodyResultTeachingParticipant setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public GetRemoteClassCourseResponseBodyResultTeachingParticipant setOrgName(String orgName) {
this.orgName = orgName;
return this;
}
public String getOrgName() {
return this.orgName;
}
public GetRemoteClassCourseResponseBodyResultTeachingParticipant setParticipantId(String participantId) {
this.participantId = participantId;
return this;
}
public String getParticipantId() {
return this.participantId;
}
public GetRemoteClassCourseResponseBodyResultTeachingParticipant setParticipantName(String participantName) {
this.participantName = participantName;
return this;
}
public String getParticipantName() {
return this.participantName;
}
}
public static class GetRemoteClassCourseResponseBodyResult extends TeaModel {
// 听课设备列表
@NameInMap("attendParticipants")
public java.util.List attendParticipants;
// 课程是否可以编辑或删除
@NameInMap("canEdit")
public Boolean canEdit;
// 课程code
@NameInMap("courseCode")
public String courseCode;
// 课程名称
@NameInMap("courseName")
public String courseName;
// 结束时间
@NameInMap("endTime")
public Long endTime;
// 直播观看URL(如果有)
@NameInMap("liveUrl")
public String liveUrl;
// 录制信息列表(如果有)。根据录制端的不同,有不同时长的延迟
@NameInMap("recordInfos")
public java.util.List recordInfos;
// 课堂当前状态:0: 未进行;1: 进行中
@NameInMap("roomStatus")
public Integer roomStatus;
// 开始时间
@NameInMap("startTime")
public Long startTime;
// 课程状态:0: 未开始;1: 已开始;2: 已结束
@NameInMap("status")
public Integer status;
// 授课设备
@NameInMap("teachingParticipant")
public GetRemoteClassCourseResponseBodyResultTeachingParticipant teachingParticipant;
public static GetRemoteClassCourseResponseBodyResult build(java.util.Map map) throws Exception {
GetRemoteClassCourseResponseBodyResult self = new GetRemoteClassCourseResponseBodyResult();
return TeaModel.build(map, self);
}
public GetRemoteClassCourseResponseBodyResult setAttendParticipants(java.util.List attendParticipants) {
this.attendParticipants = attendParticipants;
return this;
}
public java.util.List getAttendParticipants() {
return this.attendParticipants;
}
public GetRemoteClassCourseResponseBodyResult setCanEdit(Boolean canEdit) {
this.canEdit = canEdit;
return this;
}
public Boolean getCanEdit() {
return this.canEdit;
}
public GetRemoteClassCourseResponseBodyResult setCourseCode(String courseCode) {
this.courseCode = courseCode;
return this;
}
public String getCourseCode() {
return this.courseCode;
}
public GetRemoteClassCourseResponseBodyResult setCourseName(String courseName) {
this.courseName = courseName;
return this;
}
public String getCourseName() {
return this.courseName;
}
public GetRemoteClassCourseResponseBodyResult setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public GetRemoteClassCourseResponseBodyResult setLiveUrl(String liveUrl) {
this.liveUrl = liveUrl;
return this;
}
public String getLiveUrl() {
return this.liveUrl;
}
public GetRemoteClassCourseResponseBodyResult setRecordInfos(java.util.List recordInfos) {
this.recordInfos = recordInfos;
return this;
}
public java.util.List getRecordInfos() {
return this.recordInfos;
}
public GetRemoteClassCourseResponseBodyResult setRoomStatus(Integer roomStatus) {
this.roomStatus = roomStatus;
return this;
}
public Integer getRoomStatus() {
return this.roomStatus;
}
public GetRemoteClassCourseResponseBodyResult setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public GetRemoteClassCourseResponseBodyResult setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public GetRemoteClassCourseResponseBodyResult setTeachingParticipant(GetRemoteClassCourseResponseBodyResultTeachingParticipant teachingParticipant) {
this.teachingParticipant = teachingParticipant;
return this;
}
public GetRemoteClassCourseResponseBodyResultTeachingParticipant getTeachingParticipant() {
return this.teachingParticipant;
}
}
}