com.aliyun.dingtalkedu_1_0.models.BatchOrgCreateHWRequest 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 BatchOrgCreateHWRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("attributes")
public String attributes;
/**
* This parameter is required.
*/
@NameInMap("bizCode")
public String bizCode;
/**
* This parameter is required.
*/
@NameInMap("courseName")
public String courseName;
/**
* This parameter is required.
*/
@NameInMap("hwContent")
public String hwContent;
@NameInMap("hwDeadline")
public Long hwDeadline;
/**
* example:
* Y
*
* if can be null:
* false
*/
@NameInMap("hwDeadlineOpen")
public String hwDeadlineOpen;
@NameInMap("hwMedia")
public String hwMedia;
@NameInMap("hwPhoto")
public String hwPhoto;
/**
* This parameter is required.
*/
@NameInMap("hwTitle")
public String hwTitle;
@NameInMap("hwType")
public String hwType;
@NameInMap("hwVideo")
public String hwVideo;
/**
* This parameter is required.
*/
@NameInMap("identifier")
public String identifier;
/**
* This parameter is required.
*/
@NameInMap("openSelectItemList")
public java.util.List openSelectItemList;
@NameInMap("scheduledRelease")
public String scheduledRelease;
@NameInMap("scheduledTime")
public String scheduledTime;
/**
* This parameter is required.
*/
@NameInMap("status")
public String status;
@NameInMap("targetRole")
public String targetRole;
/**
* This parameter is required.
*/
@NameInMap("teacherName")
public String teacherName;
/**
* This parameter is required.
*/
@NameInMap("teacherUserId")
public String teacherUserId;
public static BatchOrgCreateHWRequest build(java.util.Map map) throws Exception {
BatchOrgCreateHWRequest self = new BatchOrgCreateHWRequest();
return TeaModel.build(map, self);
}
public BatchOrgCreateHWRequest setAttributes(String attributes) {
this.attributes = attributes;
return this;
}
public String getAttributes() {
return this.attributes;
}
public BatchOrgCreateHWRequest setBizCode(String bizCode) {
this.bizCode = bizCode;
return this;
}
public String getBizCode() {
return this.bizCode;
}
public BatchOrgCreateHWRequest setCourseName(String courseName) {
this.courseName = courseName;
return this;
}
public String getCourseName() {
return this.courseName;
}
public BatchOrgCreateHWRequest setHwContent(String hwContent) {
this.hwContent = hwContent;
return this;
}
public String getHwContent() {
return this.hwContent;
}
public BatchOrgCreateHWRequest setHwDeadline(Long hwDeadline) {
this.hwDeadline = hwDeadline;
return this;
}
public Long getHwDeadline() {
return this.hwDeadline;
}
public BatchOrgCreateHWRequest setHwDeadlineOpen(String hwDeadlineOpen) {
this.hwDeadlineOpen = hwDeadlineOpen;
return this;
}
public String getHwDeadlineOpen() {
return this.hwDeadlineOpen;
}
public BatchOrgCreateHWRequest setHwMedia(String hwMedia) {
this.hwMedia = hwMedia;
return this;
}
public String getHwMedia() {
return this.hwMedia;
}
public BatchOrgCreateHWRequest setHwPhoto(String hwPhoto) {
this.hwPhoto = hwPhoto;
return this;
}
public String getHwPhoto() {
return this.hwPhoto;
}
public BatchOrgCreateHWRequest setHwTitle(String hwTitle) {
this.hwTitle = hwTitle;
return this;
}
public String getHwTitle() {
return this.hwTitle;
}
public BatchOrgCreateHWRequest setHwType(String hwType) {
this.hwType = hwType;
return this;
}
public String getHwType() {
return this.hwType;
}
public BatchOrgCreateHWRequest setHwVideo(String hwVideo) {
this.hwVideo = hwVideo;
return this;
}
public String getHwVideo() {
return this.hwVideo;
}
public BatchOrgCreateHWRequest setIdentifier(String identifier) {
this.identifier = identifier;
return this;
}
public String getIdentifier() {
return this.identifier;
}
public BatchOrgCreateHWRequest setOpenSelectItemList(java.util.List openSelectItemList) {
this.openSelectItemList = openSelectItemList;
return this;
}
public java.util.List getOpenSelectItemList() {
return this.openSelectItemList;
}
public BatchOrgCreateHWRequest setScheduledRelease(String scheduledRelease) {
this.scheduledRelease = scheduledRelease;
return this;
}
public String getScheduledRelease() {
return this.scheduledRelease;
}
public BatchOrgCreateHWRequest setScheduledTime(String scheduledTime) {
this.scheduledTime = scheduledTime;
return this;
}
public String getScheduledTime() {
return this.scheduledTime;
}
public BatchOrgCreateHWRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public BatchOrgCreateHWRequest setTargetRole(String targetRole) {
this.targetRole = targetRole;
return this;
}
public String getTargetRole() {
return this.targetRole;
}
public BatchOrgCreateHWRequest setTeacherName(String teacherName) {
this.teacherName = teacherName;
return this;
}
public String getTeacherName() {
return this.teacherName;
}
public BatchOrgCreateHWRequest setTeacherUserId(String teacherUserId) {
this.teacherUserId = teacherUserId;
return this;
}
public String getTeacherUserId() {
return this.teacherUserId;
}
public static class BatchOrgCreateHWRequestOpenSelectItemListClassListStudents extends TeaModel {
@NameInMap("avatar")
public String avatar;
@NameInMap("name")
public String name;
@NameInMap("staffId")
public String staffId;
public static BatchOrgCreateHWRequestOpenSelectItemListClassListStudents build(java.util.Map map) throws Exception {
BatchOrgCreateHWRequestOpenSelectItemListClassListStudents self = new BatchOrgCreateHWRequestOpenSelectItemListClassListStudents();
return TeaModel.build(map, self);
}
public BatchOrgCreateHWRequestOpenSelectItemListClassListStudents setAvatar(String avatar) {
this.avatar = avatar;
return this;
}
public String getAvatar() {
return this.avatar;
}
public BatchOrgCreateHWRequestOpenSelectItemListClassListStudents setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public BatchOrgCreateHWRequestOpenSelectItemListClassListStudents setStaffId(String staffId) {
this.staffId = staffId;
return this;
}
public String getStaffId() {
return this.staffId;
}
}
public static class BatchOrgCreateHWRequestOpenSelectItemListClassList extends TeaModel {
@NameInMap("all")
public Boolean all;
@NameInMap("classId")
public String classId;
@NameInMap("className")
public String className;
@NameInMap("students")
public java.util.List students;
public static BatchOrgCreateHWRequestOpenSelectItemListClassList build(java.util.Map map) throws Exception {
BatchOrgCreateHWRequestOpenSelectItemListClassList self = new BatchOrgCreateHWRequestOpenSelectItemListClassList();
return TeaModel.build(map, self);
}
public BatchOrgCreateHWRequestOpenSelectItemListClassList setAll(Boolean all) {
this.all = all;
return this;
}
public Boolean getAll() {
return this.all;
}
public BatchOrgCreateHWRequestOpenSelectItemListClassList setClassId(String classId) {
this.classId = classId;
return this;
}
public String getClassId() {
return this.classId;
}
public BatchOrgCreateHWRequestOpenSelectItemListClassList setClassName(String className) {
this.className = className;
return this;
}
public String getClassName() {
return this.className;
}
public BatchOrgCreateHWRequestOpenSelectItemListClassList setStudents(java.util.List students) {
this.students = students;
return this;
}
public java.util.List getStudents() {
return this.students;
}
}
public static class BatchOrgCreateHWRequestOpenSelectItemList extends TeaModel {
@NameInMap("classList")
public java.util.List classList;
@NameInMap("corpId")
public String corpId;
@NameInMap("selectedClassesDesc")
public String selectedClassesDesc;
public static BatchOrgCreateHWRequestOpenSelectItemList build(java.util.Map map) throws Exception {
BatchOrgCreateHWRequestOpenSelectItemList self = new BatchOrgCreateHWRequestOpenSelectItemList();
return TeaModel.build(map, self);
}
public BatchOrgCreateHWRequestOpenSelectItemList setClassList(java.util.List classList) {
this.classList = classList;
return this;
}
public java.util.List getClassList() {
return this.classList;
}
public BatchOrgCreateHWRequestOpenSelectItemList setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public BatchOrgCreateHWRequestOpenSelectItemList setSelectedClassesDesc(String selectedClassesDesc) {
this.selectedClassesDesc = selectedClassesDesc;
return this;
}
public String getSelectedClassesDesc() {
return this.selectedClassesDesc;
}
}
}