public class ApproveOrderRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
approvalNodeId
If ApprovalType is set to ADD_APPROVAL_NODE, you need to specify this parameter.
|
String |
approvalNodePos
The position of the new approval node.
|
String |
approvalType
The action that you want to perform on the ticket.
|
String |
comment
The description of the ticket.
|
Long |
newApprover
The ID of the user to which the ticket is transferred.
|
String |
newApproverList
You can specify this parameter if ApprovalType is set to TRANSFER.
|
Long |
oldApprover
The ID of the user that transfers the ticket to another user.
|
String |
realLoginUserUid
The UID of the Alibaba Cloud account that actually calls the API.
|
Long |
tid
The ID of the tenant.
|
Long |
workflowInstanceId
The ID of the approval process.
|
| 构造器和说明 |
|---|
ApproveOrderRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApproveOrderRequest |
build(Map<String,?> map) |
Long |
getApprovalNodeId() |
String |
getApprovalNodePos() |
String |
getApprovalType() |
String |
getComment() |
Long |
getNewApprover() |
String |
getNewApproverList() |
Long |
getOldApprover() |
String |
getRealLoginUserUid() |
Long |
getTid() |
Long |
getWorkflowInstanceId() |
ApproveOrderRequest |
setApprovalNodeId(Long approvalNodeId) |
ApproveOrderRequest |
setApprovalNodePos(String approvalNodePos) |
ApproveOrderRequest |
setApprovalType(String approvalType) |
ApproveOrderRequest |
setComment(String comment) |
ApproveOrderRequest |
setNewApprover(Long newApprover) |
ApproveOrderRequest |
setNewApproverList(String newApproverList) |
ApproveOrderRequest |
setOldApprover(Long oldApprover) |
ApproveOrderRequest |
setRealLoginUserUid(String realLoginUserUid) |
ApproveOrderRequest |
setTid(Long tid) |
ApproveOrderRequest |
setWorkflowInstanceId(Long workflowInstanceId) |
@NameInMap(value="ApprovalNodeId") public Long approvalNodeId
If ApprovalType is set to ADD_APPROVAL_NODE, you need to specify this parameter. The ID of the user that is added as the new approval node. This node must be a user-defined approval node. You can call the ListUserDefineWorkFlowNodes operation to obtain the value of this parameter.
example:1
@NameInMap(value="ApprovalNodePos") public String approvalNodePos
The position of the new approval node. You must specify this parameter if ApprovalType is set to ADD_APPROVAL_NODE. Valid values:
POST_ADD_APPROVAL_NODE
@NameInMap(value="ApprovalType") public String approvalType
The action that you want to perform on the ticket. Valid values:
This parameter is required.
example:agree
@NameInMap(value="Comment") public String comment
The description of the ticket.
example:test
@NameInMap(value="NewApprover") public Long newApprover
The ID of the user to which the ticket is transferred. If ApprovalType is set to TRANSFER, you need to specify this parameter.
example:12***
@NameInMap(value="NewApproverList") public String newApproverList
You can specify this parameter if ApprovalType is set to TRANSFER. You need to only specify one of NewApproverList and NewApprover.
The IDs of the users to whom the ticket is transferred. Separate multiple IDs with commas (,).
example:154***,155***,156***
@NameInMap(value="OldApprover") public Long oldApprover
The ID of the user that transfers the ticket to another user. The default value is the ID of the current user. If the current user is an administrator or a database administrator (DBA), the user can change the value of this parameter to the ID of another user.
example:23***
@NameInMap(value="RealLoginUserUid") public String realLoginUserUid
The UID of the Alibaba Cloud account that actually calls the API.
example:21400447956867****
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID.
example:-1
@NameInMap(value="WorkflowInstanceId") public Long workflowInstanceId
The ID of the approval process. You can call the GetOrderBaseInfo operation to obtain the ID of the approval process.
This parameter is required.
example:1234
public static ApproveOrderRequest build(Map<String,?> map) throws Exception
Exceptionpublic ApproveOrderRequest setApprovalNodeId(Long approvalNodeId)
public Long getApprovalNodeId()
public ApproveOrderRequest setApprovalNodePos(String approvalNodePos)
public String getApprovalNodePos()
public ApproveOrderRequest setApprovalType(String approvalType)
public String getApprovalType()
public ApproveOrderRequest setComment(String comment)
public String getComment()
public ApproveOrderRequest setNewApprover(Long newApprover)
public Long getNewApprover()
public ApproveOrderRequest setNewApproverList(String newApproverList)
public String getNewApproverList()
public ApproveOrderRequest setOldApprover(Long oldApprover)
public Long getOldApprover()
public ApproveOrderRequest setRealLoginUserUid(String realLoginUserUid)
public String getRealLoginUserUid()
public ApproveOrderRequest setTid(Long tid)
public Long getTid()
public ApproveOrderRequest setWorkflowInstanceId(Long workflowInstanceId)
public Long getWorkflowInstanceId()
Copyright © 2025. All rights reserved.