
com.lark.oapi.service.ehr.v1.model.WorkExperience 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.ehr.v1.model;
import com.lark.oapi.core.response.EmptyData;
import com.lark.oapi.service.ehr.v1.enums.*;
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 WorkExperience {
/**
* 公司
* 示例值:XXXX公司
*/
@SerializedName("company")
private String company;
/**
* 部门
*
示例值:部门1
*/
@SerializedName("department")
private String department;
/**
* 职位
*
示例值:职位
*/
@SerializedName("job")
private String job;
/**
* 开始日期
*
示例值:2020-01-01
*/
@SerializedName("start")
private String start;
/**
* 截止日期
*
示例值:2020-01-01
*/
@SerializedName("end")
private String end;
/**
* 工作描述
*
示例值:工作描述
*/
@SerializedName("description")
private String description;
// builder 开始
public WorkExperience() {
}
public WorkExperience(Builder builder) {
/**
* 公司
*
示例值:XXXX公司
*/
this.company = builder.company;
/**
* 部门
*
示例值:部门1
*/
this.department = builder.department;
/**
* 职位
*
示例值:职位
*/
this.job = builder.job;
/**
* 开始日期
*
示例值:2020-01-01
*/
this.start = builder.start;
/**
* 截止日期
*
示例值:2020-01-01
*/
this.end = builder.end;
/**
* 工作描述
*
示例值:工作描述
*/
this.description = builder.description;
}
public static Builder newBuilder() {
return new Builder();
}
public String getCompany() {
return this.company;
}
public void setCompany(String company) {
this.company = company;
}
public String getDepartment() {
return this.department;
}
public void setDepartment(String department) {
this.department = department;
}
public String getJob() {
return this.job;
}
public void setJob(String job) {
this.job = job;
}
public String getStart() {
return this.start;
}
public void setStart(String start) {
this.start = start;
}
public String getEnd() {
return this.end;
}
public void setEnd(String end) {
this.end = end;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public static class Builder {
/**
* 公司
*
示例值:XXXX公司
*/
private String company;
/**
* 部门
*
示例值:部门1
*/
private String department;
/**
* 职位
*
示例值:职位
*/
private String job;
/**
* 开始日期
*
示例值:2020-01-01
*/
private String start;
/**
* 截止日期
*
示例值:2020-01-01
*/
private String end;
/**
* 工作描述
*
示例值:工作描述
*/
private String description;
/**
* 公司
*
示例值:XXXX公司
*
* @param company
* @return
*/
public Builder company(String company) {
this.company = company;
return this;
}
/**
* 部门
*
示例值:部门1
*
* @param department
* @return
*/
public Builder department(String department) {
this.department = department;
return this;
}
/**
* 职位
*
示例值:职位
*
* @param job
* @return
*/
public Builder job(String job) {
this.job = job;
return this;
}
/**
* 开始日期
*
示例值:2020-01-01
*
* @param start
* @return
*/
public Builder start(String start) {
this.start = start;
return this;
}
/**
* 截止日期
*
示例值:2020-01-01
*
* @param end
* @return
*/
public Builder end(String end) {
this.end = end;
return this;
}
/**
* 工作描述
*
示例值:工作描述
*
* @param description
* @return
*/
public Builder description(String description) {
this.description = description;
return this;
}
public WorkExperience build() {
return new WorkExperience(this);
}
}
}