mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
34 lines
577 B
Go
34 lines
577 B
Go
// Code generated by Speakeasy (https://speakeasy.com). 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
|
|
}
|