MappingParameters
data class MappingParameters(val reference: ReferenceContainer?, val filter: StringContainer?, val mapTo: ValueContainer?) : DataObjectConvertible
An object representing the possible configuration options of a mapping.
Users are not expected to create instances of this class directly, but mappings should typically be created through the provided builder: Mappings
Parameters
reference
an optional reference to the key used by this mapping to find the value
filter
an optional filter, that the reference should be equal to in order for the mapping to be applied
mapTo
a constant value to map instead of the value found at the reference
See also
Functions
Link copied to clipboard
Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:
Link copied to clipboard
Should return an instance of a asDataObject that represents all required properties of the implementing class, such that it could be: