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]>
31 lines
474 B
Go
31 lines
474 B
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type Version struct {
|
|
Health bool `json:"health"`
|
|
Name string `json:"name"`
|
|
Version string `json:"version"`
|
|
}
|
|
|
|
func (o *Version) GetHealth() bool {
|
|
if o == nil {
|
|
return false
|
|
}
|
|
return o.Health
|
|
}
|
|
|
|
func (o *Version) GetName() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Name
|
|
}
|
|
|
|
func (o *Version) GetVersion() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Version
|
|
}
|