mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
48 lines
1022 B
Go
48 lines
1022 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/formancehq/stack/ledger/client/models/components"
|
|
)
|
|
|
|
type UpdateMappingRequest struct {
|
|
// Name of the ledger.
|
|
Ledger string `pathParam:"style=simple,explode=false,name=ledger"`
|
|
Mapping *components.Mapping `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *UpdateMappingRequest) GetLedger() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Ledger
|
|
}
|
|
|
|
func (o *UpdateMappingRequest) GetMapping() *components.Mapping {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Mapping
|
|
}
|
|
|
|
type UpdateMappingResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// OK
|
|
MappingResponse *components.MappingResponse
|
|
}
|
|
|
|
func (o *UpdateMappingResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *UpdateMappingResponse) GetMappingResponse() *components.MappingResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.MappingResponse
|
|
}
|