Files
stack/releases/sdks/go/pkg/models/shared/v2ledgerinfo.go

34 lines
647 B
Go

// Code generated by Speakeasy (https://speakeasy.com). 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
}