TransformationSettings

public struct TransformationSettings

Configuration for a data transformation.

  • id

    Unique identifier for this transformation.

    Declaration

    Swift

    public let id: String
  • Identifier of the transformer to use.

    Declaration

    Swift

    public let transformerId: String
  • Scope where this transformation applies.

    Declaration

    Swift

    public let scope: TransformationScope
  • Configuration data for the transformer.

    Declaration

    Swift

    public let configuration: DataObject
  • Optional conditions for when to apply the transformation.

    Declaration

    Swift

    public let conditions: Rule<Condition>?
  • Execution order. Lower values run first; defaults to Int.max when unspecified.

    Declaration

    Swift

    public let order: Int
  • Creates transformation settings with the specified parameters.

    Declaration

    Swift

    public init(id: String,
                transformerId: String,
                scope: TransformationScope,
                configuration: DataObject = [:],
                conditions: Rule<Condition>? = nil,
                order: Int? = nil)

    Parameters

    id

    Unique identifier for this transformation.

    transformerId

    Identifier of the transformer to use.

    scope

    Scope where this transformation applies.

    configuration

    Configuration data for the transformer.

    conditions

    Optional conditions for when to apply the transformation.

    order

    Execution order. Lower values run first; defaults to Int.max when unspecified.