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

com.aliyun.dingtalkservice_group_1_0.models.GetTicketResponseBody 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 GetTicketResponseBody extends TeaModel {
    @NameInMap("createTime")
    public String createTime;

    @NameInMap("creator")
    public GetTicketResponseBodyCreator creator;

    @NameInMap("customFields")
    public String customFields;

    @NameInMap("openConversationId")
    public String openConversationId;

    // Id of the request
    @NameInMap("openTicketId")
    public String openTicketId;

    @NameInMap("processor")
    public GetTicketResponseBodyProcessor processor;

    @NameInMap("scene")
    public String scene;

    @NameInMap("sceneContext")
    public String sceneContext;

    @NameInMap("stage")
    public String stage;

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

    @NameInMap("template")
    public GetTicketResponseBodyTemplate template;

    @NameInMap("title")
    public String title;

    @NameInMap("updateTime")
    public String updateTime;

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

    public GetTicketResponseBody setCreateTime(String createTime) {
        this.createTime = createTime;
        return this;
    }
    public String getCreateTime() {
        return this.createTime;
    }

    public GetTicketResponseBody setCreator(GetTicketResponseBodyCreator creator) {
        this.creator = creator;
        return this;
    }
    public GetTicketResponseBodyCreator getCreator() {
        return this.creator;
    }

    public GetTicketResponseBody setCustomFields(String customFields) {
        this.customFields = customFields;
        return this;
    }
    public String getCustomFields() {
        return this.customFields;
    }

    public GetTicketResponseBody setOpenConversationId(String openConversationId) {
        this.openConversationId = openConversationId;
        return this;
    }
    public String getOpenConversationId() {
        return this.openConversationId;
    }

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

    public GetTicketResponseBody setProcessor(GetTicketResponseBodyProcessor processor) {
        this.processor = processor;
        return this;
    }
    public GetTicketResponseBodyProcessor getProcessor() {
        return this.processor;
    }

    public GetTicketResponseBody setScene(String scene) {
        this.scene = scene;
        return this;
    }
    public String getScene() {
        return this.scene;
    }

    public GetTicketResponseBody setSceneContext(String sceneContext) {
        this.sceneContext = sceneContext;
        return this;
    }
    public String getSceneContext() {
        return this.sceneContext;
    }

    public GetTicketResponseBody setStage(String stage) {
        this.stage = stage;
        return this;
    }
    public String getStage() {
        return this.stage;
    }

    public GetTicketResponseBody setTakers(java.util.List takers) {
        this.takers = takers;
        return this;
    }
    public java.util.List getTakers() {
        return this.takers;
    }

    public GetTicketResponseBody setTemplate(GetTicketResponseBodyTemplate template) {
        this.template = template;
        return this;
    }
    public GetTicketResponseBodyTemplate getTemplate() {
        return this.template;
    }

    public GetTicketResponseBody setTitle(String title) {
        this.title = title;
        return this;
    }
    public String getTitle() {
        return this.title;
    }

    public GetTicketResponseBody setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
        return this;
    }
    public String getUpdateTime() {
        return this.updateTime;
    }

    public static class GetTicketResponseBodyCreator extends TeaModel {
        @NameInMap("nickName")
        public String nickName;

        @NameInMap("unionId")
        public String unionId;

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

        public GetTicketResponseBodyCreator setNickName(String nickName) {
            this.nickName = nickName;
            return this;
        }
        public String getNickName() {
            return this.nickName;
        }

        public GetTicketResponseBodyCreator setUnionId(String unionId) {
            this.unionId = unionId;
            return this;
        }
        public String getUnionId() {
            return this.unionId;
        }

    }

    public static class GetTicketResponseBodyProcessor extends TeaModel {
        @NameInMap("nickName")
        public String nickName;

        @NameInMap("unionId")
        public String unionId;

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

        public GetTicketResponseBodyProcessor setNickName(String nickName) {
            this.nickName = nickName;
            return this;
        }
        public String getNickName() {
            return this.nickName;
        }

        public GetTicketResponseBodyProcessor setUnionId(String unionId) {
            this.unionId = unionId;
            return this;
        }
        public String getUnionId() {
            return this.unionId;
        }

    }

    public static class GetTicketResponseBodyTakers extends TeaModel {
        @NameInMap("nickName")
        public String nickName;

        @NameInMap("unionId")
        public String unionId;

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

        public GetTicketResponseBodyTakers setNickName(String nickName) {
            this.nickName = nickName;
            return this;
        }
        public String getNickName() {
            return this.nickName;
        }

        public GetTicketResponseBodyTakers setUnionId(String unionId) {
            this.unionId = unionId;
            return this;
        }
        public String getUnionId() {
            return this.unionId;
        }

    }

    public static class GetTicketResponseBodyTemplate extends TeaModel {
        // 工单模版业务ID
        @NameInMap("openTemplateBizId")
        public String openTemplateBizId;

        // 工单模版ID
        @NameInMap("openTemplateId")
        public String openTemplateId;

        // 工单模版名称
        @NameInMap("templateName")
        public String templateName;

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

        public GetTicketResponseBodyTemplate setOpenTemplateBizId(String openTemplateBizId) {
            this.openTemplateBizId = openTemplateBizId;
            return this;
        }
        public String getOpenTemplateBizId() {
            return this.openTemplateBizId;
        }

        public GetTicketResponseBodyTemplate setOpenTemplateId(String openTemplateId) {
            this.openTemplateId = openTemplateId;
            return this;
        }
        public String getOpenTemplateId() {
            return this.openTemplateId;
        }

        public GetTicketResponseBodyTemplate setTemplateName(String templateName) {
            this.templateName = templateName;
            return this;
        }
        public String getTemplateName() {
            return this.templateName;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy