forked from lthn/blockchain
161 lines
4 KiB
Markdown
161 lines
4 KiB
Markdown
|
|
# VersionModel
|
||
|
|
|
||
|
|
## Properties
|
||
|
|
|
||
|
|
Name | Type | Description | Notes
|
||
|
|
------------ | ------------- | ------------- | -------------
|
||
|
|
**Version** | Pointer to **string** | | [optional]
|
||
|
|
**VersionLong** | Pointer to **string** | | [optional]
|
||
|
|
**Major** | Pointer to **string** | | [optional]
|
||
|
|
**Minor** | Pointer to **string** | | [optional]
|
||
|
|
**Revision** | Pointer to **string** | | [optional]
|
||
|
|
|
||
|
|
## Methods
|
||
|
|
|
||
|
|
### NewVersionModel
|
||
|
|
|
||
|
|
`func NewVersionModel() *VersionModel`
|
||
|
|
|
||
|
|
NewVersionModel instantiates a new VersionModel 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
|
||
|
|
|
||
|
|
### NewVersionModelWithDefaults
|
||
|
|
|
||
|
|
`func NewVersionModelWithDefaults() *VersionModel`
|
||
|
|
|
||
|
|
NewVersionModelWithDefaults instantiates a new VersionModel 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
|
||
|
|
|
||
|
|
### GetVersion
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetVersion() string`
|
||
|
|
|
||
|
|
GetVersion returns the Version field if non-nil, zero value otherwise.
|
||
|
|
|
||
|
|
### GetVersionOk
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetVersionOk() (*string, bool)`
|
||
|
|
|
||
|
|
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise
|
||
|
|
and a boolean to check if the value has been set.
|
||
|
|
|
||
|
|
### SetVersion
|
||
|
|
|
||
|
|
`func (o *VersionModel) SetVersion(v string)`
|
||
|
|
|
||
|
|
SetVersion sets Version field to given value.
|
||
|
|
|
||
|
|
### HasVersion
|
||
|
|
|
||
|
|
`func (o *VersionModel) HasVersion() bool`
|
||
|
|
|
||
|
|
HasVersion returns a boolean if a field has been set.
|
||
|
|
|
||
|
|
### GetVersionLong
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetVersionLong() string`
|
||
|
|
|
||
|
|
GetVersionLong returns the VersionLong field if non-nil, zero value otherwise.
|
||
|
|
|
||
|
|
### GetVersionLongOk
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetVersionLongOk() (*string, bool)`
|
||
|
|
|
||
|
|
GetVersionLongOk returns a tuple with the VersionLong field if it's non-nil, zero value otherwise
|
||
|
|
and a boolean to check if the value has been set.
|
||
|
|
|
||
|
|
### SetVersionLong
|
||
|
|
|
||
|
|
`func (o *VersionModel) SetVersionLong(v string)`
|
||
|
|
|
||
|
|
SetVersionLong sets VersionLong field to given value.
|
||
|
|
|
||
|
|
### HasVersionLong
|
||
|
|
|
||
|
|
`func (o *VersionModel) HasVersionLong() bool`
|
||
|
|
|
||
|
|
HasVersionLong returns a boolean if a field has been set.
|
||
|
|
|
||
|
|
### GetMajor
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetMajor() string`
|
||
|
|
|
||
|
|
GetMajor returns the Major field if non-nil, zero value otherwise.
|
||
|
|
|
||
|
|
### GetMajorOk
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetMajorOk() (*string, bool)`
|
||
|
|
|
||
|
|
GetMajorOk returns a tuple with the Major field if it's non-nil, zero value otherwise
|
||
|
|
and a boolean to check if the value has been set.
|
||
|
|
|
||
|
|
### SetMajor
|
||
|
|
|
||
|
|
`func (o *VersionModel) SetMajor(v string)`
|
||
|
|
|
||
|
|
SetMajor sets Major field to given value.
|
||
|
|
|
||
|
|
### HasMajor
|
||
|
|
|
||
|
|
`func (o *VersionModel) HasMajor() bool`
|
||
|
|
|
||
|
|
HasMajor returns a boolean if a field has been set.
|
||
|
|
|
||
|
|
### GetMinor
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetMinor() string`
|
||
|
|
|
||
|
|
GetMinor returns the Minor field if non-nil, zero value otherwise.
|
||
|
|
|
||
|
|
### GetMinorOk
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetMinorOk() (*string, bool)`
|
||
|
|
|
||
|
|
GetMinorOk returns a tuple with the Minor field if it's non-nil, zero value otherwise
|
||
|
|
and a boolean to check if the value has been set.
|
||
|
|
|
||
|
|
### SetMinor
|
||
|
|
|
||
|
|
`func (o *VersionModel) SetMinor(v string)`
|
||
|
|
|
||
|
|
SetMinor sets Minor field to given value.
|
||
|
|
|
||
|
|
### HasMinor
|
||
|
|
|
||
|
|
`func (o *VersionModel) HasMinor() bool`
|
||
|
|
|
||
|
|
HasMinor returns a boolean if a field has been set.
|
||
|
|
|
||
|
|
### GetRevision
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetRevision() string`
|
||
|
|
|
||
|
|
GetRevision returns the Revision field if non-nil, zero value otherwise.
|
||
|
|
|
||
|
|
### GetRevisionOk
|
||
|
|
|
||
|
|
`func (o *VersionModel) GetRevisionOk() (*string, bool)`
|
||
|
|
|
||
|
|
GetRevisionOk returns a tuple with the Revision field if it's non-nil, zero value otherwise
|
||
|
|
and a boolean to check if the value has been set.
|
||
|
|
|
||
|
|
### SetRevision
|
||
|
|
|
||
|
|
`func (o *VersionModel) SetRevision(v string)`
|
||
|
|
|
||
|
|
SetRevision sets Revision field to given value.
|
||
|
|
|
||
|
|
### HasRevision
|
||
|
|
|
||
|
|
`func (o *VersionModel) HasRevision() bool`
|
||
|
|
|
||
|
|
HasRevision returns a boolean if a field has been set.
|
||
|
|
|
||
|
|
|
||
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||
|
|
|
||
|
|
|