com.lark.oapi.service.hire.v1.model.ModuleAssessment 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 ModuleAssessment {
/**
* 对应面试评价表中模块 ID
* 示例值:7171693733661327361
*/
@SerializedName("interview_feedback_form_module_id")
private String interviewFeedbackFormModuleId;
/**
* 模块名称
*
示例值:
*/
@SerializedName("module_name")
private I18n moduleName;
/**
* 模块类型
*
示例值:
*/
@SerializedName("module_type")
private Integer moduleType;
/**
* 模块权重
*
示例值:10
*/
@SerializedName("module_weight")
private Double moduleWeight;
/**
* 模块打分
*
示例值:10
*/
@SerializedName("module_score")
private Double moduleScore;
/**
* 模块评价
*
示例值:
*/
@SerializedName("dimension_assessments")
private DimensionAssessment[] dimensionAssessments;
// builder 开始
public ModuleAssessment() {
}
public ModuleAssessment(Builder builder) {
/**
* 对应面试评价表中模块 ID
*
示例值:7171693733661327361
*/
this.interviewFeedbackFormModuleId = builder.interviewFeedbackFormModuleId;
/**
* 模块名称
*
示例值:
*/
this.moduleName = builder.moduleName;
/**
* 模块类型
*
示例值:
*/
this.moduleType = builder.moduleType;
/**
* 模块权重
*
示例值:10
*/
this.moduleWeight = builder.moduleWeight;
/**
* 模块打分
*
示例值:10
*/
this.moduleScore = builder.moduleScore;
/**
* 模块评价
*
示例值:
*/
this.dimensionAssessments = builder.dimensionAssessments;
}
public static Builder newBuilder() {
return new Builder();
}
public String getInterviewFeedbackFormModuleId() {
return this.interviewFeedbackFormModuleId;
}
public void setInterviewFeedbackFormModuleId(String interviewFeedbackFormModuleId) {
this.interviewFeedbackFormModuleId = interviewFeedbackFormModuleId;
}
public I18n getModuleName() {
return this.moduleName;
}
public void setModuleName(I18n moduleName) {
this.moduleName = moduleName;
}
public Integer getModuleType() {
return this.moduleType;
}
public void setModuleType(Integer moduleType) {
this.moduleType = moduleType;
}
public Double getModuleWeight() {
return this.moduleWeight;
}
public void setModuleWeight(Double moduleWeight) {
this.moduleWeight = moduleWeight;
}
public Double getModuleScore() {
return this.moduleScore;
}
public void setModuleScore(Double moduleScore) {
this.moduleScore = moduleScore;
}
public DimensionAssessment[] getDimensionAssessments() {
return this.dimensionAssessments;
}
public void setDimensionAssessments(DimensionAssessment[] dimensionAssessments) {
this.dimensionAssessments = dimensionAssessments;
}
public static class Builder {
/**
* 对应面试评价表中模块 ID
*
示例值:7171693733661327361
*/
private String interviewFeedbackFormModuleId;
/**
* 模块名称
*
示例值:
*/
private I18n moduleName;
/**
* 模块类型
*
示例值:
*/
private Integer moduleType;
/**
* 模块权重
*
示例值:10
*/
private Double moduleWeight;
/**
* 模块打分
*
示例值:10
*/
private Double moduleScore;
/**
* 模块评价
*
示例值:
*/
private DimensionAssessment[] dimensionAssessments;
/**
* 对应面试评价表中模块 ID
*
示例值:7171693733661327361
*
* @param interviewFeedbackFormModuleId
* @return
*/
public Builder interviewFeedbackFormModuleId(String interviewFeedbackFormModuleId) {
this.interviewFeedbackFormModuleId = interviewFeedbackFormModuleId;
return this;
}
/**
* 模块名称
*
示例值:
*
* @param moduleName
* @return
*/
public Builder moduleName(I18n moduleName) {
this.moduleName = moduleName;
return this;
}
/**
* 模块类型
*
示例值:
*
* @param moduleType
* @return
*/
public Builder moduleType(Integer moduleType) {
this.moduleType = moduleType;
return this;
}
/**
* 模块权重
*
示例值:10
*
* @param moduleWeight
* @return
*/
public Builder moduleWeight(Double moduleWeight) {
this.moduleWeight = moduleWeight;
return this;
}
/**
* 模块打分
*
示例值:10
*
* @param moduleScore
* @return
*/
public Builder moduleScore(Double moduleScore) {
this.moduleScore = moduleScore;
return this;
}
/**
* 模块评价
*
示例值:
*
* @param dimensionAssessments
* @return
*/
public Builder dimensionAssessments(DimensionAssessment[] dimensionAssessments) {
this.dimensionAssessments = dimensionAssessments;
return this;
}
public ModuleAssessment build() {
return new ModuleAssessment(this);
}
}
}