PluginPostmarkEmailMessageID

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard
open override val maxLength: Int = 40
Link copied to clipboard
open override val maxLines: Int = 1
Link copied to clipboard
open override val minLength: Int = 0
Link copied to clipboard
open val regexPattern: String? = null

The reason why this is a String and not a Regex is that it is easy to make the 'mistake' of creating a new Regex for every object, which is inefficient (both for CPU and RAM). E.g. this would be bad as a new Regex object would be created for each model:

Link copied to clipboard
Link copied to clipboard
open val tags: Set<String>
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun validate(fieldName: String): InvalidParametersProblem?