def METHOD_NAME(cls, api_version=DEFAULT_API_VERSION):
    """Module depends on the API version:
       * 2022-05-01: :mod:`v2022_05_01.models<azure.ai.textanalytics.v2022_05_01.models>`
       * 2023-04-01: :mod:`v2023_04_01.models<azure.ai.textanalytics.v2023_04_01.models>`
       * v3.0: :mod:`v3_0.models<azure.ai.textanalytics.v3_0.models>`
       * v3.1: :mod:`v3_1.models<azure.ai.textanalytics.v3_1.models>`
    """
    if api_version == '2022-05-01':
        from ..v2022_05_01 import METHOD_NAME
        return METHOD_NAME
    elif api_version == '2023-04-01':
        from ..v2023_04_01 import METHOD_NAME
        return METHOD_NAME
    elif api_version == 'v3.0':
        from ..v3_0 import METHOD_NAME
        return METHOD_NAME
    elif api_version == 'v3.1':
        from ..v3_1 import METHOD_NAME
        return METHOD_NAME
    raise ValueError("API version {} is not available".format(api_version))