com.aliyun.dingtalkservice_group_1_0.models.UrgeTicketRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class UrgeTicketRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* bLkvfXKiSngQiE
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* iPbrfXjdNjRoiE
*/
@NameInMap("openTicketId")
public String openTicketId;
/**
* This parameter is required.
*
* example:
* Dq9hP8Sk2v6vQ6l05nCe5wiEiE
*/
@NameInMap("operatorUnionId")
public String operatorUnionId;
/**
* This parameter is required.
*/
@NameInMap("ticketMemo")
public UrgeTicketRequestTicketMemo ticketMemo;
public static UrgeTicketRequest build(java.util.Map map) throws Exception {
UrgeTicketRequest self = new UrgeTicketRequest();
return TeaModel.build(map, self);
}
public UrgeTicketRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public UrgeTicketRequest setOpenTicketId(String openTicketId) {
this.openTicketId = openTicketId;
return this;
}
public String getOpenTicketId() {
return this.openTicketId;
}
public UrgeTicketRequest setOperatorUnionId(String operatorUnionId) {
this.operatorUnionId = operatorUnionId;
return this;
}
public String getOperatorUnionId() {
return this.operatorUnionId;
}
public UrgeTicketRequest setTicketMemo(UrgeTicketRequestTicketMemo ticketMemo) {
this.ticketMemo = ticketMemo;
return this;
}
public UrgeTicketRequestTicketMemo getTicketMemo() {
return this.ticketMemo;
}
public static class UrgeTicketRequestTicketMemoAttachments extends TeaModel {
/**
* example:
* wahaha.txt
*/
@NameInMap("fileName")
public String fileName;
/**
* example:
* ticket/image/44708069/43003/e27204b382c04832aec4243e940a1367_1625831640499.txt
*/
@NameInMap("key")
public String key;
public static UrgeTicketRequestTicketMemoAttachments build(java.util.Map map) throws Exception {
UrgeTicketRequestTicketMemoAttachments self = new UrgeTicketRequestTicketMemoAttachments();
return TeaModel.build(map, self);
}
public UrgeTicketRequestTicketMemoAttachments setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public UrgeTicketRequestTicketMemoAttachments setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
}
public static class UrgeTicketRequestTicketMemo extends TeaModel {
@NameInMap("attachments")
public java.util.List attachments;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("memo")
public String memo;
public static UrgeTicketRequestTicketMemo build(java.util.Map map) throws Exception {
UrgeTicketRequestTicketMemo self = new UrgeTicketRequestTicketMemo();
return TeaModel.build(map, self);
}
public UrgeTicketRequestTicketMemo setAttachments(java.util.List attachments) {
this.attachments = attachments;
return this;
}
public java.util.List getAttachments() {
return this.attachments;
}
public UrgeTicketRequestTicketMemo setMemo(String memo) {
this.memo = memo;
return this;
}
public String getMemo() {
return this.memo;
}
}
}