Name | Type | Description | Notes |
---|---|---|---|
ApiVersion | string | ||
ServerVersion | string |
func NewVersion(apiVersion string, serverVersion 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
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
func (o *Version) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *Version) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Version) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *Version) GetServerVersion() string
GetServerVersion returns the ServerVersion field if non-nil, zero value otherwise.
func (o *Version) GetServerVersionOk() (*string, bool)
GetServerVersionOk returns a tuple with the ServerVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Version) SetServerVersion(v string)
SetServerVersion sets ServerVersion field to given value.