Class NotificationTemplates
- java.lang.Object
-
- com.courier.api.resources.templates.types.NotificationTemplates
-
public final class NotificationTemplates extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationTemplates._FinalStagestatic classNotificationTemplates.Builderstatic interfaceNotificationTemplates.CreatedAtStagestatic interfaceNotificationTemplates.IdStagestatic interfaceNotificationTemplates.RoutingStagestatic interfaceNotificationTemplates.TitleStagestatic interfaceNotificationTemplates.UpdatedAtStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationTemplates.CreatedAtStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()intgetCreatedAt()java.lang.StringgetId()RoutingStrategygetRouting()java.util.List<Tag>getTags()java.lang.StringgetTitle()intgetUpdatedAt()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getCreatedAt
public int getCreatedAt()
- Returns:
- A UTC timestamp at which notification was created. This is stored as a millisecond representation of the Unix epoch (the time passed since January 1, 1970).
-
getId
public java.lang.String getId()
- Returns:
- A unique identifier associated with the notification.
-
getRouting
public RoutingStrategy getRouting()
- Returns:
- Routing strategy used by this notification.
-
getTags
public java.util.List<Tag> getTags()
- Returns:
- A list of tags attached to the notification.
-
getTitle
public java.lang.String getTitle()
- Returns:
- The title of the notification.
-
getUpdatedAt
public int getUpdatedAt()
- Returns:
- A UTC timestamp at which notification was updated. This is stored as a millisecond representation of the Unix epoch (the time passed since January 1, 1970).
-
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 NotificationTemplates.CreatedAtStage builder()
-
-