com.aliyun.dingtalkservice_group_1_0.models.ResubmitTicketRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class ResubmitTicketRequest extends TeaModel {
// 工单创建人UnionId
@NameInMap("creatorUnionId")
public String creatorUnionId;
// 自定义组件字段值(JSON格式)
@NameInMap("customFields")
public String customFields;
@NameInMap("notify")
public ResubmitTicketRequestNotify notify;
// 开放团队ID
@NameInMap("openTeamId")
public String openTeamId;
// 工单模板业务ID
@NameInMap("openTemplateBizId")
public String openTemplateBizId;
// 工单开放ID
@NameInMap("openTicketId")
public String openTicketId;
// 工单处理人UnionId列表
@NameInMap("processorUnionIds")
public java.util.List processorUnionIds;
// 工单场景 SG 或 VOC
@NameInMap("scene")
public String scene;
// 工单场景信息
@NameInMap("sceneContext")
public ResubmitTicketRequestSceneContext sceneContext;
// 备注
@NameInMap("ticketMemo")
public ResubmitTicketRequestTicketMemo ticketMemo;
// 工单标题
@NameInMap("title")
public String title;
public static ResubmitTicketRequest build(java.util.Map map) throws Exception {
ResubmitTicketRequest self = new ResubmitTicketRequest();
return TeaModel.build(map, self);
}
public ResubmitTicketRequest setCreatorUnionId(String creatorUnionId) {
this.creatorUnionId = creatorUnionId;
return this;
}
public String getCreatorUnionId() {
return this.creatorUnionId;
}
public ResubmitTicketRequest setCustomFields(String customFields) {
this.customFields = customFields;
return this;
}
public String getCustomFields() {
return this.customFields;
}
public ResubmitTicketRequest setNotify(ResubmitTicketRequestNotify notify) {
this.notify = notify;
return this;
}
public ResubmitTicketRequestNotify getNotify() {
return this.notify;
}
public ResubmitTicketRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public ResubmitTicketRequest setOpenTemplateBizId(String openTemplateBizId) {
this.openTemplateBizId = openTemplateBizId;
return this;
}
public String getOpenTemplateBizId() {
return this.openTemplateBizId;
}
public ResubmitTicketRequest setOpenTicketId(String openTicketId) {
this.openTicketId = openTicketId;
return this;
}
public String getOpenTicketId() {
return this.openTicketId;
}
public ResubmitTicketRequest setProcessorUnionIds(java.util.List processorUnionIds) {
this.processorUnionIds = processorUnionIds;
return this;
}
public java.util.List getProcessorUnionIds() {
return this.processorUnionIds;
}
public ResubmitTicketRequest setScene(String scene) {
this.scene = scene;
return this;
}
public String getScene() {
return this.scene;
}
public ResubmitTicketRequest setSceneContext(ResubmitTicketRequestSceneContext sceneContext) {
this.sceneContext = sceneContext;
return this;
}
public ResubmitTicketRequestSceneContext getSceneContext() {
return this.sceneContext;
}
public ResubmitTicketRequest setTicketMemo(ResubmitTicketRequestTicketMemo ticketMemo) {
this.ticketMemo = ticketMemo;
return this;
}
public ResubmitTicketRequestTicketMemo getTicketMemo() {
return this.ticketMemo;
}
public ResubmitTicketRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public static class ResubmitTicketRequestNotify extends TeaModel {
// 服务群通知接收人(钉钉UnionId)
@NameInMap("groupNoticeReceiverUnionIds")
public java.util.List groupNoticeReceiverUnionIds;
// 是否向群内推送一个全员可见工单通知卡片
@NameInMap("noticeAllGroupMember")
public Boolean noticeAllGroupMember;
// 企业工作通知接收人(钉钉UnionId)
@NameInMap("workNoticeReceiverUnionIds")
public java.util.List workNoticeReceiverUnionIds;
public static ResubmitTicketRequestNotify build(java.util.Map map) throws Exception {
ResubmitTicketRequestNotify self = new ResubmitTicketRequestNotify();
return TeaModel.build(map, self);
}
public ResubmitTicketRequestNotify setGroupNoticeReceiverUnionIds(java.util.List groupNoticeReceiverUnionIds) {
this.groupNoticeReceiverUnionIds = groupNoticeReceiverUnionIds;
return this;
}
public java.util.List getGroupNoticeReceiverUnionIds() {
return this.groupNoticeReceiverUnionIds;
}
public ResubmitTicketRequestNotify setNoticeAllGroupMember(Boolean noticeAllGroupMember) {
this.noticeAllGroupMember = noticeAllGroupMember;
return this;
}
public Boolean getNoticeAllGroupMember() {
return this.noticeAllGroupMember;
}
public ResubmitTicketRequestNotify setWorkNoticeReceiverUnionIds(java.util.List workNoticeReceiverUnionIds) {
this.workNoticeReceiverUnionIds = workNoticeReceiverUnionIds;
return this;
}
public java.util.List getWorkNoticeReceiverUnionIds() {
return this.workNoticeReceiverUnionIds;
}
}
public static class ResubmitTicketRequestSceneContextGroupMsgs extends TeaModel {
@NameInMap("anchor")
public Boolean anchor;
// 勾选消息openMsgId
@NameInMap("openMsgId")
public String openMsgId;
@NameInMap("topicId")
public String topicId;
public static ResubmitTicketRequestSceneContextGroupMsgs build(java.util.Map map) throws Exception {
ResubmitTicketRequestSceneContextGroupMsgs self = new ResubmitTicketRequestSceneContextGroupMsgs();
return TeaModel.build(map, self);
}
public ResubmitTicketRequestSceneContextGroupMsgs setAnchor(Boolean anchor) {
this.anchor = anchor;
return this;
}
public Boolean getAnchor() {
return this.anchor;
}
public ResubmitTicketRequestSceneContextGroupMsgs setOpenMsgId(String openMsgId) {
this.openMsgId = openMsgId;
return this;
}
public String getOpenMsgId() {
return this.openMsgId;
}
public ResubmitTicketRequestSceneContextGroupMsgs setTopicId(String topicId) {
this.topicId = topicId;
return this;
}
public String getTopicId() {
return this.topicId;
}
}
public static class ResubmitTicketRequestSceneContext extends TeaModel {
@NameInMap("groupMsgs")
public java.util.List groupMsgs;
// 服务群openConversationId
@NameInMap("openConversationId")
public String openConversationId;
// 工单相关人UnionId列表
@NameInMap("relevantorUnionIds")
public java.util.List relevantorUnionIds;
public static ResubmitTicketRequestSceneContext build(java.util.Map map) throws Exception {
ResubmitTicketRequestSceneContext self = new ResubmitTicketRequestSceneContext();
return TeaModel.build(map, self);
}
public ResubmitTicketRequestSceneContext setGroupMsgs(java.util.List groupMsgs) {
this.groupMsgs = groupMsgs;
return this;
}
public java.util.List getGroupMsgs() {
return this.groupMsgs;
}
public ResubmitTicketRequestSceneContext setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public ResubmitTicketRequestSceneContext setRelevantorUnionIds(java.util.List relevantorUnionIds) {
this.relevantorUnionIds = relevantorUnionIds;
return this;
}
public java.util.List getRelevantorUnionIds() {
return this.relevantorUnionIds;
}
}
public static class ResubmitTicketRequestTicketMemoAttachments extends TeaModel {
// 文件名
@NameInMap("fileName")
public String fileName;
// 文件key
@NameInMap("key")
public String key;
public static ResubmitTicketRequestTicketMemoAttachments build(java.util.Map map) throws Exception {
ResubmitTicketRequestTicketMemoAttachments self = new ResubmitTicketRequestTicketMemoAttachments();
return TeaModel.build(map, self);
}
public ResubmitTicketRequestTicketMemoAttachments setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public ResubmitTicketRequestTicketMemoAttachments setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
}
public static class ResubmitTicketRequestTicketMemo extends TeaModel {
@NameInMap("attachments")
public java.util.List attachments;
// 备注文字
@NameInMap("memo")
public String memo;
public static ResubmitTicketRequestTicketMemo build(java.util.Map map) throws Exception {
ResubmitTicketRequestTicketMemo self = new ResubmitTicketRequestTicketMemo();
return TeaModel.build(map, self);
}
public ResubmitTicketRequestTicketMemo setAttachments(java.util.List attachments) {
this.attachments = attachments;
return this;
}
public java.util.List getAttachments() {
return this.attachments;
}
public ResubmitTicketRequestTicketMemo setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
}
}