-
Notifications
You must be signed in to change notification settings - Fork 2
/
listappsresponse.go
27 lines (23 loc) · 966 Bytes
/
listappsresponse.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
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
// The ListAppsResponse message contains a list of results and a nextPageToken if applicable.
type ListAppsResponse struct {
// The list of results containing up to X results, where X is the page size defined in the request.
List []App `json:"list,omitempty"`
// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
// The server returns one page of results and the nextPageToken until all results are retreived.
// To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
NextPageToken *string `json:"nextPageToken,omitempty"`
}
func (o *ListAppsResponse) GetList() []App {
if o == nil {
return nil
}
return o.List
}
func (o *ListAppsResponse) GetNextPageToken() *string {
if o == nil {
return nil
}
return o.NextPageToken
}