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

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

There is a newer version: 2.1.50
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 RetractTicketRequest extends TeaModel {
    @NameInMap("notify")
    public RetractTicketRequestNotify notify;

    @NameInMap("openTeamId")
    public String openTeamId;

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

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

    @NameInMap("ticketMemo")
    public RetractTicketRequestTicketMemo ticketMemo;

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

    public RetractTicketRequest setNotify(RetractTicketRequestNotify notify) {
        this.notify = notify;
        return this;
    }
    public RetractTicketRequestNotify getNotify() {
        return this.notify;
    }

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

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

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

    public RetractTicketRequest setTicketMemo(RetractTicketRequestTicketMemo ticketMemo) {
        this.ticketMemo = ticketMemo;
        return this;
    }
    public RetractTicketRequestTicketMemo getTicketMemo() {
        return this.ticketMemo;
    }

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

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

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

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

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

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

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

    }

    public static class RetractTicketRequestTicketMemoAttachments extends TeaModel {
        @NameInMap("fileName")
        public String fileName;

        @NameInMap("key")
        public String key;

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

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

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

    }

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

        @NameInMap("memo")
        public String memo;

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy