Returns the version as either a string or a version object, depending on the type of the version the instance was constructed with.
Returns the version as either a string or a version object, depending on the type of the version the instance was constructed with.