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]>
39 lines
813 B
Go
39 lines
813 B
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type V2Account struct {
|
|
Address string `json:"address"`
|
|
EffectiveVolumes map[string]V2Volume `json:"effectiveVolumes,omitempty"`
|
|
Metadata map[string]string `json:"metadata"`
|
|
Volumes map[string]V2Volume `json:"volumes,omitempty"`
|
|
}
|
|
|
|
func (o *V2Account) GetAddress() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Address
|
|
}
|
|
|
|
func (o *V2Account) GetEffectiveVolumes() map[string]V2Volume {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.EffectiveVolumes
|
|
}
|
|
|
|
func (o *V2Account) GetMetadata() map[string]string {
|
|
if o == nil {
|
|
return map[string]string{}
|
|
}
|
|
return o.Metadata
|
|
}
|
|
|
|
func (o *V2Account) GetVolumes() map[string]V2Volume {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Volumes
|
|
}
|