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