The class representing the saved query
name | data type | description |
---|---|---|
id | number | ID of the saved query (unique) |
name | string | Name of the saved query |
description | string | Description of the saved query |
query | string | The actual query. Should adhere to HQL syntax |
parameters | array of array of Parameter | Parameters that are used in the query |
Example
{ "id" : 12345, "name" : "...", "description" : "...", "query" : "...", "parameters" : [ [ { "name" : "...", "displayName" : "...", "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ], "dataType" : "NUMBER", "collectionType" : "SINGLE" }, { "name" : "...", "displayName" : "...", "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ], "dataType" : "NUMBER", "collectionType" : "MULTIPLE" } ], [ { "name" : "...", "displayName" : "...", "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ], "dataType" : "BOOLEAN", "collectionType" : "MULTIPLE" }, { "name" : "...", "displayName" : "...", "defaultValue" : [ [ "...", "..." ], [ "...", "..." ] ], "dataType" : "BOOLEAN", "collectionType" : "SINGLE" } ] ] }