blob: c8aa1a3129fab08b6cf675684a59e8f2381f4b59 (
plain)
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
|
package models
type BucketsSearchParams struct {
Limit int
Start int
}
type BucketsFilesSearchParams struct {
Keywords string
Extensions string
Buckets string
Limit int
Start int
}
type CreditsInfo struct {
Remaining int `json:"remaining"`
Unlimited bool `json:"unlimited"`
}
type BucketsSearchResponse struct {
Credits CreditsInfo `json:"credits"`
Results interface{} `json:"results"`
}
type BucketsFilesSearchResponse struct {
Credits CreditsInfo `json:"credits"`
Results interface{} `json:"results"`
}
|