
com.lark.oapi.service.hire.v1.model.ExternalApplication Maven / Gradle / Ivy
// Code generated by lark suite oapi sdk gen
/*
* MIT License
*
* Copyright (c) 2022 Lark Technologies Pte. Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package com.lark.oapi.service.hire.v1.model;
import com.lark.oapi.core.response.EmptyData;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.SerializedName;
import com.lark.oapi.core.annotation.Body;
import com.lark.oapi.core.annotation.Path;
import com.lark.oapi.core.annotation.Query;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import com.lark.oapi.core.utils.Strings;
import com.lark.oapi.core.response.BaseResponse;
public class ExternalApplication {
/**
* 外部投递 ID
* 示例值:6989202908470446380
*/
@SerializedName("id")
private String id;
/**
* 外部系统投递主键 (仅用于幂等)
*
示例值:123
*/
@SerializedName("external_id")
private String externalId;
/**
* 职位招聘类型
*
示例值:1
*/
@SerializedName("job_recruitment_type")
private Integer jobRecruitmentType;
/**
* 职位名称
*
示例值:高级Java
*/
@SerializedName("job_title")
private String jobTitle;
/**
* 简历来源
*
示例值:lagou
*/
@SerializedName("resume_source")
private String resumeSource;
/**
* 阶段
*
示例值:1
*/
@SerializedName("stage")
private String stage;
/**
* 人才 ID
*
示例值:6960663240925956459
*/
@SerializedName("talent_id")
private String talentId;
/**
* 终止原因
*
示例值:不合适
*/
@SerializedName("termination_reason")
private String terminationReason;
/**
* 投递类型
*
示例值:1
*/
@SerializedName("delivery_type")
private Integer deliveryType;
/**
* 更新时间
*
示例值:1618500278645
*/
@SerializedName("modify_time")
private Integer modifyTime;
/**
* 投递在外部系统创建时间
*
示例值:1618500278644
*/
@SerializedName("create_time")
private Integer createTime;
/**
* 终止类型
*
示例值:health
*/
@SerializedName("termination_type")
private String terminationType;
// builder 开始
public ExternalApplication() {
}
public ExternalApplication(Builder builder) {
/**
* 外部投递 ID
*
示例值:6989202908470446380
*/
this.id = builder.id;
/**
* 外部系统投递主键 (仅用于幂等)
*
示例值:123
*/
this.externalId = builder.externalId;
/**
* 职位招聘类型
*
示例值:1
*/
this.jobRecruitmentType = builder.jobRecruitmentType;
/**
* 职位名称
*
示例值:高级Java
*/
this.jobTitle = builder.jobTitle;
/**
* 简历来源
*
示例值:lagou
*/
this.resumeSource = builder.resumeSource;
/**
* 阶段
*
示例值:1
*/
this.stage = builder.stage;
/**
* 人才 ID
*
示例值:6960663240925956459
*/
this.talentId = builder.talentId;
/**
* 终止原因
*
示例值:不合适
*/
this.terminationReason = builder.terminationReason;
/**
* 投递类型
*
示例值:1
*/
this.deliveryType = builder.deliveryType;
/**
* 更新时间
*
示例值:1618500278645
*/
this.modifyTime = builder.modifyTime;
/**
* 投递在外部系统创建时间
*
示例值:1618500278644
*/
this.createTime = builder.createTime;
/**
* 终止类型
*
示例值:health
*/
this.terminationType = builder.terminationType;
}
public static Builder newBuilder() {
return new Builder();
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getExternalId() {
return this.externalId;
}
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public Integer getJobRecruitmentType() {
return this.jobRecruitmentType;
}
public void setJobRecruitmentType(Integer jobRecruitmentType) {
this.jobRecruitmentType = jobRecruitmentType;
}
public String getJobTitle() {
return this.jobTitle;
}
public void setJobTitle(String jobTitle) {
this.jobTitle = jobTitle;
}
public String getResumeSource() {
return this.resumeSource;
}
public void setResumeSource(String resumeSource) {
this.resumeSource = resumeSource;
}
public String getStage() {
return this.stage;
}
public void setStage(String stage) {
this.stage = stage;
}
public String getTalentId() {
return this.talentId;
}
public void setTalentId(String talentId) {
this.talentId = talentId;
}
public String getTerminationReason() {
return this.terminationReason;
}
public void setTerminationReason(String terminationReason) {
this.terminationReason = terminationReason;
}
public Integer getDeliveryType() {
return this.deliveryType;
}
public void setDeliveryType(Integer deliveryType) {
this.deliveryType = deliveryType;
}
public Integer getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Integer modifyTime) {
this.modifyTime = modifyTime;
}
public Integer getCreateTime() {
return this.createTime;
}
public void setCreateTime(Integer createTime) {
this.createTime = createTime;
}
public String getTerminationType() {
return this.terminationType;
}
public void setTerminationType(String terminationType) {
this.terminationType = terminationType;
}
public static class Builder {
/**
* 外部投递 ID
*
示例值:6989202908470446380
*/
private String id;
/**
* 外部系统投递主键 (仅用于幂等)
*
示例值:123
*/
private String externalId;
/**
* 职位招聘类型
*
示例值:1
*/
private Integer jobRecruitmentType;
/**
* 职位名称
*
示例值:高级Java
*/
private String jobTitle;
/**
* 简历来源
*
示例值:lagou
*/
private String resumeSource;
/**
* 阶段
*
示例值:1
*/
private String stage;
/**
* 人才 ID
*
示例值:6960663240925956459
*/
private String talentId;
/**
* 终止原因
*
示例值:不合适
*/
private String terminationReason;
/**
* 投递类型
*
示例值:1
*/
private Integer deliveryType;
/**
* 更新时间
*
示例值:1618500278645
*/
private Integer modifyTime;
/**
* 投递在外部系统创建时间
*
示例值:1618500278644
*/
private Integer createTime;
/**
* 终止类型
*
示例值:health
*/
private String terminationType;
/**
* 外部投递 ID
*
示例值:6989202908470446380
*
* @param id
* @return
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* 外部系统投递主键 (仅用于幂等)
*
示例值:123
*
* @param externalId
* @return
*/
public Builder externalId(String externalId) {
this.externalId = externalId;
return this;
}
/**
* 职位招聘类型
*
示例值:1
*
* @param jobRecruitmentType
* @return
*/
public Builder jobRecruitmentType(Integer jobRecruitmentType) {
this.jobRecruitmentType = jobRecruitmentType;
return this;
}
/**
* 职位名称
*
示例值:高级Java
*
* @param jobTitle
* @return
*/
public Builder jobTitle(String jobTitle) {
this.jobTitle = jobTitle;
return this;
}
/**
* 简历来源
*
示例值:lagou
*
* @param resumeSource
* @return
*/
public Builder resumeSource(String resumeSource) {
this.resumeSource = resumeSource;
return this;
}
/**
* 阶段
*
示例值:1
*
* @param stage
* @return
*/
public Builder stage(String stage) {
this.stage = stage;
return this;
}
/**
* 人才 ID
*
示例值:6960663240925956459
*
* @param talentId
* @return
*/
public Builder talentId(String talentId) {
this.talentId = talentId;
return this;
}
/**
* 终止原因
*
示例值:不合适
*
* @param terminationReason
* @return
*/
public Builder terminationReason(String terminationReason) {
this.terminationReason = terminationReason;
return this;
}
/**
* 投递类型
*
示例值:1
*
* @param deliveryType
* @return
*/
public Builder deliveryType(Integer deliveryType) {
this.deliveryType = deliveryType;
return this;
}
/**
* 更新时间
*
示例值:1618500278645
*
* @param modifyTime
* @return
*/
public Builder modifyTime(Integer modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* 投递在外部系统创建时间
*
示例值:1618500278644
*
* @param createTime
* @return
*/
public Builder createTime(Integer createTime) {
this.createTime = createTime;
return this;
}
/**
* 终止类型
*
示例值:health
*
* @param terminationType
* @return
*/
public Builder terminationType(String terminationType) {
this.terminationType = terminationType;
return this;
}
public ExternalApplication build() {
return new ExternalApplication(this);
}
}
}