File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ package models
2+
3+ type BodyRequestCodeNextPage struct {
4+ Size int `json:"size"`
5+ Query Query `json:"query"`
6+ Sort []Sort `json:"sort"`
7+ SearchAfter []int64 `json:"search_after"`
8+ }
9+
10+ type BodyRequestCode struct {
11+ Size int `json:"size"`
12+ Query Query `json:"query"`
13+ Sort []Sort `json:"sort"`
14+ }
15+
16+ type Query struct {
17+ Bool Bool `json:"bool"`
18+ }
19+
20+ type Bool struct {
21+ Must []Must `json:"must"`
22+ }
23+
24+ type Must struct {
25+ Match Match `json:"match"`
26+ }
27+
28+ type Match struct {
29+ ClasseCodigo int `json:"classe.codigo,omitempty"`
30+ OrgaoJulgadorCodigo int `json:"orgaoJulgador.codigo,omitempty"`
31+ }
32+
33+ type Sort struct {
34+ Timestamp `json:"@timestamp"`
35+ }
36+
37+ type Timestamp struct {
38+ Order string `json:"order"`
39+ }
You can’t perform that action at this time.
0 commit comments