mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: David Ragot <[email protected]>
68 lines
1.5 KiB
Go
68 lines
1.5 KiB
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/formancehq/formance-sdk-go/pkg/models/shared"
|
|
"net/http"
|
|
)
|
|
|
|
type ConnectorsTransferRequest struct {
|
|
TransferRequest shared.TransferRequest `request:"mediaType=application/json"`
|
|
// The name of the connector.
|
|
Connector shared.Connector `pathParam:"style=simple,explode=false,name=connector"`
|
|
}
|
|
|
|
func (o *ConnectorsTransferRequest) GetTransferRequest() shared.TransferRequest {
|
|
if o == nil {
|
|
return shared.TransferRequest{}
|
|
}
|
|
return o.TransferRequest
|
|
}
|
|
|
|
func (o *ConnectorsTransferRequest) GetConnector() shared.Connector {
|
|
if o == nil {
|
|
return shared.Connector("")
|
|
}
|
|
return o.Connector
|
|
}
|
|
|
|
type ConnectorsTransferResponse struct {
|
|
// HTTP response content type for this operation
|
|
ContentType string
|
|
// HTTP response status code for this operation
|
|
StatusCode int
|
|
// Raw HTTP response; suitable for custom response parsing
|
|
RawResponse *http.Response
|
|
// OK
|
|
TransferResponse *shared.TransferResponse
|
|
}
|
|
|
|
func (o *ConnectorsTransferResponse) GetContentType() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ContentType
|
|
}
|
|
|
|
func (o *ConnectorsTransferResponse) GetStatusCode() int {
|
|
if o == nil {
|
|
return 0
|
|
}
|
|
return o.StatusCode
|
|
}
|
|
|
|
func (o *ConnectorsTransferResponse) GetRawResponse() *http.Response {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.RawResponse
|
|
}
|
|
|
|
func (o *ConnectorsTransferResponse) GetTransferResponse() *shared.TransferResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.TransferResponse
|
|
}
|