func (v *Version) SetMajor(val uint32) {
	(*refs.Version)(v).
		SetMajor(val)
}
SetMajor sets major number of the revision.
package pkg
import (
	"fmt"
	"github.com/nspcc-dev/neofs-api-go/v2/refs"
)
type Version refs.Version
const sdkMjr, sdkMnr = 2, 10
func NewVersionFromV2(v *refs.Version) *Version {
	return (*Version)(v)
}
func NewVersion() *Version {
	return NewVersionFromV2(new(refs.Version))
}
func SDKVersion() *Version {
	v := NewVersion()
	v.SetMajor(sdkMjr)
	v.SetMinor(sdkMnr)
	return v
}
func (v *Version) Major() uint32 {
	return (*refs.Version)(v).
		GetMajor()
}