All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lark.oapi.service.hire.v1.model.ExternalOffer 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 ExternalOffer {
    /**
     * 外部 Offer ID
     * 

示例值:6989202908470446380 */ @SerializedName("id") private String id; /** * 外部系统 Offer 主键(仅用于幂等) *

示例值:123 */ @SerializedName("external_id") private String externalId; /** * 外部投递 ID *

示例值:7395015673275697419 */ @SerializedName("external_application_id") private String externalApplicationId; /** * Offer 创建时间,毫秒时间戳 *

示例值:1721899352428 */ @SerializedName("biz_create_time") private String bizCreateTime; /** * Offer 负责人 *

示例值:张三 */ @SerializedName("owner") private String owner; /** * Offer 创建人 *

示例值:张三 */ @SerializedName("creator") private String creator; /** * Offer 状态 *

示例值:已发送 */ @SerializedName("offer_status") private String offerStatus; /** * Offer详情附件ID列表 *

示例值: */ @SerializedName("attachment_id_list") private String[] attachmentIdList; /** * Offer 附件列表 *

示例值: */ @SerializedName("attachment_list") private ExternalCommonAttachment[] attachmentList; // builder 开始 public ExternalOffer() { } public ExternalOffer(Builder builder) { /** * 外部 Offer ID *

示例值:6989202908470446380 */ this.id = builder.id; /** * 外部系统 Offer 主键(仅用于幂等) *

示例值:123 */ this.externalId = builder.externalId; /** * 外部投递 ID *

示例值:7395015673275697419 */ this.externalApplicationId = builder.externalApplicationId; /** * Offer 创建时间,毫秒时间戳 *

示例值:1721899352428 */ this.bizCreateTime = builder.bizCreateTime; /** * Offer 负责人 *

示例值:张三 */ this.owner = builder.owner; /** * Offer 创建人 *

示例值:张三 */ this.creator = builder.creator; /** * Offer 状态 *

示例值:已发送 */ this.offerStatus = builder.offerStatus; /** * Offer详情附件ID列表 *

示例值: */ this.attachmentIdList = builder.attachmentIdList; /** * Offer 附件列表 *

示例值: */ this.attachmentList = builder.attachmentList; } 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 String getExternalApplicationId() { return this.externalApplicationId; } public void setExternalApplicationId(String externalApplicationId) { this.externalApplicationId = externalApplicationId; } public String getBizCreateTime() { return this.bizCreateTime; } public void setBizCreateTime(String bizCreateTime) { this.bizCreateTime = bizCreateTime; } public String getOwner() { return this.owner; } public void setOwner(String owner) { this.owner = owner; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public String getOfferStatus() { return this.offerStatus; } public void setOfferStatus(String offerStatus) { this.offerStatus = offerStatus; } public String[] getAttachmentIdList() { return this.attachmentIdList; } public void setAttachmentIdList(String[] attachmentIdList) { this.attachmentIdList = attachmentIdList; } public ExternalCommonAttachment[] getAttachmentList() { return this.attachmentList; } public void setAttachmentList(ExternalCommonAttachment[] attachmentList) { this.attachmentList = attachmentList; } public static class Builder { /** * 外部 Offer ID *

示例值:6989202908470446380 */ private String id; /** * 外部系统 Offer 主键(仅用于幂等) *

示例值:123 */ private String externalId; /** * 外部投递 ID *

示例值:7395015673275697419 */ private String externalApplicationId; /** * Offer 创建时间,毫秒时间戳 *

示例值:1721899352428 */ private String bizCreateTime; /** * Offer 负责人 *

示例值:张三 */ private String owner; /** * Offer 创建人 *

示例值:张三 */ private String creator; /** * Offer 状态 *

示例值:已发送 */ private String offerStatus; /** * Offer详情附件ID列表 *

示例值: */ private String[] attachmentIdList; /** * Offer 附件列表 *

示例值: */ private ExternalCommonAttachment[] attachmentList; /** * 外部 Offer ID *

示例值:6989202908470446380 * * @param id * @return */ public Builder id(String id) { this.id = id; return this; } /** * 外部系统 Offer 主键(仅用于幂等) *

示例值:123 * * @param externalId * @return */ public Builder externalId(String externalId) { this.externalId = externalId; return this; } /** * 外部投递 ID *

示例值:7395015673275697419 * * @param externalApplicationId * @return */ public Builder externalApplicationId(String externalApplicationId) { this.externalApplicationId = externalApplicationId; return this; } /** * Offer 创建时间,毫秒时间戳 *

示例值:1721899352428 * * @param bizCreateTime * @return */ public Builder bizCreateTime(String bizCreateTime) { this.bizCreateTime = bizCreateTime; return this; } /** * Offer 负责人 *

示例值:张三 * * @param owner * @return */ public Builder owner(String owner) { this.owner = owner; return this; } /** * Offer 创建人 *

示例值:张三 * * @param creator * @return */ public Builder creator(String creator) { this.creator = creator; return this; } /** * Offer 状态 *

示例值:已发送 * * @param offerStatus * @return */ public Builder offerStatus(String offerStatus) { this.offerStatus = offerStatus; return this; } /** * Offer详情附件ID列表 *

示例值: * * @param attachmentIdList * @return */ public Builder attachmentIdList(String[] attachmentIdList) { this.attachmentIdList = attachmentIdList; return this; } /** * Offer 附件列表 *

示例值: * * @param attachmentList * @return */ public Builder attachmentList(ExternalCommonAttachment[] attachmentList) { this.attachmentList = attachmentList; return this; } public ExternalOffer build() { return new ExternalOffer(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy