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

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

There is a newer version: 2.1.67
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 CreateTicketRequest extends TeaModel {
    /**
     * 

This parameter is required.

* * example: *

Dq9hP8Sk2v6vQ6l05nCe5wiEiE

*/ @NameInMap("creatorUnionId") public String creatorUnionId; /** * example: *

[{"identifier":"input1","value":"123"}]

*/ @NameInMap("customFields") public String customFields; @NameInMap("notify") public CreateTicketRequestNotify notify; /** *

This parameter is required.

* * example: *

eKWh3GBwsKEiE

*/ @NameInMap("openTeamId") public String openTeamId; /** *

This parameter is required.

* * example: *

bLkvfXKiSngQiE

*/ @NameInMap("openTemplateBizId") public String openTemplateBizId; /** *

This parameter is required.

*/ @NameInMap("processorUnionIds") public java.util.List processorUnionIds; /** *

This parameter is required.

* * example: *

SG

*/ @NameInMap("scene") public String scene; @NameInMap("sceneContext") public CreateTicketRequestSceneContext sceneContext; /** *

This parameter is required.

* * example: *

工单标题

*/ @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 setCreatorUnionId(String creatorUnionId) { this.creatorUnionId = creatorUnionId; return this; } public String getCreatorUnionId() { return this.creatorUnionId; } public CreateTicketRequest setCustomFields(String customFields) { this.customFields = customFields; return this; } public String getCustomFields() { return this.customFields; } public CreateTicketRequest setNotify(CreateTicketRequestNotify notify) { this.notify = notify; return this; } public CreateTicketRequestNotify getNotify() { return this.notify; } public CreateTicketRequest setOpenTeamId(String openTeamId) { this.openTeamId = openTeamId; return this; } public String getOpenTeamId() { return this.openTeamId; } public CreateTicketRequest setOpenTemplateBizId(String openTemplateBizId) { this.openTemplateBizId = openTemplateBizId; return this; } public String getOpenTemplateBizId() { return this.openTemplateBizId; } public CreateTicketRequest setProcessorUnionIds(java.util.List processorUnionIds) { this.processorUnionIds = processorUnionIds; return this; } public java.util.List getProcessorUnionIds() { return this.processorUnionIds; } public CreateTicketRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public CreateTicketRequest setSceneContext(CreateTicketRequestSceneContext sceneContext) { this.sceneContext = sceneContext; return this; } public CreateTicketRequestSceneContext getSceneContext() { return this.sceneContext; } public CreateTicketRequest setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public static class CreateTicketRequestNotify 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 CreateTicketRequestNotify build(java.util.Map map) throws Exception { CreateTicketRequestNotify self = new CreateTicketRequestNotify(); return TeaModel.build(map, self); } public CreateTicketRequestNotify setGroupNoticeReceiverUnionIds(java.util.List groupNoticeReceiverUnionIds) { this.groupNoticeReceiverUnionIds = groupNoticeReceiverUnionIds; return this; } public java.util.List getGroupNoticeReceiverUnionIds() { return this.groupNoticeReceiverUnionIds; } public CreateTicketRequestNotify setNoticeAllGroupMember(Boolean noticeAllGroupMember) { this.noticeAllGroupMember = noticeAllGroupMember; return this; } public Boolean getNoticeAllGroupMember() { return this.noticeAllGroupMember; } public CreateTicketRequestNotify setWorkNoticeReceiverUnionIds(java.util.List workNoticeReceiverUnionIds) { this.workNoticeReceiverUnionIds = workNoticeReceiverUnionIds; return this; } public java.util.List getWorkNoticeReceiverUnionIds() { return this.workNoticeReceiverUnionIds; } } public static class CreateTicketRequestSceneContextGroupMsgs extends TeaModel { /** * example: *

true

*/ @NameInMap("anchor") public Boolean anchor; /** * example: *

msgsbY4BzTCNX0/ClUwoTTs7w==

*/ @NameInMap("openMsgId") public String openMsgId; public static CreateTicketRequestSceneContextGroupMsgs build(java.util.Map map) throws Exception { CreateTicketRequestSceneContextGroupMsgs self = new CreateTicketRequestSceneContextGroupMsgs(); return TeaModel.build(map, self); } public CreateTicketRequestSceneContextGroupMsgs setAnchor(Boolean anchor) { this.anchor = anchor; return this; } public Boolean getAnchor() { return this.anchor; } public CreateTicketRequestSceneContextGroupMsgs setOpenMsgId(String openMsgId) { this.openMsgId = openMsgId; return this; } public String getOpenMsgId() { return this.openMsgId; } } public static class CreateTicketRequestSceneContext extends TeaModel { @NameInMap("groupMsgs") public java.util.List groupMsgs; /** * example: *

cidZBSNlUi/Jq9x76PAXUCrAA==

*/ @NameInMap("openConversationId") public String openConversationId; @NameInMap("relevantorUnionIds") public java.util.List relevantorUnionIds; /** * example: *

a0ba57d5d29a48b51d0eca48da6b1d09

*/ @NameInMap("topicId") public String topicId; public static CreateTicketRequestSceneContext build(java.util.Map map) throws Exception { CreateTicketRequestSceneContext self = new CreateTicketRequestSceneContext(); return TeaModel.build(map, self); } public CreateTicketRequestSceneContext setGroupMsgs(java.util.List groupMsgs) { this.groupMsgs = groupMsgs; return this; } public java.util.List getGroupMsgs() { return this.groupMsgs; } public CreateTicketRequestSceneContext setOpenConversationId(String openConversationId) { this.openConversationId = openConversationId; return this; } public String getOpenConversationId() { return this.openConversationId; } public CreateTicketRequestSceneContext setRelevantorUnionIds(java.util.List relevantorUnionIds) { this.relevantorUnionIds = relevantorUnionIds; return this; } public java.util.List getRelevantorUnionIds() { return this.relevantorUnionIds; } public CreateTicketRequestSceneContext setTopicId(String topicId) { this.topicId = topicId; return this; } public String getTopicId() { return this.topicId; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy