Package com.chrt.api.types
Class OperationsCaseGroupAssignedWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.OperationsCaseGroupAssignedWebhookPayload.Builder
-
- All Implemented Interfaces:
OperationsCaseGroupAssignedWebhookPayload._FinalStage,OperationsCaseGroupAssignedWebhookPayload.CaseIdStage,OperationsCaseGroupAssignedWebhookPayload.DepartmentIdStage,OperationsCaseGroupAssignedWebhookPayload.EventTimestampStage,OperationsCaseGroupAssignedWebhookPayload.OrderIdStage
- Enclosing class:
- OperationsCaseGroupAssignedWebhookPayload
public static final class OperationsCaseGroupAssignedWebhookPayload.Builder extends java.lang.Object implements OperationsCaseGroupAssignedWebhookPayload.EventTimestampStage, OperationsCaseGroupAssignedWebhookPayload.CaseIdStage, OperationsCaseGroupAssignedWebhookPayload.OrderIdStage, OperationsCaseGroupAssignedWebhookPayload.DepartmentIdStage, OperationsCaseGroupAssignedWebhookPayload._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public OperationsCaseGroupAssignedWebhookPayload.Builder from(OperationsCaseGroupAssignedWebhookPayload other)
- Specified by:
fromin interfaceOperationsCaseGroupAssignedWebhookPayload.EventTimestampStage
-
eventTimestamp
public OperationsCaseGroupAssignedWebhookPayload.CaseIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceOperationsCaseGroupAssignedWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
caseId
public OperationsCaseGroupAssignedWebhookPayload.OrderIdStage caseId(@NotNull java.lang.String caseId)
The case that was assigned to a group
The case that was assigned to a group
- Specified by:
caseIdin interfaceOperationsCaseGroupAssignedWebhookPayload.CaseIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public OperationsCaseGroupAssignedWebhookPayload.DepartmentIdStage orderId(@NotNull java.lang.String orderId)
The order associated with the case
The order associated with the case
- Specified by:
orderIdin interfaceOperationsCaseGroupAssignedWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
departmentId
public OperationsCaseGroupAssignedWebhookPayload._FinalStage departmentId(@NotNull java.lang.String departmentId)
The department the case was assigned to
The department the case was assigned to
- Specified by:
departmentIdin interfaceOperationsCaseGroupAssignedWebhookPayload.DepartmentIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllOperatorUserIds
public OperationsCaseGroupAssignedWebhookPayload._FinalStage addAllOperatorUserIds(java.util.List<java.lang.String> operatorUserIds)
Operators in the assigned department
- Specified by:
addAllOperatorUserIdsin interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addOperatorUserIds
public OperationsCaseGroupAssignedWebhookPayload._FinalStage addOperatorUserIds(java.lang.String operatorUserIds)
Operators in the assigned department
- Specified by:
addOperatorUserIdsin interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
operatorUserIds
public OperationsCaseGroupAssignedWebhookPayload._FinalStage operatorUserIds(java.util.List<java.lang.String> operatorUserIds)
Operators in the assigned department
- Specified by:
operatorUserIdsin interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage
-
eventType
public OperationsCaseGroupAssignedWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage
-
eventType
public OperationsCaseGroupAssignedWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage
-
build
public OperationsCaseGroupAssignedWebhookPayload build()
- Specified by:
buildin interfaceOperationsCaseGroupAssignedWebhookPayload._FinalStage
-
-