Files
stack/releases/sdks/go/pkg/models/shared/configsresponse.go

34 lines
650 B
Go

// Code generated by Speakeasy (https://speakeasy.com). 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
}