All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkservice_group_1_0.models.CancelTicketRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;

import com.aliyun.tea.*;

public class CancelTicketRequest extends TeaModel {
    @NameInMap("notify")
    public CancelTicketRequestNotify notify;

    // 开放团队ID
    @NameInMap("openTeamId")
    public String openTeamId;

    // 工单开放ID
    @NameInMap("openTicketId")
    public String openTicketId;

    // 操作人unionId
    @NameInMap("operatorUnionId")
    public String operatorUnionId;

    @NameInMap("ticketMemo")
    public CancelTicketRequestTicketMemo ticketMemo;

    public static CancelTicketRequest build(java.util.Map map) throws Exception {
        CancelTicketRequest self = new CancelTicketRequest();
        return TeaModel.build(map, self);
    }

    public CancelTicketRequest setNotify(CancelTicketRequestNotify notify) {
        this.notify = notify;
        return this;
    }
    public CancelTicketRequestNotify getNotify() {
        return this.notify;
    }

    public CancelTicketRequest setOpenTeamId(String openTeamId) {
        this.openTeamId = openTeamId;
        return this;
    }
    public String getOpenTeamId() {
        return this.openTeamId;
    }

    public CancelTicketRequest setOpenTicketId(String openTicketId) {
        this.openTicketId = openTicketId;
        return this;
    }
    public String getOpenTicketId() {
        return this.openTicketId;
    }

    public CancelTicketRequest setOperatorUnionId(String operatorUnionId) {
        this.operatorUnionId = operatorUnionId;
        return this;
    }
    public String getOperatorUnionId() {
        return this.operatorUnionId;
    }

    public CancelTicketRequest setTicketMemo(CancelTicketRequestTicketMemo ticketMemo) {
        this.ticketMemo = ticketMemo;
        return this;
    }
    public CancelTicketRequestTicketMemo getTicketMemo() {
        return this.ticketMemo;
    }

    public static class CancelTicketRequestNotify extends TeaModel {
        @NameInMap("groupNoticeReceiverUnionIds")
        public java.util.List groupNoticeReceiverUnionIds;

        // 是否向群内推送一个全员可见工单通知卡片
        @NameInMap("noticeAllGroupMember")
        public Boolean noticeAllGroupMember;

        @NameInMap("workNoticeReceiverUnionIds")
        public java.util.List workNoticeReceiverUnionIds;

        public static CancelTicketRequestNotify build(java.util.Map map) throws Exception {
            CancelTicketRequestNotify self = new CancelTicketRequestNotify();
            return TeaModel.build(map, self);
        }

        public CancelTicketRequestNotify setGroupNoticeReceiverUnionIds(java.util.List groupNoticeReceiverUnionIds) {
            this.groupNoticeReceiverUnionIds = groupNoticeReceiverUnionIds;
            return this;
        }
        public java.util.List getGroupNoticeReceiverUnionIds() {
            return this.groupNoticeReceiverUnionIds;
        }

        public CancelTicketRequestNotify setNoticeAllGroupMember(Boolean noticeAllGroupMember) {
            this.noticeAllGroupMember = noticeAllGroupMember;
            return this;
        }
        public Boolean getNoticeAllGroupMember() {
            return this.noticeAllGroupMember;
        }

        public CancelTicketRequestNotify setWorkNoticeReceiverUnionIds(java.util.List workNoticeReceiverUnionIds) {
            this.workNoticeReceiverUnionIds = workNoticeReceiverUnionIds;
            return this;
        }
        public java.util.List getWorkNoticeReceiverUnionIds() {
            return this.workNoticeReceiverUnionIds;
        }

    }

    public static class CancelTicketRequestTicketMemoAttachments extends TeaModel {
        // 文件名
        @NameInMap("fileName")
        public String fileName;

        // 文件key
        @NameInMap("key")
        public String key;

        public static CancelTicketRequestTicketMemoAttachments build(java.util.Map map) throws Exception {
            CancelTicketRequestTicketMemoAttachments self = new CancelTicketRequestTicketMemoAttachments();
            return TeaModel.build(map, self);
        }

        public CancelTicketRequestTicketMemoAttachments setFileName(String fileName) {
            this.fileName = fileName;
            return this;
        }
        public String getFileName() {
            return this.fileName;
        }

        public CancelTicketRequestTicketMemoAttachments setKey(String key) {
            this.key = key;
            return this;
        }
        public String getKey() {
            return this.key;
        }

    }

    public static class CancelTicketRequestTicketMemo extends TeaModel {
        @NameInMap("attachments")
        public java.util.List attachments;

        // 备注
        @NameInMap("memo")
        public String memo;

        public static CancelTicketRequestTicketMemo build(java.util.Map map) throws Exception {
            CancelTicketRequestTicketMemo self = new CancelTicketRequestTicketMemo();
            return TeaModel.build(map, self);
        }

        public CancelTicketRequestTicketMemo setAttachments(java.util.List attachments) {
            this.attachments = attachments;
            return this;
        }
        public java.util.List getAttachments() {
            return this.attachments;
        }

        public CancelTicketRequestTicketMemo setMemo(String memo) {
            this.memo = memo;
            return this;
        }
        public String getMemo() {
            return this.memo;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy