
com.aliyun.dingtalkedu_1_0.models.CreateUniversityCourseGroupRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class CreateUniversityCourseGroupRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 高数
*/
@NameInMap("courseGroupIntroduce")
public String courseGroupIntroduce;
/**
* This parameter is required.
*
* example:
* 张老师_高数
*/
@NameInMap("courseGroupName")
public String courseGroupName;
/**
* This parameter is required.
*/
@NameInMap("courserGroupItemModels")
public java.util.List courserGroupItemModels;
/**
* example:
* {}
*/
@NameInMap("ext")
public String ext;
/**
* This parameter is required.
*
* example:
* GZ1001
*/
@NameInMap("isvCourseGroupCode")
public String isvCourseGroupCode;
/**
* This parameter is required.
*
* example:
* 大学:university
*/
@NameInMap("periodCode")
public String periodCode;
/**
* This parameter is required.
*
* example:
* 2021-2022
*/
@NameInMap("schoolYear")
public String schoolYear;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("semester")
public Integer semester;
/**
* This parameter is required.
*
* example:
* 高等数学
*/
@NameInMap("subjectName")
public String subjectName;
/**
* This parameter is required.
*/
@NameInMap("teacherInfos")
public java.util.List teacherInfos;
/**
* This parameter is required.
*/
@NameInMap("opUserId")
public String opUserId;
public static CreateUniversityCourseGroupRequest build(java.util.Map map) throws Exception {
CreateUniversityCourseGroupRequest self = new CreateUniversityCourseGroupRequest();
return TeaModel.build(map, self);
}
public CreateUniversityCourseGroupRequest setCourseGroupIntroduce(String courseGroupIntroduce) {
this.courseGroupIntroduce = courseGroupIntroduce;
return this;
}
public String getCourseGroupIntroduce() {
return this.courseGroupIntroduce;
}
public CreateUniversityCourseGroupRequest setCourseGroupName(String courseGroupName) {
this.courseGroupName = courseGroupName;
return this;
}
public String getCourseGroupName() {
return this.courseGroupName;
}
public CreateUniversityCourseGroupRequest setCourserGroupItemModels(java.util.List courserGroupItemModels) {
this.courserGroupItemModels = courserGroupItemModels;
return this;
}
public java.util.List getCourserGroupItemModels() {
return this.courserGroupItemModels;
}
public CreateUniversityCourseGroupRequest setExt(String ext) {
this.ext = ext;
return this;
}
public String getExt() {
return this.ext;
}
public CreateUniversityCourseGroupRequest setIsvCourseGroupCode(String isvCourseGroupCode) {
this.isvCourseGroupCode = isvCourseGroupCode;
return this;
}
public String getIsvCourseGroupCode() {
return this.isvCourseGroupCode;
}
public CreateUniversityCourseGroupRequest setPeriodCode(String periodCode) {
this.periodCode = periodCode;
return this;
}
public String getPeriodCode() {
return this.periodCode;
}
public CreateUniversityCourseGroupRequest setSchoolYear(String schoolYear) {
this.schoolYear = schoolYear;
return this;
}
public String getSchoolYear() {
return this.schoolYear;
}
public CreateUniversityCourseGroupRequest setSemester(Integer semester) {
this.semester = semester;
return this;
}
public Integer getSemester() {
return this.semester;
}
public CreateUniversityCourseGroupRequest setSubjectName(String subjectName) {
this.subjectName = subjectName;
return this;
}
public String getSubjectName() {
return this.subjectName;
}
public CreateUniversityCourseGroupRequest setTeacherInfos(java.util.List teacherInfos) {
this.teacherInfos = teacherInfos;
return this;
}
public java.util.List getTeacherInfos() {
return this.teacherInfos;
}
public CreateUniversityCourseGroupRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public static class CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate extends TeaModel {
/**
* This parameter is required.
*
* example:
* 31
*/
@NameInMap("dayOfMonth")
public Integer dayOfMonth;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("month")
public Integer month;
/**
* This parameter is required.
*
* example:
* 2021
*/
@NameInMap("year")
public Integer year;
public static CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate build(java.util.Map map) throws Exception {
CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate self = new CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate();
return TeaModel.build(map, self);
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate setDayOfMonth(Integer dayOfMonth) {
this.dayOfMonth = dayOfMonth;
return this;
}
public Integer getDayOfMonth() {
return this.dayOfMonth;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("dayOfMonth")
public Integer dayOfMonth;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("month")
public Integer month;
/**
* This parameter is required.
*
* example:
* 2021
*/
@NameInMap("year")
public Integer year;
public static CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate build(java.util.Map map) throws Exception {
CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate self = new CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate();
return TeaModel.build(map, self);
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate setDayOfMonth(Integer dayOfMonth) {
this.dayOfMonth = dayOfMonth;
return this;
}
public Integer getDayOfMonth() {
return this.dayOfMonth;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate setMonth(Integer month) {
this.month = month;
return this;
}
public Integer getMonth() {
return this.month;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate setYear(Integer year) {
this.year = year;
return this;
}
public Integer getYear() {
return this.year;
}
}
public static class CreateUniversityCourseGroupRequestCourserGroupItemModels extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1、单周;2、双周;3、全周
*/
@NameInMap("classPeriodType")
public Integer classPeriodType;
/**
* This parameter is required.
*
* example:
* 10001
*/
@NameInMap("classroomId")
public Long classroomId;
/**
* This parameter is required.
*
* example:
* 1;音视频直播\2:线下课程\4:音视频及线下
*/
@NameInMap("courseType")
public Integer courseType;
/**
* This parameter is required.
*/
@NameInMap("courserGroupItemEndDate")
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate courserGroupItemEndDate;
/**
* This parameter is required.
*/
@NameInMap("courserGroupItemStartDate")
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate courserGroupItemStartDate;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("dayOfWeek")
public Integer dayOfWeek;
/**
* This parameter is required.
*/
@NameInMap("sectionIndex")
public java.util.List sectionIndex;
public static CreateUniversityCourseGroupRequestCourserGroupItemModels build(java.util.Map map) throws Exception {
CreateUniversityCourseGroupRequestCourserGroupItemModels self = new CreateUniversityCourseGroupRequestCourserGroupItemModels();
return TeaModel.build(map, self);
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setClassPeriodType(Integer classPeriodType) {
this.classPeriodType = classPeriodType;
return this;
}
public Integer getClassPeriodType() {
return this.classPeriodType;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setClassroomId(Long classroomId) {
this.classroomId = classroomId;
return this;
}
public Long getClassroomId() {
return this.classroomId;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setCourseType(Integer courseType) {
this.courseType = courseType;
return this;
}
public Integer getCourseType() {
return this.courseType;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setCourserGroupItemEndDate(CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate courserGroupItemEndDate) {
this.courserGroupItemEndDate = courserGroupItemEndDate;
return this;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemEndDate getCourserGroupItemEndDate() {
return this.courserGroupItemEndDate;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setCourserGroupItemStartDate(CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate courserGroupItemStartDate) {
this.courserGroupItemStartDate = courserGroupItemStartDate;
return this;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModelsCourserGroupItemStartDate getCourserGroupItemStartDate() {
return this.courserGroupItemStartDate;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setDayOfWeek(Integer dayOfWeek) {
this.dayOfWeek = dayOfWeek;
return this;
}
public Integer getDayOfWeek() {
return this.dayOfWeek;
}
public CreateUniversityCourseGroupRequestCourserGroupItemModels setSectionIndex(java.util.List sectionIndex) {
this.sectionIndex = sectionIndex;
return this;
}
public java.util.List getSectionIndex() {
return this.sectionIndex;
}
}
public static class CreateUniversityCourseGroupRequestTeacherInfos extends TeaModel {
/**
* example:
* TEACHER授课教师/TEACHING_ASSISTANT助教
*/
@NameInMap("participantRole")
public String participantRole;
/**
* example:
* manger1234
*/
@NameInMap("userId")
public String userId;
public static CreateUniversityCourseGroupRequestTeacherInfos build(java.util.Map map) throws Exception {
CreateUniversityCourseGroupRequestTeacherInfos self = new CreateUniversityCourseGroupRequestTeacherInfos();
return TeaModel.build(map, self);
}
public CreateUniversityCourseGroupRequestTeacherInfos setParticipantRole(String participantRole) {
this.participantRole = participantRole;
return this;
}
public String getParticipantRole() {
return this.participantRole;
}
public CreateUniversityCourseGroupRequestTeacherInfos setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}