TransformationSettings Structure Reference
public struct TransformationSettings
extension TransformationSettings: DataObjectConvertible
Configuration for a data transformation.
-
Unique identifier for this transformation.
Declaration
Swift
public let id: String -
Identifier of the transformer to use.
Declaration
Swift
public let transformerId: String -
Scopes where this transformation applies.
Declaration
Swift
public let scopes: [TransformationScope] -
Configuration data for the transformer.
Declaration
Swift
public let configuration: DataObject -
Creates transformation settings with the specified parameters.
Declaration
Swift
public init(id: String, transformerId: String, scopes: [TransformationScope], configuration: DataObject = [:], conditions: Rule<Condition>? = nil)Parameter Description idUnique identifier for this transformation.
transformerIdIdentifier of the transformer to use.
scopesScopes where this transformation applies.
configurationConfiguration data for the transformer.
conditionsOptional conditions for when to apply the transformation.
-
Declaration
Swift
public func toDataObject() -> DataObject