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

com.aliyun.dingtalkcustomer_service_1_0.models.CreateTicketRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcustomer_service_1_0.models;

import com.aliyun.tea.*;

public class CreateTicketRequest extends TeaModel {
    // 第三方会员ID
    @NameInMap("foreignId")
    public String foreignId;

    // 第三方会员名称
    @NameInMap("foreignName")
    public String foreignName;

    // 实例ID
    @NameInMap("openInstanceId")
    public String openInstanceId;

    // 智能客服产品
    @NameInMap("productionType")
    public Integer productionType;

    // 工单表单
    @NameInMap("properties")
    public java.util.List properties;

    // 会员来源
    @NameInMap("sourceId")
    public String sourceId;

    // 工单模板ID
    @NameInMap("templateId")
    public String templateId;

    // 工单标题
    @NameInMap("title")
    public String title;

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

    public CreateTicketRequest setForeignId(String foreignId) {
        this.foreignId = foreignId;
        return this;
    }
    public String getForeignId() {
        return this.foreignId;
    }

    public CreateTicketRequest setForeignName(String foreignName) {
        this.foreignName = foreignName;
        return this;
    }
    public String getForeignName() {
        return this.foreignName;
    }

    public CreateTicketRequest setOpenInstanceId(String openInstanceId) {
        this.openInstanceId = openInstanceId;
        return this;
    }
    public String getOpenInstanceId() {
        return this.openInstanceId;
    }

    public CreateTicketRequest setProductionType(Integer productionType) {
        this.productionType = productionType;
        return this;
    }
    public Integer getProductionType() {
        return this.productionType;
    }

    public CreateTicketRequest setProperties(java.util.List properties) {
        this.properties = properties;
        return this;
    }
    public java.util.List getProperties() {
        return this.properties;
    }

    public CreateTicketRequest setSourceId(String sourceId) {
        this.sourceId = sourceId;
        return this;
    }
    public String getSourceId() {
        return this.sourceId;
    }

    public CreateTicketRequest setTemplateId(String templateId) {
        this.templateId = templateId;
        return this;
    }
    public String getTemplateId() {
        return this.templateId;
    }

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

    public static class CreateTicketRequestProperties extends TeaModel {
        @NameInMap("name")
        public String name;

        @NameInMap("value")
        public String value;

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

        public CreateTicketRequestProperties setName(String name) {
            this.name = name;
            return this;
        }
        public String getName() {
            return this.name;
        }

        public CreateTicketRequestProperties setValue(String value) {
            this.value = value;
            return this;
        }
        public String getValue() {
            return this.value;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy