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

com.lark.oapi.service.docs.v1.model.Meta 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.docs.v1.model;

import com.lark.oapi.core.response.EmptyData;
import com.lark.oapi.service.docs.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 Meta {
    /**
     * 文档 Token
     * 

示例值:doccnfYZzTlvXqZIGTdAHKabcef */ @SerializedName("doc_token") private String docToken; /** * 文档类型 *

示例值:docx */ @SerializedName("doc_type") private String docType; /** * 标题 *

示例值:sampletitle */ @SerializedName("title") private String title; /** * 文档所有者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ @SerializedName("owner_id") private String ownerId; /** * 最后编辑者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ @SerializedName("latest_modify_user") private String latestModifyUser; /** * 最后编辑时间(Unix 时间戳) *

示例值:1652066345 */ @SerializedName("latest_modify_time") private String latestModifyTime; /** * 文档链接 *

示例值:https://sample.feishu.cn/docs/doccnfYZzTlvXqZIGTdAHKabcef */ @SerializedName("url") private String url; /** * 文档密级标签名称 *

示例值:L2-内部 */ @SerializedName("sec_label_name") private String secLabelName; // builder 开始 public Meta() { } public Meta(Builder builder) { /** * 文档 Token *

示例值:doccnfYZzTlvXqZIGTdAHKabcef */ this.docToken = builder.docToken; /** * 文档类型 *

示例值:docx */ this.docType = builder.docType; /** * 标题 *

示例值:sampletitle */ this.title = builder.title; /** * 文档所有者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ this.ownerId = builder.ownerId; /** * 最后编辑者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ this.latestModifyUser = builder.latestModifyUser; /** * 最后编辑时间(Unix 时间戳) *

示例值:1652066345 */ this.latestModifyTime = builder.latestModifyTime; /** * 文档链接 *

示例值:https://sample.feishu.cn/docs/doccnfYZzTlvXqZIGTdAHKabcef */ this.url = builder.url; /** * 文档密级标签名称 *

示例值:L2-内部 */ this.secLabelName = builder.secLabelName; } public static Builder newBuilder() { return new Builder(); } public String getDocToken() { return this.docToken; } public void setDocToken(String docToken) { this.docToken = docToken; } public String getDocType() { return this.docType; } public void setDocType(String docType) { this.docType = docType; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public String getOwnerId() { return this.ownerId; } public void setOwnerId(String ownerId) { this.ownerId = ownerId; } public String getLatestModifyUser() { return this.latestModifyUser; } public void setLatestModifyUser(String latestModifyUser) { this.latestModifyUser = latestModifyUser; } public String getLatestModifyTime() { return this.latestModifyTime; } public void setLatestModifyTime(String latestModifyTime) { this.latestModifyTime = latestModifyTime; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getSecLabelName() { return this.secLabelName; } public void setSecLabelName(String secLabelName) { this.secLabelName = secLabelName; } public static class Builder { /** * 文档 Token *

示例值:doccnfYZzTlvXqZIGTdAHKabcef */ private String docToken; /** * 文档类型 *

示例值:docx */ private String docType; /** * 标题 *

示例值:sampletitle */ private String title; /** * 文档所有者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ private String ownerId; /** * 最后编辑者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef */ private String latestModifyUser; /** * 最后编辑时间(Unix 时间戳) *

示例值:1652066345 */ private String latestModifyTime; /** * 文档链接 *

示例值:https://sample.feishu.cn/docs/doccnfYZzTlvXqZIGTdAHKabcef */ private String url; /** * 文档密级标签名称 *

示例值:L2-内部 */ private String secLabelName; /** * 文档 Token *

示例值:doccnfYZzTlvXqZIGTdAHKabcef * * @param docToken * @return */ public Builder docToken(String docToken) { this.docToken = docToken; return this; } /** * 文档类型 *

示例值:docx * * @param docType * @return */ public Builder docType(String docType) { this.docType = docType; return this; } /** * 标题 *

示例值:sampletitle * * @param title * @return */ public Builder title(String title) { this.title = title; return this; } /** * 文档所有者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef * * @param ownerId * @return */ public Builder ownerId(String ownerId) { this.ownerId = ownerId; return this; } /** * 最后编辑者 *

示例值:ou_b13d41c02edc52ce66aaae67bf1abcef * * @param latestModifyUser * @return */ public Builder latestModifyUser(String latestModifyUser) { this.latestModifyUser = latestModifyUser; return this; } /** * 最后编辑时间(Unix 时间戳) *

示例值:1652066345 * * @param latestModifyTime * @return */ public Builder latestModifyTime(String latestModifyTime) { this.latestModifyTime = latestModifyTime; return this; } /** * 文档链接 *

示例值:https://sample.feishu.cn/docs/doccnfYZzTlvXqZIGTdAHKabcef * * @param url * @return */ public Builder url(String url) { this.url = url; return this; } /** * 文档密级标签名称 *

示例值:L2-内部 * * @param secLabelName * @return */ public Builder secLabelName(String secLabelName) { this.secLabelName = secLabelName; return this; } public Meta build() { return new Meta(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy