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

com.aliyun.dingtalkedu_1_0.models.GetOpenCourseDetailResponseBody 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 GetOpenCourseDetailResponseBody extends TeaModel {
    // 课程id
    @NameInMap("courseId")
    public String courseId;

    // 课程类型: 0-直播 2-视频内容
    @NameInMap("courseType")
    public Long courseType;

    // 封面图片地址
    @NameInMap("coverUrl")
    public String coverUrl;

    // 课程介绍
    @NameInMap("introduction")
    public String introduction;

    // 发布详情model
    @NameInMap("pushModel")
    public GetOpenCourseDetailResponseBodyPushModel pushModel;

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

    // 老师的userId
    @NameInMap("teacherId")
    public String teacherId;

    // 老师名称
    @NameInMap("teacherName")
    public String teacherName;

    // 课程标题
    @NameInMap("title")
    public String title;

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

    public GetOpenCourseDetailResponseBody setCourseId(String courseId) {
        this.courseId = courseId;
        return this;
    }
    public String getCourseId() {
        return this.courseId;
    }

    public GetOpenCourseDetailResponseBody setCourseType(Long courseType) {
        this.courseType = courseType;
        return this;
    }
    public Long getCourseType() {
        return this.courseType;
    }

    public GetOpenCourseDetailResponseBody setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
        return this;
    }
    public String getCoverUrl() {
        return this.coverUrl;
    }

    public GetOpenCourseDetailResponseBody setIntroduction(String introduction) {
        this.introduction = introduction;
        return this;
    }
    public String getIntroduction() {
        return this.introduction;
    }

    public GetOpenCourseDetailResponseBody setPushModel(GetOpenCourseDetailResponseBodyPushModel pushModel) {
        this.pushModel = pushModel;
        return this;
    }
    public GetOpenCourseDetailResponseBodyPushModel getPushModel() {
        return this.pushModel;
    }

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

    public GetOpenCourseDetailResponseBody setTeacherId(String teacherId) {
        this.teacherId = teacherId;
        return this;
    }
    public String getTeacherId() {
        return this.teacherId;
    }

    public GetOpenCourseDetailResponseBody setTeacherName(String teacherName) {
        this.teacherName = teacherName;
        return this;
    }
    public String getTeacherName() {
        return this.teacherName;
    }

    public GetOpenCourseDetailResponseBody setTitle(String title) {
        this.title = title;
        return this;
    }
    public String getTitle() {
        return this.title;
    }

    public static class GetOpenCourseDetailResponseBodyPushModel extends TeaModel {
        // 参与学校的名称列表
        @NameInMap("pushOrgNameList")
        public java.util.List pushOrgNameList;

        // 参与角色的名称列表
        @NameInMap("pushRoleNameList")
        public java.util.List pushRoleNameList;

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

        public GetOpenCourseDetailResponseBodyPushModel setPushOrgNameList(java.util.List pushOrgNameList) {
            this.pushOrgNameList = pushOrgNameList;
            return this;
        }
        public java.util.List getPushOrgNameList() {
            return this.pushOrgNameList;
        }

        public GetOpenCourseDetailResponseBodyPushModel setPushRoleNameList(java.util.List pushRoleNameList) {
            this.pushRoleNameList = pushRoleNameList;
            return this;
        }
        public java.util.List getPushRoleNameList() {
            return this.pushRoleNameList;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy