
com.lark.oapi.service.helpdesk.v1.model.P2TicketMessageCreatedV1Data 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.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 P2TicketMessageCreatedV1Data {
/**
* ticket message id
* 示例值:
*/
@SerializedName("ticket_message_id")
private String ticketMessageId;
/**
* open message id
*
示例值:
*/
@SerializedName("message_id")
private String messageId;
/**
* message type, text is the only supported type
*
示例值:
*/
@SerializedName("msg_type")
private String msgType;
/**
* position of the message
*
示例值:
*/
@SerializedName("position")
private String position;
/**
* sender's open id, omitted if the sender is the bot
*
示例值:
*/
@SerializedName("sender_id")
private UserId senderId;
/**
* sender type, 1 for bot, 2 for guest, 3 for agent
*
示例值:
*/
@SerializedName("sender_type")
private Integer senderType;
/**
* message content
*
示例值:
*/
@SerializedName("text")
private String text;
/**
* ticket related information
*
示例值:
*/
@SerializedName("ticket")
private Ticket ticket;
/**
* event id
*
示例值:
*/
@SerializedName("event_id")
private String eventId;
/**
* chat id
*
示例值:
*/
@SerializedName("chat_id")
private String chatId;
/**
* message content
*
示例值:
*/
@SerializedName("content")
private TicketMessageContent content;
public String getTicketMessageId() {
return this.ticketMessageId;
}
public void setTicketMessageId(String ticketMessageId) {
this.ticketMessageId = ticketMessageId;
}
public String getMessageId() {
return this.messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
public String getMsgType() {
return this.msgType;
}
public void setMsgType(String msgType) {
this.msgType = msgType;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public UserId getSenderId() {
return this.senderId;
}
public void setSenderId(UserId senderId) {
this.senderId = senderId;
}
public Integer getSenderType() {
return this.senderType;
}
public void setSenderType(Integer senderType) {
this.senderType = senderType;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public Ticket getTicket() {
return this.ticket;
}
public void setTicket(Ticket ticket) {
this.ticket = ticket;
}
public String getEventId() {
return this.eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
}
public String getChatId() {
return this.chatId;
}
public void setChatId(String chatId) {
this.chatId = chatId;
}
public TicketMessageContent getContent() {
return this.content;
}
public void setContent(TicketMessageContent content) {
this.content = content;
}
}