Class ComparisonFilter
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class ComparisonFilter : IFileSearchFilter
Properties
| Edit this page View SourceKey
Required. The key to compare against the value.
Declaration
[JsonProperty("key")]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Required. Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
Declaration
[JsonProperty("type")]
public ComparisonType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ComparisonType |
Value
Required. The value to compare against the attribute key; supports string, number, or boolean types.
Declaration
[JsonProperty("value")]
public object Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |