InsertionMethod

data class InsertionMethod(val type: String = "InsertionMethod", val destinationImportMode: DestinationImportMode, val availabilityPredicate: String, val matchingKeyPredicate: String? = null, val requiredPredicate: String)

Component that defines the details of a specific operation will perform the insertion such as sync mode and field predicates.

Note: The availability_predicate and required_predicate are currently marked as required fields. We suspect that they can be optional fields with assumed default behavior:

  • availability_predicate: Defaults to always available Predicate { _ -> true }

  • required_predicate: Defaults to all fields are not required Predicate { _ -> false }

Even though we know what sensible defaults should be and could make these optional, we are leaving them required because it is easier later down the line to make a required field optional instead of vice versa which would be breaking. We can change this later to improve DX.

Constructors

Link copied to clipboard
constructor(type: String = "InsertionMethod", destinationImportMode: DestinationImportMode, availabilityPredicate: String, matchingKeyPredicate: String? = null, requiredPredicate: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard