Package org.graylog.events.notifications
Class NotificationDto
java.lang.Object
org.graylog.events.notifications.NotificationDto
- All Implemented Interfaces:
ContentPackable,MongoEntity
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationDto.Builderbuilder()abstract EventNotificationConfigconfig()abstract Stringabstract Stringid()ID of the entity.abstract Stringtitle()abstract NotificationDto.BuildertoContentPackEntity(EntityDescriptorIds entityDescriptorIds) validate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntity
-
Field Details
-
FIELD_ID
- See Also:
-
FIELD_TITLE
- See Also:
-
FIELD_DESCRIPTION
- See Also:
-
-
Constructor Details
-
NotificationDto
public NotificationDto()
-
-
Method Details
-
id
Description copied from interface:MongoEntityID of the entity. Will be stored as field "_id" with type ObjectId in MongoDB.- Specified by:
idin interfaceMongoEntity- Returns:
- Hex string representation of the entity's ID
-
title
-
description
-
config
-
builder
-
toBuilder
-
validate
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable
-