com.lark.oapi.service.hire.v1.model.AppliTalentEducationInfo Maven / Gradle / Ivy
Show all versions of oapi-sdk Show documentation
// 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 AppliTalentEducationInfo {
/**
* ID
* 示例值:
*/
@SerializedName("id")
private String id;
/**
* 学历
*
示例值:
*/
@SerializedName("degree")
private Integer degree;
/**
* 学校
*
示例值:
*/
@SerializedName("school")
private String school;
/**
* 专业
*
示例值:
*/
@SerializedName("field_of_study")
private String fieldOfStudy;
/**
* 开始时间
*
示例值:
*/
@SerializedName("start_time")
private String startTime;
/**
* 结束时间
*
示例值:
*/
@SerializedName("end_time")
private String endTime;
/**
* 学历类型
*
示例值:
*/
@SerializedName("education_type")
private Integer educationType;
/**
* 排名
*
示例值:
*/
@SerializedName("academic_ranking")
private Integer academicRanking;
/**
* 标签列表
*
示例值:
*/
@SerializedName("tag_list")
private Integer[] tagList;
// builder 开始
public AppliTalentEducationInfo() {
}
public AppliTalentEducationInfo(Builder builder) {
/**
* ID
*
示例值:
*/
this.id = builder.id;
/**
* 学历
*
示例值:
*/
this.degree = builder.degree;
/**
* 学校
*
示例值:
*/
this.school = builder.school;
/**
* 专业
*
示例值:
*/
this.fieldOfStudy = builder.fieldOfStudy;
/**
* 开始时间
*
示例值:
*/
this.startTime = builder.startTime;
/**
* 结束时间
*
示例值:
*/
this.endTime = builder.endTime;
/**
* 学历类型
*
示例值:
*/
this.educationType = builder.educationType;
/**
* 排名
*
示例值:
*/
this.academicRanking = builder.academicRanking;
/**
* 标签列表
*
示例值:
*/
this.tagList = builder.tagList;
}
public static Builder newBuilder() {
return new Builder();
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Integer getDegree() {
return this.degree;
}
public void setDegree(Integer degree) {
this.degree = degree;
}
public String getSchool() {
return this.school;
}
public void setSchool(String school) {
this.school = school;
}
public String getFieldOfStudy() {
return this.fieldOfStudy;
}
public void setFieldOfStudy(String fieldOfStudy) {
this.fieldOfStudy = fieldOfStudy;
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public Integer getEducationType() {
return this.educationType;
}
public void setEducationType(Integer educationType) {
this.educationType = educationType;
}
public Integer getAcademicRanking() {
return this.academicRanking;
}
public void setAcademicRanking(Integer academicRanking) {
this.academicRanking = academicRanking;
}
public Integer[] getTagList() {
return this.tagList;
}
public void setTagList(Integer[] tagList) {
this.tagList = tagList;
}
public static class Builder {
/**
* ID
*
示例值:
*/
private String id;
/**
* 学历
*
示例值:
*/
private Integer degree;
/**
* 学校
*
示例值:
*/
private String school;
/**
* 专业
*
示例值:
*/
private String fieldOfStudy;
/**
* 开始时间
*
示例值:
*/
private String startTime;
/**
* 结束时间
*
示例值:
*/
private String endTime;
/**
* 学历类型
*
示例值:
*/
private Integer educationType;
/**
* 排名
*
示例值:
*/
private Integer academicRanking;
/**
* 标签列表
*
示例值:
*/
private Integer[] tagList;
/**
* ID
*
示例值:
*
* @param id
* @return
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* 学历
*
示例值:
*
* @param degree
* @return
*/
public Builder degree(Integer degree) {
this.degree = degree;
return this;
}
/**
* 学校
*
示例值:
*
* @param school
* @return
*/
public Builder school(String school) {
this.school = school;
return this;
}
/**
* 专业
*
示例值:
*
* @param fieldOfStudy
* @return
*/
public Builder fieldOfStudy(String fieldOfStudy) {
this.fieldOfStudy = fieldOfStudy;
return this;
}
/**
* 开始时间
*
示例值:
*
* @param startTime
* @return
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* 结束时间
*
示例值:
*
* @param endTime
* @return
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* 学历类型
*
示例值:
*
* @param educationType
* @return
*/
public Builder educationType(Integer educationType) {
this.educationType = educationType;
return this;
}
/**
* 排名
*
示例值:
*
* @param academicRanking
* @return
*/
public Builder academicRanking(Integer academicRanking) {
this.academicRanking = academicRanking;
return this;
}
/**
* 标签列表
*
示例值:
*
* @param tagList
* @return
*/
public Builder tagList(Integer[] tagList) {
this.tagList = tagList;
return this;
}
public AppliTalentEducationInfo build() {
return new AppliTalentEducationInfo(this);
}
}
}