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