Package com.chrt.api.types
Class ListingListingDriverInvitedToBidWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.ListingListingDriverInvitedToBidWebhookPayload.Builder
-
- All Implemented Interfaces:
ListingListingDriverInvitedToBidWebhookPayload._FinalStage,ListingListingDriverInvitedToBidWebhookPayload.EventTimestampStage,ListingListingDriverInvitedToBidWebhookPayload.ListingIdStage,ListingListingDriverInvitedToBidWebhookPayload.OrderIdStage,ListingListingDriverInvitedToBidWebhookPayload.TaskGroupIdStage
- Enclosing class:
- ListingListingDriverInvitedToBidWebhookPayload
public static final class ListingListingDriverInvitedToBidWebhookPayload.Builder extends java.lang.Object implements ListingListingDriverInvitedToBidWebhookPayload.EventTimestampStage, ListingListingDriverInvitedToBidWebhookPayload.ListingIdStage, ListingListingDriverInvitedToBidWebhookPayload.OrderIdStage, ListingListingDriverInvitedToBidWebhookPayload.TaskGroupIdStage, ListingListingDriverInvitedToBidWebhookPayload._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ListingListingDriverInvitedToBidWebhookPayload.Builder from(ListingListingDriverInvitedToBidWebhookPayload other)
- Specified by:
fromin interfaceListingListingDriverInvitedToBidWebhookPayload.EventTimestampStage
-
eventTimestamp
public ListingListingDriverInvitedToBidWebhookPayload.ListingIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceListingListingDriverInvitedToBidWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
listingId
public ListingListingDriverInvitedToBidWebhookPayload.OrderIdStage listingId(@NotNull java.lang.String listingId)
The listing the driver was invited to
The listing the driver was invited to
- Specified by:
listingIdin interfaceListingListingDriverInvitedToBidWebhookPayload.ListingIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public ListingListingDriverInvitedToBidWebhookPayload.TaskGroupIdStage orderId(@NotNull java.lang.String orderId)
The order associated with the listing
The order associated with the listing
- Specified by:
orderIdin interfaceListingListingDriverInvitedToBidWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage taskGroupId(@NotNull java.lang.String taskGroupId)
The task group associated with the listing
The task group associated with the listing
- Specified by:
taskGroupIdin interfaceListingListingDriverInvitedToBidWebhookPayload.TaskGroupIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllDriverIds
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage addAllDriverIds(java.util.List<java.lang.String> driverIds)
Drivers invited to the listing
- Specified by:
addAllDriverIdsin interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addDriverIds
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage addDriverIds(java.lang.String driverIds)
Drivers invited to the listing
- Specified by:
addDriverIdsin interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
driverIds
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage driverIds(java.util.List<java.lang.String> driverIds)
Drivers invited to the listing
- Specified by:
driverIdsin interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage
-
eventType
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage
-
eventType
public ListingListingDriverInvitedToBidWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage
-
build
public ListingListingDriverInvitedToBidWebhookPayload build()
- Specified by:
buildin interfaceListingListingDriverInvitedToBidWebhookPayload._FinalStage
-
-