com.aliyun.dingtalkedu_1_0.models.GetDefaultChildResponseBody 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 GetDefaultChildResponseBody extends TeaModel {
@NameInMap("avatar")
public String avatar;
@NameInMap("bindStudents")
public java.util.List bindStudents;
@NameInMap("grade")
public Integer grade;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
@NameInMap("nick")
public String nick;
@NameInMap("period")
public String period;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
public static GetDefaultChildResponseBody build(java.util.Map map) throws Exception {
GetDefaultChildResponseBody self = new GetDefaultChildResponseBody();
return TeaModel.build(map, self);
}
public GetDefaultChildResponseBody setAvatar(String avatar) {
this.avatar = avatar;
return this;
}
public String getAvatar() {
return this.avatar;
}
public GetDefaultChildResponseBody setBindStudents(java.util.List bindStudents) {
this.bindStudents = bindStudents;
return this;
}
public java.util.List getBindStudents() {
return this.bindStudents;
}
public GetDefaultChildResponseBody setGrade(Integer grade) {
this.grade = grade;
return this;
}
public Integer getGrade() {
return this.grade;
}
public GetDefaultChildResponseBody setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetDefaultChildResponseBody setNick(String nick) {
this.nick = nick;
return this;
}
public String getNick() {
return this.nick;
}
public GetDefaultChildResponseBody setPeriod(String period) {
this.period = period;
return this;
}
public String getPeriod() {
return this.period;
}
public GetDefaultChildResponseBody setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class GetDefaultChildResponseBodyBindStudents extends TeaModel {
@NameInMap("classId")
public Long classId;
/**
* This parameter is required.
*/
@NameInMap("corpId")
public String corpId;
@NameInMap("period")
public String period;
/**
* This parameter is required.
*/
@NameInMap("staffId")
public String staffId;
public static GetDefaultChildResponseBodyBindStudents build(java.util.Map map) throws Exception {
GetDefaultChildResponseBodyBindStudents self = new GetDefaultChildResponseBodyBindStudents();
return TeaModel.build(map, self);
}
public GetDefaultChildResponseBodyBindStudents setClassId(Long classId) {
this.classId = classId;
return this;
}
public Long getClassId() {
return this.classId;
}
public GetDefaultChildResponseBodyBindStudents setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public GetDefaultChildResponseBodyBindStudents setPeriod(String period) {
this.period = period;
return this;
}
public String getPeriod() {
return this.period;
}
public GetDefaultChildResponseBodyBindStudents setStaffId(String staffId) {
this.staffId = staffId;
return this;
}
public String getStaffId() {
return this.staffId;
}
}
}