Files
Paul NicolasandGitHub 1c854a145c feat(pools): add possibility to create dynamic pool (#598)
* feat(pools): add dynamic pools creation

* fix(pools): fix missing json handling

* feat(openapi): add pool type enum
2025-11-24 12:50:07 +00:00

47 lines
774 B
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
type Pool struct {
ID string `json:"id"`
Name string `json:"name"`
Type PoolTypeEnum `json:"type"`
Query map[string]any `json:"query,omitempty"`
Accounts []string `json:"accounts"`
}
func (o *Pool) GetID() string {
if o == nil {
return ""
}
return o.ID
}
func (o *Pool) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *Pool) GetType() PoolTypeEnum {
if o == nil {
return PoolTypeEnum("")
}
return o.Type
}
func (o *Pool) GetQuery() map[string]any {
if o == nil {
return nil
}
return o.Query
}
func (o *Pool) GetAccounts() []string {
if o == nil {
return []string{}
}
return o.Accounts
}