All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkedu_1_0.models.QueryRemoteClassCourseResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;

import com.aliyun.tea.*;

public class QueryRemoteClassCourseResponseBody extends TeaModel {
    @NameInMap("result")
    public java.util.List result;

    // 是否成功
    @NameInMap("success")
    public Boolean success;

    public static QueryRemoteClassCourseResponseBody build(java.util.Map map) throws Exception {
        QueryRemoteClassCourseResponseBody self = new QueryRemoteClassCourseResponseBody();
        return TeaModel.build(map, self);
    }

    public QueryRemoteClassCourseResponseBody setResult(java.util.List result) {
        this.result = result;
        return this;
    }
    public java.util.List getResult() {
        return this.result;
    }

    public QueryRemoteClassCourseResponseBody setSuccess(Boolean success) {
        this.success = success;
        return this;
    }
    public Boolean getSuccess() {
        return this.success;
    }

    public static class QueryRemoteClassCourseResponseBodyResultAttendParticipants 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 QueryRemoteClassCourseResponseBodyResultAttendParticipants build(java.util.Map map) throws Exception {
            QueryRemoteClassCourseResponseBodyResultAttendParticipants self = new QueryRemoteClassCourseResponseBodyResultAttendParticipants();
            return TeaModel.build(map, self);
        }

        public QueryRemoteClassCourseResponseBodyResultAttendParticipants setCorpId(String corpId) {
            this.corpId = corpId;
            return this;
        }
        public String getCorpId() {
            return this.corpId;
        }

        public QueryRemoteClassCourseResponseBodyResultAttendParticipants setOrgName(String orgName) {
            this.orgName = orgName;
            return this;
        }
        public String getOrgName() {
            return this.orgName;
        }

        public QueryRemoteClassCourseResponseBodyResultAttendParticipants setParticipantId(String participantId) {
            this.participantId = participantId;
            return this;
        }
        public String getParticipantId() {
            return this.participantId;
        }

        public QueryRemoteClassCourseResponseBodyResultAttendParticipants setParticipantName(String participantName) {
            this.participantName = participantName;
            return this;
        }
        public String getParticipantName() {
            return this.participantName;
        }

    }

    public static class QueryRemoteClassCourseResponseBodyResultTeachingParticipant 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 QueryRemoteClassCourseResponseBodyResultTeachingParticipant build(java.util.Map map) throws Exception {
            QueryRemoteClassCourseResponseBodyResultTeachingParticipant self = new QueryRemoteClassCourseResponseBodyResultTeachingParticipant();
            return TeaModel.build(map, self);
        }

        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant setCorpId(String corpId) {
            this.corpId = corpId;
            return this;
        }
        public String getCorpId() {
            return this.corpId;
        }

        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant setOrgName(String orgName) {
            this.orgName = orgName;
            return this;
        }
        public String getOrgName() {
            return this.orgName;
        }

        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant setParticipantId(String participantId) {
            this.participantId = participantId;
            return this;
        }
        public String getParticipantId() {
            return this.participantId;
        }

        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant setParticipantName(String participantName) {
            this.participantName = participantName;
            return this;
        }
        public String getParticipantName() {
            return this.participantName;
        }

    }

    public static class QueryRemoteClassCourseResponseBodyResult 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;

        // 当前组织在课程中的角色列表:TEACHING:授课方;ATTEND:听课方
        @NameInMap("courseWays")
        public java.util.List courseWays;

        // 结束时间
        @NameInMap("endTime")
        public Long endTime;

        // 开始时间
        @NameInMap("startTime")
        public Long startTime;

        // 课程状态:0: 未开始;1: 已开始;2: 已结束
        @NameInMap("status")
        public Integer status;

        // 授课设备
        @NameInMap("teachingParticipant")
        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant teachingParticipant;

        public static QueryRemoteClassCourseResponseBodyResult build(java.util.Map map) throws Exception {
            QueryRemoteClassCourseResponseBodyResult self = new QueryRemoteClassCourseResponseBodyResult();
            return TeaModel.build(map, self);
        }

        public QueryRemoteClassCourseResponseBodyResult setAttendParticipants(java.util.List attendParticipants) {
            this.attendParticipants = attendParticipants;
            return this;
        }
        public java.util.List getAttendParticipants() {
            return this.attendParticipants;
        }

        public QueryRemoteClassCourseResponseBodyResult setCanEdit(Boolean canEdit) {
            this.canEdit = canEdit;
            return this;
        }
        public Boolean getCanEdit() {
            return this.canEdit;
        }

        public QueryRemoteClassCourseResponseBodyResult setCourseCode(String courseCode) {
            this.courseCode = courseCode;
            return this;
        }
        public String getCourseCode() {
            return this.courseCode;
        }

        public QueryRemoteClassCourseResponseBodyResult setCourseName(String courseName) {
            this.courseName = courseName;
            return this;
        }
        public String getCourseName() {
            return this.courseName;
        }

        public QueryRemoteClassCourseResponseBodyResult setCourseWays(java.util.List courseWays) {
            this.courseWays = courseWays;
            return this;
        }
        public java.util.List getCourseWays() {
            return this.courseWays;
        }

        public QueryRemoteClassCourseResponseBodyResult setEndTime(Long endTime) {
            this.endTime = endTime;
            return this;
        }
        public Long getEndTime() {
            return this.endTime;
        }

        public QueryRemoteClassCourseResponseBodyResult setStartTime(Long startTime) {
            this.startTime = startTime;
            return this;
        }
        public Long getStartTime() {
            return this.startTime;
        }

        public QueryRemoteClassCourseResponseBodyResult setStatus(Integer status) {
            this.status = status;
            return this;
        }
        public Integer getStatus() {
            return this.status;
        }

        public QueryRemoteClassCourseResponseBodyResult setTeachingParticipant(QueryRemoteClassCourseResponseBodyResultTeachingParticipant teachingParticipant) {
            this.teachingParticipant = teachingParticipant;
            return this;
        }
        public QueryRemoteClassCourseResponseBodyResultTeachingParticipant getTeachingParticipant() {
            return this.teachingParticipant;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy