Files

48 lines
1.0 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"github.com/formancehq/stack/ledger/client/models/components"
)
type V2CreateBulkRequest struct {
// Name of the ledger.
Ledger string `pathParam:"style=simple,explode=false,name=ledger"`
RequestBody []components.V2BulkElement `request:"mediaType=application/json"`
}
func (o *V2CreateBulkRequest) GetLedger() string {
if o == nil {
return ""
}
return o.Ledger
}
func (o *V2CreateBulkRequest) GetRequestBody() []components.V2BulkElement {
if o == nil {
return nil
}
return o.RequestBody
}
type V2CreateBulkResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// OK
V2BulkResponse *components.V2BulkResponse
}
func (o *V2CreateBulkResponse) GetHTTPMeta() components.HTTPMetadata {
if o == nil {
return components.HTTPMetadata{}
}
return o.HTTPMeta
}
func (o *V2CreateBulkResponse) GetV2BulkResponse() *components.V2BulkResponse {
if o == nil {
return nil
}
return o.V2BulkResponse
}