All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkhrm_1_0.models.CreateRecordRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkhrm_1_0.models;

import com.aliyun.tea.*;

public class CreateRecordRequest extends TeaModel {
    @NameInMap("attachmentList")
    public java.util.List attachmentList;

    /**
     * example:
     * 

908608088

*/ @NameInMap("deptId") public Long deptId; @NameInMap("fieldList") public java.util.List fieldList; @NameInMap("groupList") public java.util.List groupList; /** * example: *

xxx员工劳动合同电子签署

*/ @NameInMap("remark") public String remark; /** * example: *

xxx有限公司

*/ @NameInMap("signLastLegalEntityName") public String signLastLegalEntityName; /** * example: *

xxx有限公司

*/ @NameInMap("signLegalEntityName") public String signLegalEntityName; /** *

This parameter is required.

* * example: *

CONTRACT

*/ @NameInMap("signSource") public String signSource; /** *

This parameter is required.

* * example: *

48510731071405348944

*/ @NameInMap("signStartUserId") public String signStartUserId; /** *

This parameter is required.

* * example: *

660658

*/ @NameInMap("signUserId") public String signUserId; /** *

This parameter is required.

* * example: *

9ad11eb3daa24a9692037079e0732f13

*/ @NameInMap("templateId") public String templateId; public static CreateRecordRequest build(java.util.Map map) throws Exception { CreateRecordRequest self = new CreateRecordRequest(); return TeaModel.build(map, self); } public CreateRecordRequest setAttachmentList(java.util.List attachmentList) { this.attachmentList = attachmentList; return this; } public java.util.List getAttachmentList() { return this.attachmentList; } public CreateRecordRequest setDeptId(Long deptId) { this.deptId = deptId; return this; } public Long getDeptId() { return this.deptId; } public CreateRecordRequest setFieldList(java.util.List fieldList) { this.fieldList = fieldList; return this; } public java.util.List getFieldList() { return this.fieldList; } public CreateRecordRequest setGroupList(java.util.List groupList) { this.groupList = groupList; return this; } public java.util.List getGroupList() { return this.groupList; } public CreateRecordRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateRecordRequest setSignLastLegalEntityName(String signLastLegalEntityName) { this.signLastLegalEntityName = signLastLegalEntityName; return this; } public String getSignLastLegalEntityName() { return this.signLastLegalEntityName; } public CreateRecordRequest setSignLegalEntityName(String signLegalEntityName) { this.signLegalEntityName = signLegalEntityName; return this; } public String getSignLegalEntityName() { return this.signLegalEntityName; } public CreateRecordRequest setSignSource(String signSource) { this.signSource = signSource; return this; } public String getSignSource() { return this.signSource; } public CreateRecordRequest setSignStartUserId(String signStartUserId) { this.signStartUserId = signStartUserId; return this; } public String getSignStartUserId() { return this.signStartUserId; } public CreateRecordRequest setSignUserId(String signUserId) { this.signUserId = signUserId; return this; } public String getSignUserId() { return this.signUserId; } public CreateRecordRequest setTemplateId(String templateId) { this.templateId = templateId; return this; } public String getTemplateId() { return this.templateId; } public static class CreateRecordRequestAttachmentList extends TeaModel { /** * example: *

attachment_profile

*/ @NameInMap("fieldCode") public String fieldCode; /** * example: *

简历附件

*/ @NameInMap("fieldName") public String fieldName; /** * example: *

DDAttachmentField

*/ @NameInMap("fieldType") public String fieldType; /** * example: *

https://dt-staging-moka-public.oss-cn-zhangjiakou.aliyuncs.com/form/attachment/b32509e4a809cb4e18a72fc4aa75e655.pdf

*/ @NameInMap("fieldValue") public String fieldValue; /** * example: *

attachment

*/ @NameInMap("groupId") public String groupId; public static CreateRecordRequestAttachmentList build(java.util.Map map) throws Exception { CreateRecordRequestAttachmentList self = new CreateRecordRequestAttachmentList(); return TeaModel.build(map, self); } public CreateRecordRequestAttachmentList setFieldCode(String fieldCode) { this.fieldCode = fieldCode; return this; } public String getFieldCode() { return this.fieldCode; } public CreateRecordRequestAttachmentList setFieldName(String fieldName) { this.fieldName = fieldName; return this; } public String getFieldName() { return this.fieldName; } public CreateRecordRequestAttachmentList setFieldType(String fieldType) { this.fieldType = fieldType; return this; } public String getFieldType() { return this.fieldType; } public CreateRecordRequestAttachmentList setFieldValue(String fieldValue) { this.fieldValue = fieldValue; return this; } public String getFieldValue() { return this.fieldValue; } public CreateRecordRequestAttachmentList setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } } public static class CreateRecordRequestFieldList extends TeaModel { /** * example: *

contract.contract_type

*/ @NameInMap("fieldCode") public String fieldCode; /** * example: *

合同类型

*/ @NameInMap("fieldName") public String fieldName; /** * example: *

DDSelectField

*/ @NameInMap("fieldType") public String fieldType; /** * example: *

劳动合同

*/ @NameInMap("fieldValue") public String fieldValue; /** * example: *

contract

*/ @NameInMap("groupId") public String groupId; /** * example: *

劳动合同

*/ @NameInMap("optionId") public String optionId; /** * example: *

[{"label":"劳动合同","value":"劳动合同"},{"label":"保密协议","value":"保密协议"}]

*/ @NameInMap("options") public String options; @NameInMap("signRequired") public Boolean signRequired; @NameInMap("userCustomField") public Boolean userCustomField; public static CreateRecordRequestFieldList build(java.util.Map map) throws Exception { CreateRecordRequestFieldList self = new CreateRecordRequestFieldList(); return TeaModel.build(map, self); } public CreateRecordRequestFieldList setFieldCode(String fieldCode) { this.fieldCode = fieldCode; return this; } public String getFieldCode() { return this.fieldCode; } public CreateRecordRequestFieldList setFieldName(String fieldName) { this.fieldName = fieldName; return this; } public String getFieldName() { return this.fieldName; } public CreateRecordRequestFieldList setFieldType(String fieldType) { this.fieldType = fieldType; return this; } public String getFieldType() { return this.fieldType; } public CreateRecordRequestFieldList setFieldValue(String fieldValue) { this.fieldValue = fieldValue; return this; } public String getFieldValue() { return this.fieldValue; } public CreateRecordRequestFieldList setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public CreateRecordRequestFieldList setOptionId(String optionId) { this.optionId = optionId; return this; } public String getOptionId() { return this.optionId; } public CreateRecordRequestFieldList setOptions(String options) { this.options = options; return this; } public String getOptions() { return this.options; } public CreateRecordRequestFieldList setSignRequired(Boolean signRequired) { this.signRequired = signRequired; return this; } public Boolean getSignRequired() { return this.signRequired; } public CreateRecordRequestFieldList setUserCustomField(Boolean userCustomField) { this.userCustomField = userCustomField; return this; } public Boolean getUserCustomField() { return this.userCustomField; } } public static class CreateRecordRequestGroupListFieldList extends TeaModel { /** * example: *

contract.contract_type

*/ @NameInMap("fieldCode") public String fieldCode; /** * example: *

合同类型

*/ @NameInMap("fieldName") public String fieldName; /** * example: *

DDSelectField

*/ @NameInMap("fieldType") public String fieldType; /** * example: *

劳动合同

*/ @NameInMap("fieldValue") public String fieldValue; /** * example: *

[{"label":"劳动合同","value":"劳动合同"},{"label":"培训协议","value":"培训协议"}]

*/ @NameInMap("options") public String options; /** * example: *

劳动合同

*/ @NameInMap("optionId") public String optionId; /** * example: *

contract

*/ @NameInMap("groupId") public String groupId; public static CreateRecordRequestGroupListFieldList build(java.util.Map map) throws Exception { CreateRecordRequestGroupListFieldList self = new CreateRecordRequestGroupListFieldList(); return TeaModel.build(map, self); } public CreateRecordRequestGroupListFieldList setFieldCode(String fieldCode) { this.fieldCode = fieldCode; return this; } public String getFieldCode() { return this.fieldCode; } public CreateRecordRequestGroupListFieldList setFieldName(String fieldName) { this.fieldName = fieldName; return this; } public String getFieldName() { return this.fieldName; } public CreateRecordRequestGroupListFieldList setFieldType(String fieldType) { this.fieldType = fieldType; return this; } public String getFieldType() { return this.fieldType; } public CreateRecordRequestGroupListFieldList setFieldValue(String fieldValue) { this.fieldValue = fieldValue; return this; } public String getFieldValue() { return this.fieldValue; } public CreateRecordRequestGroupListFieldList setOptions(String options) { this.options = options; return this; } public String getOptions() { return this.options; } public CreateRecordRequestGroupListFieldList setOptionId(String optionId) { this.optionId = optionId; return this; } public String getOptionId() { return this.optionId; } public CreateRecordRequestGroupListFieldList setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } } public static class CreateRecordRequestGroupList extends TeaModel { @NameInMap("detailFlag") public Boolean detailFlag; @NameInMap("fieldList") public java.util.List> fieldList; /** * example: *

family

*/ @NameInMap("groupId") public String groupId; /** * example: *

家庭成员

*/ @NameInMap("groupName") public String groupName; public static CreateRecordRequestGroupList build(java.util.Map map) throws Exception { CreateRecordRequestGroupList self = new CreateRecordRequestGroupList(); return TeaModel.build(map, self); } public CreateRecordRequestGroupList setDetailFlag(Boolean detailFlag) { this.detailFlag = detailFlag; return this; } public Boolean getDetailFlag() { return this.detailFlag; } public CreateRecordRequestGroupList setFieldList(java.util.List> fieldList) { this.fieldList = fieldList; return this; } public java.util.List> getFieldList() { return this.fieldList; } public CreateRecordRequestGroupList setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public CreateRecordRequestGroupList setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy