Class NotificationToken
java.lang.Object
com.caplin.motif.config.definitions.common.NotificationToken
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNotificationToken(String value, NotificationToken.TypeEnum type) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionarguments(Map<String, DisplayFieldArgument> arguments) booleanKey value pair representing each of the parameters of the token.@NotNull NotificationToken.TypeEnumgetType()Type of the value.@NotNull StringgetValue()The value to be applied to the template.inthashCode()putArgumentsItem(String key, DisplayFieldArgument argumentsItem) voidsetArguments(Map<String, DisplayFieldArgument> arguments) voidvoidtoString()
-
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
-