com.aliyun.dingtalkedu_1_0.models.EduTeacherListResponseBody 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 EduTeacherListResponseBody extends TeaModel {
// 返回结果
@NameInMap("result")
public EduTeacherListResponseBodyResult result;
public static EduTeacherListResponseBody build(java.util.Map map) throws Exception {
EduTeacherListResponseBody self = new EduTeacherListResponseBody();
return TeaModel.build(map, self);
}
public EduTeacherListResponseBody setResult(EduTeacherListResponseBodyResult result) {
this.result = result;
return this;
}
public EduTeacherListResponseBodyResult getResult() {
return this.result;
}
public static class EduTeacherListResponseBodyResultTeacherDetails extends TeaModel {
// 用户名称
@NameInMap("name")
public String name;
// 角色
@NameInMap("role")
public String role;
// PiiiPyQqBxxx
@NameInMap("unionId")
public String unionId;
// 用户ID
@NameInMap("userId")
public String userId;
public static EduTeacherListResponseBodyResultTeacherDetails build(java.util.Map map) throws Exception {
EduTeacherListResponseBodyResultTeacherDetails self = new EduTeacherListResponseBodyResultTeacherDetails();
return TeaModel.build(map, self);
}
public EduTeacherListResponseBodyResultTeacherDetails setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public EduTeacherListResponseBodyResultTeacherDetails setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return this.role;
}
public EduTeacherListResponseBodyResultTeacherDetails setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public EduTeacherListResponseBodyResultTeacherDetails setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class EduTeacherListResponseBodyResult extends TeaModel {
// 是否还有下一页
@NameInMap("hasMore")
public Boolean hasMore;
// 教师信息
@NameInMap("teacherDetails")
public java.util.List teacherDetails;
public static EduTeacherListResponseBodyResult build(java.util.Map map) throws Exception {
EduTeacherListResponseBodyResult self = new EduTeacherListResponseBodyResult();
return TeaModel.build(map, self);
}
public EduTeacherListResponseBodyResult setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public EduTeacherListResponseBodyResult setTeacherDetails(java.util.List teacherDetails) {
this.teacherDetails = teacherDetails;
return this;
}
public java.util.List getTeacherDetails() {
return this.teacherDetails;
}
}
}