This pull request introduces a comprehensive new API interface for the blockchain, leveraging OpenAPI v3 to facilitate direct consumption of chain data by GUI and web applications. This change significantly refines the project's build infrastructure, incorporating Conan for dependency management and CMake for configuration, alongside the integration of an OpenAPI Generator to produce SDKs for multiple languages. ### Highlights * **New API Interface**: Introduced a new API interface using OpenAPI v3 to enable GUI/WEB development to consume chain data without needing custom server applications. * **Build System Enhancements**: Significant updates to the build system, including Makefile, CMake, and Conan configurations, to streamline the build process and support new functionalities. * **Multi-language SDK Generation**: Integrated OpenAPI Generator to automatically create SDKs for various programming languages, including Go, Angular, and PHP, simplifying client-side integration.
4 KiB
Generated
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.