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]>
34 lines
580 B
Go
34 lines
580 B
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type Storage struct {
|
|
Migrations []MigrationInfo `json:"migrations,omitempty"`
|
|
}
|
|
|
|
func (o *Storage) GetMigrations() []MigrationInfo {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Migrations
|
|
}
|
|
|
|
type LedgerInfo struct {
|
|
Name *string `json:"name,omitempty"`
|
|
Storage *Storage `json:"storage,omitempty"`
|
|
}
|
|
|
|
func (o *LedgerInfo) GetName() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Name
|
|
}
|
|
|
|
func (o *LedgerInfo) GetStorage() *Storage {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Storage
|
|
}
|