com.aliyun.dingtalkedu_1_0.models.GetOpenCoursesResponseBody 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 GetOpenCoursesResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("courseList")
public java.util.List courseList;
/**
* This parameter is required.
*
* example:
* 68
*/
@NameInMap("totalCount")
public Long totalCount;
public static GetOpenCoursesResponseBody build(java.util.Map map) throws Exception {
GetOpenCoursesResponseBody self = new GetOpenCoursesResponseBody();
return TeaModel.build(map, self);
}
public GetOpenCoursesResponseBody setCourseList(java.util.List courseList) {
this.courseList = courseList;
return this;
}
public java.util.List getCourseList() {
return this.courseList;
}
public GetOpenCoursesResponseBody setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
public static class GetOpenCoursesResponseBodyCourseList extends TeaModel {
/**
* This parameter is required.
*
* example:
* fdjakl-fdaf-ds
*/
@NameInMap("courseId")
public String courseId;
/**
* This parameter is required.
*
* example:
* https://static.dingtalk.com/media/lALPDgCwRt4FagzMi8yZ_153_139.png
*/
@NameInMap("coverUrl")
public String coverUrl;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("feedType")
public Long feedType;
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("jumpUrl")
public String jumpUrl;
/**
* This parameter is required.
*
* example:
* 1618369786000
*/
@NameInMap("startTime")
public Long startTime;
/**
* This parameter is required.
*
* example:
* 123124312314
*/
@NameInMap("teacherId")
public String teacherId;
/**
* This parameter is required.
*
* example:
* 张老师
*/
@NameInMap("teacherName")
public String teacherName;
/**
* This parameter is required.
*
* example:
* 开学第一课
*/
@NameInMap("title")
public String title;
public static GetOpenCoursesResponseBodyCourseList build(java.util.Map map) throws Exception {
GetOpenCoursesResponseBodyCourseList self = new GetOpenCoursesResponseBodyCourseList();
return TeaModel.build(map, self);
}
public GetOpenCoursesResponseBodyCourseList setCourseId(String courseId) {
this.courseId = courseId;
return this;
}
public String getCourseId() {
return this.courseId;
}
public GetOpenCoursesResponseBodyCourseList setCoverUrl(String coverUrl) {
this.coverUrl = coverUrl;
return this;
}
public String getCoverUrl() {
return this.coverUrl;
}
public GetOpenCoursesResponseBodyCourseList setFeedType(Long feedType) {
this.feedType = feedType;
return this;
}
public Long getFeedType() {
return this.feedType;
}
public GetOpenCoursesResponseBodyCourseList setJumpUrl(String jumpUrl) {
this.jumpUrl = jumpUrl;
return this;
}
public String getJumpUrl() {
return this.jumpUrl;
}
public GetOpenCoursesResponseBodyCourseList setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public GetOpenCoursesResponseBodyCourseList setTeacherId(String teacherId) {
this.teacherId = teacherId;
return this;
}
public String getTeacherId() {
return this.teacherId;
}
public GetOpenCoursesResponseBodyCourseList setTeacherName(String teacherName) {
this.teacherName = teacherName;
return this;
}
public String getTeacherName() {
return this.teacherName;
}
public GetOpenCoursesResponseBodyCourseList setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}