Package com.intercom.api.types
Class CreateDataEventRequest.WithId
- java.lang.Object
-
- com.intercom.api.types.CreateDataEventRequest.WithId
-
- Enclosing class:
- CreateDataEventRequest
public static final class CreateDataEventRequest.WithId extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateDataEventRequest.WithId._FinalStagestatic classCreateDataEventRequest.WithId.Builderstatic interfaceCreateDataEventRequest.WithId.CreatedAtStagestatic interfaceCreateDataEventRequest.WithId.EventNameStagestatic interfaceCreateDataEventRequest.WithId.IdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDataEventRequest.WithId.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()intgetCreatedAt()java.lang.StringgetEventName()java.lang.StringgetId()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>getMetadata()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- The unique identifier for the contact (lead or user) which is given by Intercom.
-
getEventName
public java.lang.String getEventName()
- Returns:
- 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.
-
getCreatedAt
public int getCreatedAt()
- Returns:
- The time the event occurred as a UTC Unix timestamp
-
getMetadata
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> getMetadata()
- Returns:
- Optional metadata about the event.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static CreateDataEventRequest.WithId.IdStage builder()
-
-