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

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

There is a newer version: 2.1.67
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 InitCoursesOfClassRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("courses") public java.util.List courses; /** *

This parameter is required.

*/ @NameInMap("sectionConfig") public InitCoursesOfClassRequestSectionConfig sectionConfig; /** *

This parameter is required.

* * example: *

manager235

*/ @NameInMap("opUserId") public String opUserId; public static InitCoursesOfClassRequest build(java.util.Map map) throws Exception { InitCoursesOfClassRequest self = new InitCoursesOfClassRequest(); return TeaModel.build(map, self); } public InitCoursesOfClassRequest setCourses(java.util.List courses) { this.courses = courses; return this; } public java.util.List getCourses() { return this.courses; } public InitCoursesOfClassRequest setSectionConfig(InitCoursesOfClassRequestSectionConfig sectionConfig) { this.sectionConfig = sectionConfig; return this; } public InitCoursesOfClassRequestSectionConfig getSectionConfig() { return this.sectionConfig; } public InitCoursesOfClassRequest setOpUserId(String opUserId) { this.opUserId = opUserId; return this; } public String getOpUserId() { return this.opUserId; } public static class InitCoursesOfClassRequestCoursesDateModel extends TeaModel { /** *

This parameter is required.

* * example: *

9

*/ @NameInMap("dayOfMonth") public Integer dayOfMonth; /** *

This parameter is required.

* * example: *

11

*/ @NameInMap("month") public Integer month; /** *

This parameter is required.

* * example: *

2020

*/ @NameInMap("year") public Integer year; public static InitCoursesOfClassRequestCoursesDateModel build(java.util.Map map) throws Exception { InitCoursesOfClassRequestCoursesDateModel self = new InitCoursesOfClassRequestCoursesDateModel(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestCoursesDateModel setDayOfMonth(Integer dayOfMonth) { this.dayOfMonth = dayOfMonth; return this; } public Integer getDayOfMonth() { return this.dayOfMonth; } public InitCoursesOfClassRequestCoursesDateModel setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public InitCoursesOfClassRequestCoursesDateModel setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class InitCoursesOfClassRequestCoursesSectionModel extends TeaModel { /** *

This parameter is required.

* * example: *

1

*/ @NameInMap("sectionIndex") public Integer sectionIndex; /** *

This parameter is required.

* * example: *

第一节

*/ @NameInMap("sectionName") public String sectionName; public static InitCoursesOfClassRequestCoursesSectionModel build(java.util.Map map) throws Exception { InitCoursesOfClassRequestCoursesSectionModel self = new InitCoursesOfClassRequestCoursesSectionModel(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestCoursesSectionModel setSectionIndex(Integer sectionIndex) { this.sectionIndex = sectionIndex; return this; } public Integer getSectionIndex() { return this.sectionIndex; } public InitCoursesOfClassRequestCoursesSectionModel setSectionName(String sectionName) { this.sectionName = sectionName; return this; } public String getSectionName() { return this.sectionName; } } public static class InitCoursesOfClassRequestCourses extends TeaModel { /** * example: *

语文

*/ @NameInMap("courseName") public String courseName; /** * example: *

李老师

*/ @NameInMap("creatorName") public String creatorName; /** *

This parameter is required.

*/ @NameInMap("dateModel") public InitCoursesOfClassRequestCoursesDateModel dateModel; /** * example: *

正心楼1-1

*/ @NameInMap("location") public String location; /** *

This parameter is required.

*/ @NameInMap("sectionModel") public InitCoursesOfClassRequestCoursesSectionModel sectionModel; @NameInMap("teacherStaffIds") public java.util.List teacherStaffIds; public static InitCoursesOfClassRequestCourses build(java.util.Map map) throws Exception { InitCoursesOfClassRequestCourses self = new InitCoursesOfClassRequestCourses(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestCourses setCourseName(String courseName) { this.courseName = courseName; return this; } public String getCourseName() { return this.courseName; } public InitCoursesOfClassRequestCourses setCreatorName(String creatorName) { this.creatorName = creatorName; return this; } public String getCreatorName() { return this.creatorName; } public InitCoursesOfClassRequestCourses setDateModel(InitCoursesOfClassRequestCoursesDateModel dateModel) { this.dateModel = dateModel; return this; } public InitCoursesOfClassRequestCoursesDateModel getDateModel() { return this.dateModel; } public InitCoursesOfClassRequestCourses setLocation(String location) { this.location = location; return this; } public String getLocation() { return this.location; } public InitCoursesOfClassRequestCourses setSectionModel(InitCoursesOfClassRequestCoursesSectionModel sectionModel) { this.sectionModel = sectionModel; return this; } public InitCoursesOfClassRequestCoursesSectionModel getSectionModel() { return this.sectionModel; } public InitCoursesOfClassRequestCourses setTeacherStaffIds(java.util.List teacherStaffIds) { this.teacherStaffIds = teacherStaffIds; return this; } public java.util.List getTeacherStaffIds() { return this.teacherStaffIds; } } public static class InitCoursesOfClassRequestSectionConfigEnd extends TeaModel { /** *

This parameter is required.

* * example: *

9

*/ @NameInMap("dayOfMonth") public Integer dayOfMonth; /** *

This parameter is required.

* * example: *

11

*/ @NameInMap("month") public Integer month; /** *

This parameter is required.

* * example: *

2020

*/ @NameInMap("year") public Integer year; public static InitCoursesOfClassRequestSectionConfigEnd build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfigEnd self = new InitCoursesOfClassRequestSectionConfigEnd(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfigEnd setDayOfMonth(Integer dayOfMonth) { this.dayOfMonth = dayOfMonth; return this; } public Integer getDayOfMonth() { return this.dayOfMonth; } public InitCoursesOfClassRequestSectionConfigEnd setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public InitCoursesOfClassRequestSectionConfigEnd setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class InitCoursesOfClassRequestSectionConfigSectionModelsEnd extends TeaModel { /** *

This parameter is required.

* * example: *

10

*/ @NameInMap("hour") public Integer hour; /** *

This parameter is required.

* * example: *

45

*/ @NameInMap("min") public Integer min; public static InitCoursesOfClassRequestSectionConfigSectionModelsEnd build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfigSectionModelsEnd self = new InitCoursesOfClassRequestSectionConfigSectionModelsEnd(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfigSectionModelsEnd setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public InitCoursesOfClassRequestSectionConfigSectionModelsEnd setMin(Integer min) { this.min = min; return this; } public Integer getMin() { return this.min; } } public static class InitCoursesOfClassRequestSectionConfigSectionModelsStart extends TeaModel { /** *

This parameter is required.

* * example: *

10

*/ @NameInMap("hour") public Integer hour; /** *

This parameter is required.

* * example: *

0

*/ @NameInMap("min") public Integer min; public static InitCoursesOfClassRequestSectionConfigSectionModelsStart build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfigSectionModelsStart self = new InitCoursesOfClassRequestSectionConfigSectionModelsStart(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfigSectionModelsStart setHour(Integer hour) { this.hour = hour; return this; } public Integer getHour() { return this.hour; } public InitCoursesOfClassRequestSectionConfigSectionModelsStart setMin(Integer min) { this.min = min; return this; } public Integer getMin() { return this.min; } } public static class InitCoursesOfClassRequestSectionConfigSectionModels extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("end") public InitCoursesOfClassRequestSectionConfigSectionModelsEnd end; /** *

This parameter is required.

* * example: *

1

*/ @NameInMap("sectionIndex") public Integer sectionIndex; /** * example: *

COURSE:上课节次 REST:休息节次

*/ @NameInMap("sectionType") public String sectionType; /** *

This parameter is required.

*/ @NameInMap("start") public InitCoursesOfClassRequestSectionConfigSectionModelsStart start; public static InitCoursesOfClassRequestSectionConfigSectionModels build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfigSectionModels self = new InitCoursesOfClassRequestSectionConfigSectionModels(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfigSectionModels setEnd(InitCoursesOfClassRequestSectionConfigSectionModelsEnd end) { this.end = end; return this; } public InitCoursesOfClassRequestSectionConfigSectionModelsEnd getEnd() { return this.end; } public InitCoursesOfClassRequestSectionConfigSectionModels setSectionIndex(Integer sectionIndex) { this.sectionIndex = sectionIndex; return this; } public Integer getSectionIndex() { return this.sectionIndex; } public InitCoursesOfClassRequestSectionConfigSectionModels setSectionType(String sectionType) { this.sectionType = sectionType; return this; } public String getSectionType() { return this.sectionType; } public InitCoursesOfClassRequestSectionConfigSectionModels setStart(InitCoursesOfClassRequestSectionConfigSectionModelsStart start) { this.start = start; return this; } public InitCoursesOfClassRequestSectionConfigSectionModelsStart getStart() { return this.start; } } public static class InitCoursesOfClassRequestSectionConfigStart extends TeaModel { /** *

This parameter is required.

* * example: *

9

*/ @NameInMap("dayOfMonth") public Integer dayOfMonth; /** *

This parameter is required.

* * example: *

11

*/ @NameInMap("month") public Integer month; /** *

This parameter is required.

* * example: *

2020

*/ @NameInMap("year") public Integer year; public static InitCoursesOfClassRequestSectionConfigStart build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfigStart self = new InitCoursesOfClassRequestSectionConfigStart(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfigStart setDayOfMonth(Integer dayOfMonth) { this.dayOfMonth = dayOfMonth; return this; } public Integer getDayOfMonth() { return this.dayOfMonth; } public InitCoursesOfClassRequestSectionConfigStart setMonth(Integer month) { this.month = month; return this; } public Integer getMonth() { return this.month; } public InitCoursesOfClassRequestSectionConfigStart setYear(Integer year) { this.year = year; return this; } public Integer getYear() { return this.year; } } public static class InitCoursesOfClassRequestSectionConfig extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("end") public InitCoursesOfClassRequestSectionConfigEnd end; /** *

This parameter is required.

*/ @NameInMap("sectionModels") public java.util.List sectionModels; /** *

This parameter is required.

*/ @NameInMap("start") public InitCoursesOfClassRequestSectionConfigStart start; public static InitCoursesOfClassRequestSectionConfig build(java.util.Map map) throws Exception { InitCoursesOfClassRequestSectionConfig self = new InitCoursesOfClassRequestSectionConfig(); return TeaModel.build(map, self); } public InitCoursesOfClassRequestSectionConfig setEnd(InitCoursesOfClassRequestSectionConfigEnd end) { this.end = end; return this; } public InitCoursesOfClassRequestSectionConfigEnd getEnd() { return this.end; } public InitCoursesOfClassRequestSectionConfig setSectionModels(java.util.List sectionModels) { this.sectionModels = sectionModels; return this; } public java.util.List getSectionModels() { return this.sectionModels; } public InitCoursesOfClassRequestSectionConfig setStart(InitCoursesOfClassRequestSectionConfigStart start) { this.start = start; return this; } public InitCoursesOfClassRequestSectionConfigStart getStart() { return this.start; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy