MatchProperty

public struct MatchProperty : XMLRepresentable

Undocumented

  • Key

    Specifies the possible property keys to match in a property match.

    Declaration

    Swift

    public enum Key : String, Codable
  • A Boolean value indicating whether the property match is enabled.

    Declaration

    Swift

    public var isEnabled: Bool
  • key

    The propery key to match.

    Declaration

    Swift

    public var key: Key
  • The rule to use for the property match.

    Declaration

    Swift

    public var rule: Rule
  • The property value to match.

    Declaration

    Swift

    public var value: String
  • Initializes a new property match.

    Declaration

    Swift

    public init(key: Key, rule: Rule = .includes, value: String)

    Parameters

    key

    The property key to match.

    rule

    The rule to use for the property match, includes by default.

    value

    The property value to match.