com.lark.oapi.service.hire.v1.model.ApplicationJob 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 ApplicationJob {
/**
* ID
* 示例值:
*/
@SerializedName("id")
private String id;
/**
* 职称
*
示例值:
*/
@SerializedName("title")
private String title;
/**
* 城市
*
示例值:
*/
@SerializedName("city")
private City city;
/**
* 部门
*
示例值:
*/
@SerializedName("department")
private Department department;
/**
* 招聘类型
*
示例值:
*/
@SerializedName("recruitment_type")
private RecruitmentType recruitmentType;
/**
* 描述
*
示例值:
*/
@SerializedName("description")
private String description;
/**
* 岗位流程编号
*
示例值:
*/
@SerializedName("job_process_id")
private String jobProcessId;
/**
* 编码
*
示例值:
*/
@SerializedName("code")
private String code;
/**
* 地址
*
示例值:
*/
@SerializedName("address")
private ApplicationJobAddress address;
/**
* 国家
*
示例值:
*/
@SerializedName("country")
private Country country;
// builder 开始
public ApplicationJob() {
}
public ApplicationJob(Builder builder) {
/**
* ID
*
示例值:
*/
this.id = builder.id;
/**
* 职称
*
示例值:
*/
this.title = builder.title;
/**
* 城市
*
示例值:
*/
this.city = builder.city;
/**
* 部门
*
示例值:
*/
this.department = builder.department;
/**
* 招聘类型
*
示例值:
*/
this.recruitmentType = builder.recruitmentType;
/**
* 描述
*
示例值:
*/
this.description = builder.description;
/**
* 岗位流程编号
*
示例值:
*/
this.jobProcessId = builder.jobProcessId;
/**
* 编码
*
示例值:
*/
this.code = builder.code;
/**
* 地址
*
示例值:
*/
this.address = builder.address;
/**
* 国家
*
示例值:
*/
this.country = builder.country;
}
public static Builder newBuilder() {
return new Builder();
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public City getCity() {
return this.city;
}
public void setCity(City city) {
this.city = city;
}
public Department getDepartment() {
return this.department;
}
public void setDepartment(Department department) {
this.department = department;
}
public RecruitmentType getRecruitmentType() {
return this.recruitmentType;
}
public void setRecruitmentType(RecruitmentType recruitmentType) {
this.recruitmentType = recruitmentType;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getJobProcessId() {
return this.jobProcessId;
}
public void setJobProcessId(String jobProcessId) {
this.jobProcessId = jobProcessId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public ApplicationJobAddress getAddress() {
return this.address;
}
public void setAddress(ApplicationJobAddress address) {
this.address = address;
}
public Country getCountry() {
return this.country;
}
public void setCountry(Country country) {
this.country = country;
}
public static class Builder {
/**
* ID
*
示例值:
*/
private String id;
/**
* 职称
*
示例值:
*/
private String title;
/**
* 城市
*
示例值:
*/
private City city;
/**
* 部门
*
示例值:
*/
private Department department;
/**
* 招聘类型
*
示例值:
*/
private RecruitmentType recruitmentType;
/**
* 描述
*
示例值:
*/
private String description;
/**
* 岗位流程编号
*
示例值:
*/
private String jobProcessId;
/**
* 编码
*
示例值:
*/
private String code;
/**
* 地址
*
示例值:
*/
private ApplicationJobAddress address;
/**
* 国家
*
示例值:
*/
private Country country;
/**
* ID
*
示例值:
*
* @param id
* @return
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* 职称
*
示例值:
*
* @param title
* @return
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* 城市
*
示例值:
*
* @param city
* @return
*/
public Builder city(City city) {
this.city = city;
return this;
}
/**
* 部门
*
示例值:
*
* @param department
* @return
*/
public Builder department(Department department) {
this.department = department;
return this;
}
/**
* 招聘类型
*
示例值:
*
* @param recruitmentType
* @return
*/
public Builder recruitmentType(RecruitmentType recruitmentType) {
this.recruitmentType = recruitmentType;
return this;
}
/**
* 描述
*
示例值:
*
* @param description
* @return
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* 岗位流程编号
*
示例值:
*
* @param jobProcessId
* @return
*/
public Builder jobProcessId(String jobProcessId) {
this.jobProcessId = jobProcessId;
return this;
}
/**
* 编码
*
示例值:
*
* @param code
* @return
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* 地址
*
示例值:
*
* @param address
* @return
*/
public Builder address(ApplicationJobAddress address) {
this.address = address;
return this;
}
/**
* 国家
*
示例值:
*
* @param country
* @return
*/
public Builder country(Country country) {
this.country = country;
return this;
}
public ApplicationJob build() {
return new ApplicationJob(this);
}
}
}