Files

49 lines
1.0 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"github.com/hanzo-fi/webhooks/pkg/client/models/components"
)
type GetManyConfigsRequest struct {
// Optional filter by Config ID
ID *string `queryParam:"style=form,explode=true,name=id"`
// Optional filter by endpoint URL
Endpoint *string `queryParam:"style=form,explode=true,name=endpoint"`
}
func (o *GetManyConfigsRequest) GetID() *string {
if o == nil {
return nil
}
return o.ID
}
func (o *GetManyConfigsRequest) GetEndpoint() *string {
if o == nil {
return nil
}
return o.Endpoint
}
type GetManyConfigsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
ConfigsResponse *components.ConfigsResponse
}
func (o *GetManyConfigsResponse) GetHTTPMeta() components.HTTPMetadata {
if o == nil {
return components.HTTPMetadata{}
}
return o.HTTPMeta
}
func (o *GetManyConfigsResponse) GetConfigsResponse() *components.ConfigsResponse {
if o == nil {
return nil
}
return o.ConfigsResponse
}