'Create an API version request object.'

def __init__(self, version_string=None, experimental=False):

    self._ver_major = None
    self._ver_minor = None
    if (version_string is not None):
        match = re.match('^([1-9]\\d*)\\.([1-9]\\d*|0)$', version_string)
        if match:
            self._ver_major = int(match.group(1))
            self._ver_minor = int(match.group(2))
        else:
            raise exception.InvalidAPIVersionString(version=version_string)
