com.aliyun.dingtalkhrm_1_0.models.AddHrmPreentryRequest 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.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;
/**
* This parameter is required.
*/
@NameInMap("mobile")
public String mobile;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
@NameInMap("needSendPreEntryMsg")
public Boolean needSendPreEntryMsg;
@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 setNeedSendPreEntryMsg(Boolean needSendPreEntryMsg) {
this.needSendPreEntryMsg = needSendPreEntryMsg;
return this;
}
public Boolean getNeedSendPreEntryMsg() {
return this.needSendPreEntryMsg;
}
public AddHrmPreentryRequest setPreEntryTime(Long preEntryTime) {
this.preEntryTime = preEntryTime;
return this;
}
public Long getPreEntryTime() {
return this.preEntryTime;
}
public static class AddHrmPreentryRequestGroupsSectionsEmpFieldVOList extends TeaModel {
/**
* example:
* sys01-birthTime
*/
@NameInMap("fieldCode")
public String fieldCode;
/**
* example:
* 2020-10-10
*/
@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;
/**
* example:
* 0
*/
@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 {
/**
* example:
* sys01
*/
@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;
}
}
}