/
SearchRequest.go
63 lines (61 loc) · 2.01 KB
/
SearchRequest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package jiradata
/////////////////////////////////////////////////////////////////////////
// This Code is Generated by SlipScheme Project:
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
// SearchRequest defined from schema:
// {
// "title": "Search Request",
// "id": "https://docs.atlassian.com/jira/REST/schema/search-request#",
// "type": "object",
// "properties": {
// "fields": {
// "title": "fields",
// "type": "array",
// "items": {
// "type": "string"
// }
// },
// "fieldsByKeys": {
// "title": "fieldsByKeys",
// "type": "boolean"
// },
// "jql": {
// "title": "jql",
// "type": "string"
// },
// "maxResults": {
// "title": "maxResults",
// "type": "integer"
// },
// "properties": {
// "title": "properties",
// "type": "array",
// "items": {
// "type": "string"
// }
// },
// "startAt": {
// "title": "startAt",
// "type": "integer"
// },
// "validateQuery": {
// "title": "validateQuery",
// "type": "string"
// }
// }
// }
type SearchRequest struct {
Fields Fields `json:"fields,omitempty" yaml:"fields,omitempty"`
FieldsByKeys bool `json:"fieldsByKeys,omitempty" yaml:"fieldsByKeys,omitempty"`
JQL string `json:"jql,omitempty" yaml:"jql,omitempty"`
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
Properties Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
ValidateQuery string `json:"validateQuery,omitempty" yaml:"validateQuery,omitempty"`
}