com.aliyun.dingtalkedu_1_0.models.CreateUniversityTeacherRequest 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 CreateUniversityTeacherRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 100987
*/
@NameInMap("classId")
public Long classId;
/**
* This parameter is required.
*
* example:
* manger1234
*/
@NameInMap("opUserId")
public String opUserId;
/**
* This parameter is required.
*
* example:
* headmaster:班主任;instructor:辅导员
*/
@NameInMap("role")
public String role;
/**
* This parameter is required.
*
* example:
* 10877892
*/
@NameInMap("teacherUserId")
public String teacherUserId;
public static CreateUniversityTeacherRequest build(java.util.Map map) throws Exception {
CreateUniversityTeacherRequest self = new CreateUniversityTeacherRequest();
return TeaModel.build(map, self);
}
public CreateUniversityTeacherRequest setClassId(Long classId) {
this.classId = classId;
return this;
}
public Long getClassId() {
return this.classId;
}
public CreateUniversityTeacherRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public CreateUniversityTeacherRequest setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return this.role;
}
public CreateUniversityTeacherRequest setTeacherUserId(String teacherUserId) {
this.teacherUserId = teacherUserId;
return this;
}
public String getTeacherUserId() {
return this.teacherUserId;
}
}