Class NotificationToken
java.lang.Object
com.caplin.motif.config.definitions.common.NotificationToken
@Generated("org.openapitools.codegen.languages.SpringCodegen")
public class NotificationToken
extends Object
Notification token representing a header or a message. Type Text can be used for plain text notification and type token with arguments for parameterised tokens.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionNotificationToken
(String value, NotificationToken.TypeEnum type) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionarguments
(Map<String, DisplayFieldArgument> arguments) boolean
Key value pair representing each of the parameters of the token.@NotNull NotificationToken.TypeEnum
getType()
Type of the value.@NotNull String
getValue()
The value to be applied to the template.int
hashCode()
putArgumentsItem
(String key, DisplayFieldArgument argumentsItem) void
setArguments
(Map<String, DisplayFieldArgument> arguments) void
void
toString()
-
Constructor Details
-
NotificationToken
public NotificationToken() -
NotificationToken
Constructor with only required parameters
-
-
Method Details
-
value
-
getValue
The value to be applied to the template.- Returns:
- value
-
setValue
-
type
-
getType
Type of the value. Used by the frontend for formatting. * `TEXT` - Plaintext value that should be displayed unmodified. * `TOKEN` - Translation token. The token must be known to the frontend.- Returns:
- type
-
setType
-
arguments
-
putArgumentsItem
-
getArguments
Key value pair representing each of the parameters of the token.- Returns:
- arguments
-
setArguments
-
equals
-
hashCode
public int hashCode() -
toString
-