类 Ticket.Builder
java.lang.Object
com.lark.oapi.service.helpdesk.v1.model.Ticket.Builder
- 封闭类:
Ticket
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明actualProcessingTime(Long actualProcessingTime) 工单实际处理时间:从客服进入到关单,单位秒agentEntryTime(Long agentEntryTime) 客服进入时间,单位毫秒agentFirstResponseDuration(Long agentFirstResponseDuration) 客服首次回复时间距离客服进入时间的间隔(秒)agentFirstResponseTime(Long agentFirstResponseTime) 客服首次回复时间,单位毫秒agentLastResponseTime(Long agentLastResponseTime) 客服最后回复时间,单位毫秒agentOwner(TicketUser agentOwner) 主责客服agentResolutionTime(Long agentResolutionTime) 客服解决时长,关单时间距离客服进入时间的间隔,单位秒agents(TicketUser[] agents) 工单客服agentServiceDuration(Double agentServiceDuration) 客服服务时长,客服最后一次回复时间距离客服进入时间间隔,单位分钟botServiceDuration(Long botServiceDuration) 机器人服务时间:客服进入时间距离工单创建时间的间隔,单位秒build()工单渠道,描述:;9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道工单结束时间closedBy(TicketUser closedBy) 关单用户IDcollaborators(TicketUser[] collaborators) 工单协作者备注工单创建时间customizedFields(CustomizedFieldDisplayItem[] customizedFields) 自定义字段列表,没有值时不设置 ;下拉菜单的value对应工单字段里面的children.display_name;[获取全部工单自定义字段](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_customized_field/list-ticket-customized-fields)dissatisfactionReason(I18n dissatisfactionReason) 不满意原因guest(TicketUser guest) 工单创建用户helpdeskId(String helpdeskId) 服务台ID工单评分,1:不满意,2:一般,3:满意工单是否解决 1:没解决 2:已解决工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭工单ID;;[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list);;[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created)ticketType(Integer ticketType) 工单阶段:1.工单更新时间,没有值时为-1
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
ticketId
工单ID;;[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list);;[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created)示例值:6626871355780366331
- 参数:
ticketId-- 返回:
-
helpdeskId
服务台ID示例值:6626871355780366330
- 参数:
helpdeskId-- 返回:
-
guest
工单创建用户示例值:
- 参数:
guest-- 返回:
-
comments
备注示例值:
- 参数:
comments-- 返回:
-
ticketType
工单阶段:1. 机器人 2. 人工示例值:1
- 参数:
ticketType-- 返回:
-
status
工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭示例值:50
- 参数:
status-- 返回:
-
score
工单评分,1:不满意,2:一般,3:满意示例值:1
- 参数:
score-- 返回:
-
createdAt
工单创建时间示例值:1616920429000
- 参数:
createdAt-- 返回:
-
updatedAt
工单更新时间,没有值时为-1示例值:1616920429000
- 参数:
updatedAt-- 返回:
-
closedAt
工单结束时间示例值:1616920429000
- 参数:
closedAt-- 返回:
-
dissatisfactionReason
不满意原因示例值:
- 参数:
dissatisfactionReason-- 返回:
-
agents
工单客服示例值:
- 参数:
agents-- 返回:
-
channel
工单渠道,描述:;9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道示例值:0
- 参数:
channel-- 返回:
-
solve
工单是否解决 1:没解决 2:已解决示例值:1
- 参数:
solve-- 返回:
-
closedBy
关单用户ID示例值:
- 参数:
closedBy-- 返回:
-
collaborators
工单协作者示例值:
- 参数:
collaborators-- 返回:
-
customizedFields
自定义字段列表,没有值时不设置 ;下拉菜单的value对应工单字段里面的children.display_name;[获取全部工单自定义字段](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_customized_field/list-ticket-customized-fields)示例值:
- 参数:
customizedFields-- 返回:
-
agentServiceDuration
客服服务时长,客服最后一次回复时间距离客服进入时间间隔,单位分钟示例值:42624.95
- 参数:
agentServiceDuration-- 返回:
-
agentFirstResponseDuration
客服首次回复时间距离客服进入时间的间隔(秒)示例值:1616920429000
- 参数:
agentFirstResponseDuration-- 返回:
-
botServiceDuration
机器人服务时间:客服进入时间距离工单创建时间的间隔,单位秒示例值:1616920429000
- 参数:
botServiceDuration-- 返回:
-
agentResolutionTime
客服解决时长,关单时间距离客服进入时间的间隔,单位秒示例值:1616920429000
- 参数:
agentResolutionTime-- 返回:
-
actualProcessingTime
工单实际处理时间:从客服进入到关单,单位秒示例值:1616920429000
- 参数:
actualProcessingTime-- 返回:
-
agentEntryTime
客服进入时间,单位毫秒示例值:1616920429000
- 参数:
agentEntryTime-- 返回:
-
agentFirstResponseTime
客服首次回复时间,单位毫秒示例值:1616920429000
- 参数:
agentFirstResponseTime-- 返回:
-
agentLastResponseTime
客服最后回复时间,单位毫秒示例值:1616920429000
- 参数:
agentLastResponseTime-- 返回:
-
agentOwner
主责客服示例值:
- 参数:
agentOwner-- 返回:
-
build
-