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

com.lark.oapi.service.helpdesk.v1.model.UpdateTicketReqBody Maven / Gradle / Ivy

Go to download

Larksuite open platform facilitates the integration of enterprise applications and larksuite, making collaboration and management more efficient

The newest version!
// 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 UpdateTicketReqBody {
    /**
     * new status, 1: 已创建, 2: 处理中, 3: 排队中, 5: 待定, 50: 机器人关闭工单, 51: 关闭工单
     * 

示例值:1 */ @SerializedName("status") private Integer status; /** * 新标签名 *

示例值:abc */ @SerializedName("tag_names") private String[] tagNames; /** * 新评论 *

示例值:good */ @SerializedName("comment") private String comment; /** * 自定义字段 *

示例值: */ @SerializedName("customized_fields") private CustomizedFieldDisplayItem[] customizedFields; /** * ticket stage *

示例值:1 */ @SerializedName("ticket_type") private Integer ticketType; /** * 工单是否解决,1: 未解决, 2: 已解决 *

示例值:1 */ @SerializedName("solved") private Integer solved; /** * 工单来源渠道ID *

示例值:1 */ @SerializedName("channel") private Integer channel; // builder 开始 public UpdateTicketReqBody() { } public UpdateTicketReqBody(Builder builder) { /** * new status, 1: 已创建, 2: 处理中, 3: 排队中, 5: 待定, 50: 机器人关闭工单, 51: 关闭工单 *

示例值:1 */ this.status = builder.status; /** * 新标签名 *

示例值:abc */ this.tagNames = builder.tagNames; /** * 新评论 *

示例值:good */ this.comment = builder.comment; /** * 自定义字段 *

示例值: */ this.customizedFields = builder.customizedFields; /** * ticket stage *

示例值:1 */ this.ticketType = builder.ticketType; /** * 工单是否解决,1: 未解决, 2: 已解决 *

示例值:1 */ this.solved = builder.solved; /** * 工单来源渠道ID *

示例值:1 */ this.channel = builder.channel; } public static Builder newBuilder() { return new Builder(); } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; } public String[] getTagNames() { return this.tagNames; } public void setTagNames(String[] tagNames) { this.tagNames = tagNames; } public String getComment() { return this.comment; } public void setComment(String comment) { this.comment = comment; } public CustomizedFieldDisplayItem[] getCustomizedFields() { return this.customizedFields; } public void setCustomizedFields(CustomizedFieldDisplayItem[] customizedFields) { this.customizedFields = customizedFields; } public Integer getTicketType() { return this.ticketType; } public void setTicketType(Integer ticketType) { this.ticketType = ticketType; } public Integer getSolved() { return this.solved; } public void setSolved(Integer solved) { this.solved = solved; } public Integer getChannel() { return this.channel; } public void setChannel(Integer channel) { this.channel = channel; } public static class Builder { /** * new status, 1: 已创建, 2: 处理中, 3: 排队中, 5: 待定, 50: 机器人关闭工单, 51: 关闭工单 *

示例值:1 */ private Integer status; /** * 新标签名 *

示例值:abc */ private String[] tagNames; /** * 新评论 *

示例值:good */ private String comment; /** * 自定义字段 *

示例值: */ private CustomizedFieldDisplayItem[] customizedFields; /** * ticket stage *

示例值:1 */ private Integer ticketType; /** * 工单是否解决,1: 未解决, 2: 已解决 *

示例值:1 */ private Integer solved; /** * 工单来源渠道ID *

示例值:1 */ private Integer channel; /** * new status, 1: 已创建, 2: 处理中, 3: 排队中, 5: 待定, 50: 机器人关闭工单, 51: 关闭工单 *

示例值:1 * * @param status * @return */ public Builder status(Integer status) { this.status = status; return this; } /** * 新标签名 *

示例值:abc * * @param tagNames * @return */ public Builder tagNames(String[] tagNames) { this.tagNames = tagNames; return this; } /** * 新评论 *

示例值:good * * @param comment * @return */ public Builder comment(String comment) { this.comment = comment; return this; } /** * 自定义字段 *

示例值: * * @param customizedFields * @return */ public Builder customizedFields(CustomizedFieldDisplayItem[] customizedFields) { this.customizedFields = customizedFields; return this; } /** * ticket stage *

示例值:1 * * @param ticketType * @return */ public Builder ticketType(Integer ticketType) { this.ticketType = ticketType; return this; } /** * 工单是否解决,1: 未解决, 2: 已解决 *

示例值:1 * * @param solved * @return */ public Builder solved(Integer solved) { this.solved = solved; return this; } /** * 工单来源渠道ID *

示例值:1 * * @param channel * @return */ public Builder channel(Integer channel) { this.channel = channel; return this; } public UpdateTicketReqBody build() { return new UpdateTicketReqBody(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy