Package io.quarkus.analytics.dto.segment
Class Track
- java.lang.Object
-
- io.quarkus.analytics.dto.segment.Track
-
- All Implemented Interfaces:
Serializable
public class Track extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrack.EventPropertyNamesstatic classTrack.TrackBuilder
-
Constructor Summary
Constructors Constructor Description Track()Track(String userId, TrackEventType event, TrackProperties properties, Map<String,Object> context, Instant timestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Track.TrackBuilderbuilder()Map<String,Object>getContext()TrackEventTypegetEvent()TrackPropertiesgetProperties()InstantgetTimestamp()StringgetUserId()voidsetContext(Map<String,Object> context)voidsetEvent(TrackEventType event)voidsetProperties(TrackProperties properties)voidsetTimestamp(Instant timestamp)voidsetUserId(String userId)
-
-
-
Constructor Detail
-
Track
public Track()
-
Track
public Track(String userId, TrackEventType event, TrackProperties properties, Map<String,Object> context, Instant timestamp)
-
-
Method Detail
-
builder
public static Track.TrackBuilder builder()
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getEvent
public TrackEventType getEvent()
-
setEvent
public void setEvent(TrackEventType event)
-
getProperties
public TrackProperties getProperties()
-
setProperties
public void setProperties(TrackProperties properties)
-
getTimestamp
public Instant getTimestamp()
-
setTimestamp
public void setTimestamp(Instant timestamp)
-
-