mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat(pools): add update query for dynamic pools * fixex after reviews * fix tests
48 lines
1.2 KiB
Go
48 lines
1.2 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/formancehq/payments/pkg/client/models/components"
|
|
)
|
|
|
|
type UpdatePoolQueryRequest struct {
|
|
// The pool ID.
|
|
PoolID string `pathParam:"style=simple,explode=false,name=poolId"`
|
|
UpdatePoolQueryRequest components.UpdatePoolQueryRequest `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *UpdatePoolQueryRequest) GetPoolID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.PoolID
|
|
}
|
|
|
|
func (o *UpdatePoolQueryRequest) GetUpdatePoolQueryRequest() components.UpdatePoolQueryRequest {
|
|
if o == nil {
|
|
return components.UpdatePoolQueryRequest{}
|
|
}
|
|
return o.UpdatePoolQueryRequest
|
|
}
|
|
|
|
type UpdatePoolQueryResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Error
|
|
PaymentsErrorResponse *components.PaymentsErrorResponse
|
|
}
|
|
|
|
func (o *UpdatePoolQueryResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *UpdatePoolQueryResponse) GetPaymentsErrorResponse() *components.PaymentsErrorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PaymentsErrorResponse
|
|
}
|