Package com.intercom.api.types
Class CreateDataEventRequest.WithId.Builder
java.lang.Object
com.intercom.api.types.CreateDataEventRequest.WithId.Builder
- All Implemented Interfaces:
CreateDataEventRequest.WithId._FinalStage,CreateDataEventRequest.WithId.CreatedAtStage,CreateDataEventRequest.WithId.EventNameStage,CreateDataEventRequest.WithId.IdStage
- Enclosing class:
CreateDataEventRequest.WithId
public static final class CreateDataEventRequest.WithId.Builder
extends Object
implements CreateDataEventRequest.WithId.IdStage, CreateDataEventRequest.WithId.EventNameStage, CreateDataEventRequest.WithId.CreatedAtStage, CreateDataEventRequest.WithId._FinalStage
-
Method Details
-
from
- Specified by:
fromin interfaceCreateDataEventRequest.WithId.IdStage
-
id
The unique identifier for the contact (lead or user) which is given by Intercom.
- Specified by:
idin interfaceCreateDataEventRequest.WithId.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventName
The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example
updated-plan.- Specified by:
eventNamein interfaceCreateDataEventRequest.WithId.EventNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
The time the event occurred as a UTC Unix timestamp
- Specified by:
createdAtin interfaceCreateDataEventRequest.WithId.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
Optional metadata about the event.
- Specified by:
metadatain interfaceCreateDataEventRequest.WithId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceCreateDataEventRequest.WithId._FinalStage
-
build
- Specified by:
buildin interfaceCreateDataEventRequest.WithId._FinalStage
-