-
Notifications
You must be signed in to change notification settings - Fork 2
/
searchappsrequest.go
70 lines (61 loc) · 1.68 KB
/
searchappsrequest.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
64
65
66
67
68
69
70
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
// SearchAppsRequest - Search Apps by a few properties.
type SearchAppsRequest struct {
// A list of app IDs to restrict the search to.
AppIds []string `json:"appIds,omitempty"`
// Search for apps with a case insensitive match on the display name.
DisplayName *string `json:"displayName,omitempty"`
// A list of app IDs to remove from the results.
ExcludeAppIds []string `json:"excludeAppIds,omitempty"`
// Only return apps which are directories
OnlyDirectories *bool `json:"onlyDirectories,omitempty"`
// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
PageSize *int `json:"pageSize,omitempty"`
// The pageToken field.
PageToken *string `json:"pageToken,omitempty"`
// Query the apps with a fuzzy search on display name and description.
Query *string `json:"query,omitempty"`
}
func (o *SearchAppsRequest) GetAppIds() []string {
if o == nil {
return nil
}
return o.AppIds
}
func (o *SearchAppsRequest) GetDisplayName() *string {
if o == nil {
return nil
}
return o.DisplayName
}
func (o *SearchAppsRequest) GetExcludeAppIds() []string {
if o == nil {
return nil
}
return o.ExcludeAppIds
}
func (o *SearchAppsRequest) GetOnlyDirectories() *bool {
if o == nil {
return nil
}
return o.OnlyDirectories
}
func (o *SearchAppsRequest) GetPageSize() *int {
if o == nil {
return nil
}
return o.PageSize
}
func (o *SearchAppsRequest) GetPageToken() *string {
if o == nil {
return nil
}
return o.PageToken
}
func (o *SearchAppsRequest) GetQuery() *string {
if o == nil {
return nil
}
return o.Query
}