def __init__(self, application_id: str, endpoint_key: str, endpoint: str):
        """Initializes a new instance of the <see cref="LuisApplication"/> class.
        
        :param application_id: LUIS application ID.
        :type application_id: str
        :param endpoint_key: LUIS subscription or endpoint key.
        :type endpoint_key: str
        :param endpoint: LUIS endpoint to use like https://westus.api.cognitive.microsoft.com.
        :type endpoint: str
        :raises ValueError: 
        :raises ValueError:
        :raises ValueError:
        """

        _, valid = LuisApplication._try_parse_uuid4(application_id)
        if not valid:
            raise ValueError(f'"{application_id}" is not a valid LUIS application id.')

        _, valid = LuisApplication._try_parse_uuid4(endpoint_key)
        if not valid:
            raise ValueError(f'"{endpoint_key}" is not a valid LUIS subscription key.')

        if not endpoint or endpoint.isspace():
            endpoint = "https://westus.api.cognitive.microsoft.com"

        _, valid = LuisApplication._try_parse_url(endpoint)
        if not valid:
            raise ValueError(f'"{endpoint}" is not a valid LUIS endpoint.')

        self._application_id = application_id
        self._endpoint_key = endpoint_key
        self._endpoint = endpoint
def __init__ ( self , application_id : str , endpoint_key : str , endpoint : str ) : _ , valid = LuisApplication . _try_parse_uuid4 ( application_id ) if not valid : raise ValueError ( f'"{application_id}" is not a valid LUIS application id.' ) _ , valid = LuisApplication . _try_parse_uuid4 ( endpoint_key ) if not valid : raise ValueError ( f'"{endpoint_key}" is not a valid LUIS subscription key.' ) if not endpoint or endpoint . isspace ( ) : endpoint = "https://westus.api.cognitive.microsoft.com" _ , valid = LuisApplication . _try_parse_url ( endpoint ) if not valid : raise ValueError ( f'"{endpoint}" is not a valid LUIS endpoint.' ) self . _application_id = application_id self . _endpoint_key = endpoint_key self . _endpoint = endpoint
Initializes a new instance of the <see cref="LuisApplication"/> class.
        
        :param application_id: LUIS application ID.
        :type application_id: str
        :param endpoint_key: LUIS subscription or endpoint key.
        :type endpoint_key: str
        :param endpoint: LUIS endpoint to use like https://westus.api.cognitive.microsoft.com.
        :type endpoint: str
        :raises ValueError: 
        :raises ValueError:
        :raises ValueError: