com.aliyun.dingtalkhrm_1_0.models.AddHrmPreentryRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class AddHrmPreentryRequest extends TeaModel {
@NameInMap("agentId")
public Long agentId;
@NameInMap("groups")
public java.util.List groups;
@NameInMap("mobile")
public String mobile;
@NameInMap("name")
public String name;
@NameInMap("preEntryTime")
public Long preEntryTime;
public static AddHrmPreentryRequest build(java.util.Map map) throws Exception {
AddHrmPreentryRequest self = new AddHrmPreentryRequest();
return TeaModel.build(map, self);
}
public AddHrmPreentryRequest setAgentId(Long agentId) {
this.agentId = agentId;
return this;
}
public Long getAgentId() {
return this.agentId;
}
public AddHrmPreentryRequest setGroups(java.util.List groups) {
this.groups = groups;
return this;
}
public java.util.List getGroups() {
return this.groups;
}
public AddHrmPreentryRequest setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getMobile() {
return this.mobile;
}
public AddHrmPreentryRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddHrmPreentryRequest setPreEntryTime(Long preEntryTime) {
this.preEntryTime = preEntryTime;
return this;
}
public Long getPreEntryTime() {
return this.preEntryTime;
}
public static class AddHrmPreentryRequestGroupsSectionsEmpFieldVOList extends TeaModel {
@NameInMap("fieldCode")
public String fieldCode;
@NameInMap("value")
public String value;
public static AddHrmPreentryRequestGroupsSectionsEmpFieldVOList build(java.util.Map map) throws Exception {
AddHrmPreentryRequestGroupsSectionsEmpFieldVOList self = new AddHrmPreentryRequestGroupsSectionsEmpFieldVOList();
return TeaModel.build(map, self);
}
public AddHrmPreentryRequestGroupsSectionsEmpFieldVOList setFieldCode(String fieldCode) {
this.fieldCode = fieldCode;
return this;
}
public String getFieldCode() {
return this.fieldCode;
}
public AddHrmPreentryRequestGroupsSectionsEmpFieldVOList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class AddHrmPreentryRequestGroupsSections extends TeaModel {
@NameInMap("empFieldVOList")
public java.util.List empFieldVOList;
@NameInMap("oldIndex")
public Integer oldIndex;
public static AddHrmPreentryRequestGroupsSections build(java.util.Map map) throws Exception {
AddHrmPreentryRequestGroupsSections self = new AddHrmPreentryRequestGroupsSections();
return TeaModel.build(map, self);
}
public AddHrmPreentryRequestGroupsSections setEmpFieldVOList(java.util.List empFieldVOList) {
this.empFieldVOList = empFieldVOList;
return this;
}
public java.util.List getEmpFieldVOList() {
return this.empFieldVOList;
}
public AddHrmPreentryRequestGroupsSections setOldIndex(Integer oldIndex) {
this.oldIndex = oldIndex;
return this;
}
public Integer getOldIndex() {
return this.oldIndex;
}
}
public static class AddHrmPreentryRequestGroups extends TeaModel {
@NameInMap("groupId")
public String groupId;
@NameInMap("sections")
public java.util.List sections;
public static AddHrmPreentryRequestGroups build(java.util.Map map) throws Exception {
AddHrmPreentryRequestGroups self = new AddHrmPreentryRequestGroups();
return TeaModel.build(map, self);
}
public AddHrmPreentryRequestGroups setGroupId(String groupId) {
this.groupId = groupId;
return this;
}
public String getGroupId() {
return this.groupId;
}
public AddHrmPreentryRequestGroups setSections(java.util.List sections) {
this.sections = sections;
return this;
}
public java.util.List getSections() {
return this.sections;
}
}
}