public class CreateOrderRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
attachmentKey
The key of an attachment that is returned after the attachment is uploaded.
|
String |
comment
The description of the ticket to be created.
|
Map<String,?> |
pluginParam
The ticket creation parameter.
|
String |
pluginType
The type of the ticket.
|
String |
relatedUserList
The IDs of the stakeholders that are involved in the ticket.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
CreateOrderRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateOrderRequest |
build(Map<String,?> map) |
String |
getAttachmentKey() |
String |
getComment() |
Map<String,?> |
getPluginParam() |
String |
getPluginType() |
String |
getRelatedUserList() |
Long |
getTid() |
CreateOrderRequest |
setAttachmentKey(String attachmentKey) |
CreateOrderRequest |
setComment(String comment) |
CreateOrderRequest |
setPluginParam(Map<String,?> pluginParam) |
CreateOrderRequest |
setPluginType(String pluginType) |
CreateOrderRequest |
setRelatedUserList(String relatedUserList) |
CreateOrderRequest |
setTid(Long tid) |
@NameInMap(value="AttachmentKey") public String attachmentKey
The key of an attachment that is returned after the attachment is uploaded. You can call the GetUserUploadFileJob operation to query the key of the attachment.
example:test_AttachmentKey
@NameInMap(value="Comment") public String comment
The description of the ticket to be created.
This parameter is required.
example:test
@NameInMap(value="PluginParam") public Map<String,?> pluginParam
The ticket creation parameter. The value is a JSON string. The value of this parameter differs based on the type of the ticket. For more information, see the PluginParam parameter section in this topic.
This parameter is required.
example:{PluginParam_test}
@NameInMap(value="PluginType") public String pluginType
The type of the ticket. For more information, see PluginType parameter.
This parameter is required.
example:DATA_EXPORT
@NameInMap(value="RelatedUserList") public String relatedUserList
The IDs of the stakeholders that are involved in the ticket. Separate multiple IDs with commas (,).
example:user1,user2
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.
example:3***
public static CreateOrderRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateOrderRequest setAttachmentKey(String attachmentKey)
public String getAttachmentKey()
public CreateOrderRequest setComment(String comment)
public String getComment()
public CreateOrderRequest setPluginParam(Map<String,?> pluginParam)
public CreateOrderRequest setPluginType(String pluginType)
public String getPluginType()
public CreateOrderRequest setRelatedUserList(String relatedUserList)
public String getRelatedUserList()
public CreateOrderRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.