1.9 KiB
Version
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | ||
| Versions | map[string]string |
Methods
NewVersion
func NewVersion(name string, versions map[string]string, ) *Version
NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewVersionWithDefaults
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetName
func (o *Version) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Version) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *Version) SetName(v string)
SetName sets Name field to given value.
GetVersions
func (o *Version) GetVersions() map[string]string
GetVersions returns the Versions field if non-nil, zero value otherwise.
GetVersionsOk
func (o *Version) GetVersionsOk() (*map[string]string, bool)
GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVersions
func (o *Version) SetVersions(v map[string]string)
SetVersions sets Versions field to given value.