mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat: connectors sdks test e2e * feat: account sdks tests e2e * feat: bank accounts sdks tests e2e * feat: payments sdks tests e2e * feat: pi tests e2e with sdk * feat: pools with sdk e2e tests
51 lines
989 B
Go
51 lines
989 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
type ConnectorsResponseData struct {
|
|
Provider Connector `json:"provider"`
|
|
Name string `json:"name"`
|
|
ConnectorID string `json:"connectorID"`
|
|
Enabled *bool `json:"enabled,omitempty"`
|
|
}
|
|
|
|
func (o *ConnectorsResponseData) GetProvider() Connector {
|
|
if o == nil {
|
|
return Connector("")
|
|
}
|
|
return o.Provider
|
|
}
|
|
|
|
func (o *ConnectorsResponseData) GetName() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Name
|
|
}
|
|
|
|
func (o *ConnectorsResponseData) GetConnectorID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ConnectorID
|
|
}
|
|
|
|
func (o *ConnectorsResponseData) GetEnabled() *bool {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Enabled
|
|
}
|
|
|
|
// ConnectorsResponse - OK
|
|
type ConnectorsResponse struct {
|
|
Data []ConnectorsResponseData `json:"data"`
|
|
}
|
|
|
|
func (o *ConnectorsResponse) GetData() []ConnectorsResponseData {
|
|
if o == nil {
|
|
return []ConnectorsResponseData{}
|
|
}
|
|
return o.Data
|
|
}
|