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