# Deep Security Manager REST API

## Name: QueryDefinition

A Smart Folder Query Definition.

JSON Example:
    {"QueryDefinition":
     {
       "operatorList": [QueryDefinitionElement],
       "queryKey": QueryDefinitionElement,
       "secondaryOperatorList": [QueryDefinitionElement],
       "secondaryValueHelp": String,
       "secondaryValueList": [QueryDefinitionElement],
       "secondaryValueType": 'STRING' | 'LIST' | 'DATE' | 'NUMBER' | 'NONE',
       "valueHelp": String,
       "valueList": [QueryDefinitionElement],
       "valueType": 'STRING' | 'LIST' | 'DATE' | 'NUMBER' | 'NONE',
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
operatorList | zero or N[QueryDefinitionElement] | Yes | `` | Gets the list of allowed operators for first key.
queryKey | QueryDefinitionElement | Yes | `` | Gets the main key of the Query Definition.
secondaryOperatorList | zero or N[QueryDefinitionElement] | No | `` | Gets the list of allowed operators for the second key.
secondaryValueHelp | String | No | `` | Gets The help text to show for the secondary value.
secondaryValueList | zero or N[QueryDefinitionElement] | No | `` | Gets The list of allowed values for the second key.
secondaryValueType | 'STRING' | 'LIST' | 'DATE' | 'NUMBER' | 'NONE' | Yes | `` | Gets the variable type for the first value.
valueHelp | String | No | `` | Gets The help text to show for the primary value.
valueList | zero or N[QueryDefinitionElement] | No | `` | Gets the list of allowed values for the first key.
valueType | 'STRING' | 'LIST' | 'DATE' | 'NUMBER' | 'NONE' | Yes | `` | Gets the variable type for the first value.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.