mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: David Ragot <[email protected]>
34 lines
653 B
Go
34 lines
653 B
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type ConfigsResponseCursor struct {
|
|
Data []WebhooksConfig `json:"data"`
|
|
HasMore bool `json:"hasMore"`
|
|
}
|
|
|
|
func (o *ConfigsResponseCursor) GetData() []WebhooksConfig {
|
|
if o == nil {
|
|
return []WebhooksConfig{}
|
|
}
|
|
return o.Data
|
|
}
|
|
|
|
func (o *ConfigsResponseCursor) GetHasMore() bool {
|
|
if o == nil {
|
|
return false
|
|
}
|
|
return o.HasMore
|
|
}
|
|
|
|
type ConfigsResponse struct {
|
|
Cursor ConfigsResponseCursor `json:"cursor"`
|
|
}
|
|
|
|
func (o *ConfigsResponse) GetCursor() ConfigsResponseCursor {
|
|
if o == nil {
|
|
return ConfigsResponseCursor{}
|
|
}
|
|
return o.Cursor
|
|
}
|