MetadataSearchFilter

public class MetadataSearchFilter

Provides functionality for creating a Metadata Search Filter.

  • Initializer

    Declaration

    Swift

    public init()
  • Adds a new filter object to our list of filter objects.

    Declaration

    Swift

    public func addFilter(
        templateKey: String,
        fieldKey: String,
        fieldValue: String,
        scope: MetadataScope = MetadataScope.enterprise,
        relation: MetadataFilterBound = MetadataFilterBound.equal
    )

    Parameters

    templateKey

    The template key for the metadata template.

    fieldKey

    The key to add for the metadata filter field.

    fieldValue

    The value to add for the metadata filter field.

    scope

    The scope of the metadata template.

    relation

    The relation between the field key and field value.