com.aliyun.dingtalkservice_group_1_0.models.AssignTicketRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class AssignTicketRequest extends TeaModel {
@NameInMap("notify")
public AssignTicketRequestNotify notify;
/**
* This parameter is required.
*
* example:
* eKWh3GBwsKEiE
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* hNiPO2OVktNMiE
*/
@NameInMap("openTicketId")
public String openTicketId;
/**
* This parameter is required.
*/
@NameInMap("operatorUnionId")
public String operatorUnionId;
/**
* This parameter is required.
*/
@NameInMap("processorUnionIds")
public java.util.List processorUnionIds;
@NameInMap("ticketMemo")
public AssignTicketRequestTicketMemo ticketMemo;
public static AssignTicketRequest build(java.util.Map map) throws Exception {
AssignTicketRequest self = new AssignTicketRequest();
return TeaModel.build(map, self);
}
public AssignTicketRequest setNotify(AssignTicketRequestNotify notify) {
this.notify = notify;
return this;
}
public AssignTicketRequestNotify getNotify() {
return this.notify;
}
public AssignTicketRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public AssignTicketRequest setOpenTicketId(String openTicketId) {
this.openTicketId = openTicketId;
return this;
}
public String getOpenTicketId() {
return this.openTicketId;
}
public AssignTicketRequest setOperatorUnionId(String operatorUnionId) {
this.operatorUnionId = operatorUnionId;
return this;
}
public String getOperatorUnionId() {
return this.operatorUnionId;
}
public AssignTicketRequest setProcessorUnionIds(java.util.List processorUnionIds) {
this.processorUnionIds = processorUnionIds;
return this;
}
public java.util.List getProcessorUnionIds() {
return this.processorUnionIds;
}
public AssignTicketRequest setTicketMemo(AssignTicketRequestTicketMemo ticketMemo) {
this.ticketMemo = ticketMemo;
return this;
}
public AssignTicketRequestTicketMemo getTicketMemo() {
return this.ticketMemo;
}
public static class AssignTicketRequestNotify extends TeaModel {
@NameInMap("groupNoticeReceiverUnionIds")
public java.util.List groupNoticeReceiverUnionIds;
/**
* example:
* true
*/
@NameInMap("noticeAllGroupMember")
public Boolean noticeAllGroupMember;
@NameInMap("workNoticeReceiverUnionIds")
public java.util.List workNoticeReceiverUnionIds;
public static AssignTicketRequestNotify build(java.util.Map map) throws Exception {
AssignTicketRequestNotify self = new AssignTicketRequestNotify();
return TeaModel.build(map, self);
}
public AssignTicketRequestNotify setGroupNoticeReceiverUnionIds(java.util.List groupNoticeReceiverUnionIds) {
this.groupNoticeReceiverUnionIds = groupNoticeReceiverUnionIds;
return this;
}
public java.util.List getGroupNoticeReceiverUnionIds() {
return this.groupNoticeReceiverUnionIds;
}
public AssignTicketRequestNotify setNoticeAllGroupMember(Boolean noticeAllGroupMember) {
this.noticeAllGroupMember = noticeAllGroupMember;
return this;
}
public Boolean getNoticeAllGroupMember() {
return this.noticeAllGroupMember;
}
public AssignTicketRequestNotify setWorkNoticeReceiverUnionIds(java.util.List workNoticeReceiverUnionIds) {
this.workNoticeReceiverUnionIds = workNoticeReceiverUnionIds;
return this;
}
public java.util.List getWorkNoticeReceiverUnionIds() {
return this.workNoticeReceiverUnionIds;
}
}
public static class AssignTicketRequestTicketMemoAttachments extends TeaModel {
/**
* example:
* ticket/image/44708069/43003/e27204b382c04832aec4243e940a1367_1625831640499.txt
*/
@NameInMap("fileName")
public String fileName;
/**
* example:
* wahaha.txt
*/
@NameInMap("key")
public String key;
public static AssignTicketRequestTicketMemoAttachments build(java.util.Map map) throws Exception {
AssignTicketRequestTicketMemoAttachments self = new AssignTicketRequestTicketMemoAttachments();
return TeaModel.build(map, self);
}
public AssignTicketRequestTicketMemoAttachments setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public AssignTicketRequestTicketMemoAttachments setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
}
public static class AssignTicketRequestTicketMemo extends TeaModel {
@NameInMap("attachments")
public java.util.List attachments;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("memo")
public String memo;
public static AssignTicketRequestTicketMemo build(java.util.Map map) throws Exception {
AssignTicketRequestTicketMemo self = new AssignTicketRequestTicketMemo();
return TeaModel.build(map, self);
}
public AssignTicketRequestTicketMemo setAttachments(java.util.List attachments) {
this.attachments = attachments;
return this;
}
public java.util.List getAttachments() {
return this.attachments;
}
public AssignTicketRequestTicketMemo setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
}
}