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

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

import com.lark.oapi.core.response.EmptyData;
import com.lark.oapi.service.helpdesk.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 Comments {
    /**
     * 备注
     * 

示例值:备注内容 */ @SerializedName("content") private String content; /** * 备注时间,单位毫秒 *

示例值:备注时间 */ @SerializedName("created_at") private Integer createdAt; /** * 备注ID *

示例值:备注id */ @SerializedName("id") private Integer id; /** * 备注人头像 *

示例值:备注人头像 */ @SerializedName("user_avatar_url") private String userAvatarUrl; /** * 备注人姓名 *

示例值:备注人姓名 */ @SerializedName("user_name") private String userName; /** * 备注人ID *

示例值:备注人id */ @SerializedName("user_id") private Integer userId; // builder 开始 public Comments() { } public Comments(Builder builder) { /** * 备注 *

示例值:备注内容 */ this.content = builder.content; /** * 备注时间,单位毫秒 *

示例值:备注时间 */ this.createdAt = builder.createdAt; /** * 备注ID *

示例值:备注id */ this.id = builder.id; /** * 备注人头像 *

示例值:备注人头像 */ this.userAvatarUrl = builder.userAvatarUrl; /** * 备注人姓名 *

示例值:备注人姓名 */ this.userName = builder.userName; /** * 备注人ID *

示例值:备注人id */ this.userId = builder.userId; } public static Builder newBuilder() { return new Builder(); } public String getContent() { return this.content; } public void setContent(String content) { this.content = content; } public Integer getCreatedAt() { return this.createdAt; } public void setCreatedAt(Integer createdAt) { this.createdAt = createdAt; } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getUserAvatarUrl() { return this.userAvatarUrl; } public void setUserAvatarUrl(String userAvatarUrl) { this.userAvatarUrl = userAvatarUrl; } public String getUserName() { return this.userName; } public void setUserName(String userName) { this.userName = userName; } public Integer getUserId() { return this.userId; } public void setUserId(Integer userId) { this.userId = userId; } public static class Builder { /** * 备注 *

示例值:备注内容 */ private String content; /** * 备注时间,单位毫秒 *

示例值:备注时间 */ private Integer createdAt; /** * 备注ID *

示例值:备注id */ private Integer id; /** * 备注人头像 *

示例值:备注人头像 */ private String userAvatarUrl; /** * 备注人姓名 *

示例值:备注人姓名 */ private String userName; /** * 备注人ID *

示例值:备注人id */ private Integer userId; /** * 备注 *

示例值:备注内容 * * @param content * @return */ public Builder content(String content) { this.content = content; return this; } /** * 备注时间,单位毫秒 *

示例值:备注时间 * * @param createdAt * @return */ public Builder createdAt(Integer createdAt) { this.createdAt = createdAt; return this; } /** * 备注ID *

示例值:备注id * * @param id * @return */ public Builder id(Integer id) { this.id = id; return this; } /** * 备注人头像 *

示例值:备注人头像 * * @param userAvatarUrl * @return */ public Builder userAvatarUrl(String userAvatarUrl) { this.userAvatarUrl = userAvatarUrl; return this; } /** * 备注人姓名 *

示例值:备注人姓名 * * @param userName * @return */ public Builder userName(String userName) { this.userName = userName; return this; } /** * 备注人ID *

示例值:备注人id * * @param userId * @return */ public Builder userId(Integer userId) { this.userId = userId; return this; } public Comments build() { return new Comments(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy