def METHOD_NAME(self):
    """Instance depends on the API version:
       * 2018-08-01-beta: :class:`OfferOperations<azure.mgmt.marketplace.v2018_08_01_beta.aio.operations.OfferOperations>`
    """
    api_version = self._get_api_version('offer')
    if api_version == '2018-08-01-beta':
        from ..v2018_08_01_beta.aio.operations import OfferOperations as OperationClass
    else:
        raise ValueError("API version {} does not have operation group 'offer'".format(api_version))
    return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))