com.aliyun.dingtalkservice_group_1_0.models.FinishTicketRequest 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 FinishTicketRequest extends TeaModel {
@NameInMap("notify")
public FinishTicketRequestNotify notify;
/**
* This parameter is required.
*
* example:
* eKWh3GBwsKEiE
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* a8iS4X94TgtgiE
*/
@NameInMap("openTicketId")
public String openTicketId;
/**
* This parameter is required.
*
* example:
* Dq9hP8Sk2v6vQ6l05nCe5wiEiE
*/
@NameInMap("processorUnionId")
public String processorUnionId;
/**
* This parameter is required.
*/
@NameInMap("ticketMemo")
public FinishTicketRequestTicketMemo ticketMemo;
public static FinishTicketRequest build(java.util.Map map) throws Exception {
FinishTicketRequest self = new FinishTicketRequest();
return TeaModel.build(map, self);
}
public FinishTicketRequest setNotify(FinishTicketRequestNotify notify) {
this.notify = notify;
return this;
}
public FinishTicketRequestNotify getNotify() {
return this.notify;
}
public FinishTicketRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public FinishTicketRequest setOpenTicketId(String openTicketId) {
this.openTicketId = openTicketId;
return this;
}
public String getOpenTicketId() {
return this.openTicketId;
}
public FinishTicketRequest setProcessorUnionId(String processorUnionId) {
this.processorUnionId = processorUnionId;
return this;
}
public String getProcessorUnionId() {
return this.processorUnionId;
}
public FinishTicketRequest setTicketMemo(FinishTicketRequestTicketMemo ticketMemo) {
this.ticketMemo = ticketMemo;
return this;
}
public FinishTicketRequestTicketMemo getTicketMemo() {
return this.ticketMemo;
}
public static class FinishTicketRequestNotify 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 FinishTicketRequestNotify build(java.util.Map map) throws Exception {
FinishTicketRequestNotify self = new FinishTicketRequestNotify();
return TeaModel.build(map, self);
}
public FinishTicketRequestNotify setGroupNoticeReceiverUnionIds(java.util.List groupNoticeReceiverUnionIds) {
this.groupNoticeReceiverUnionIds = groupNoticeReceiverUnionIds;
return this;
}
public java.util.List getGroupNoticeReceiverUnionIds() {
return this.groupNoticeReceiverUnionIds;
}
public FinishTicketRequestNotify setNoticeAllGroupMember(Boolean noticeAllGroupMember) {
this.noticeAllGroupMember = noticeAllGroupMember;
return this;
}
public Boolean getNoticeAllGroupMember() {
return this.noticeAllGroupMember;
}
public FinishTicketRequestNotify setWorkNoticeReceiverUnionIds(java.util.List workNoticeReceiverUnionIds) {
this.workNoticeReceiverUnionIds = workNoticeReceiverUnionIds;
return this;
}
public java.util.List getWorkNoticeReceiverUnionIds() {
return this.workNoticeReceiverUnionIds;
}
}
public static class FinishTicketRequestTicketMemoAttachments extends TeaModel {
/**
* example:
* wahaha.txt
*/
@NameInMap("fileName")
public String fileName;
/**
* example:
* ticket/image/44708069/43003/e27204b382c04832aec4243e940a1367_1625831640499.txt
*/
@NameInMap("key")
public String key;
public static FinishTicketRequestTicketMemoAttachments build(java.util.Map map) throws Exception {
FinishTicketRequestTicketMemoAttachments self = new FinishTicketRequestTicketMemoAttachments();
return TeaModel.build(map, self);
}
public FinishTicketRequestTicketMemoAttachments setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public FinishTicketRequestTicketMemoAttachments setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
}
public static class FinishTicketRequestTicketMemo extends TeaModel {
@NameInMap("attachments")
public java.util.List attachments;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("memo")
public String memo;
public static FinishTicketRequestTicketMemo build(java.util.Map map) throws Exception {
FinishTicketRequestTicketMemo self = new FinishTicketRequestTicketMemo();
return TeaModel.build(map, self);
}
public FinishTicketRequestTicketMemo setAttachments(java.util.List attachments) {
this.attachments = attachments;
return this;
}
public java.util.List getAttachments() {
return this.attachments;
}
public FinishTicketRequestTicketMemo setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
}
}