def METHOD_NAME(
    self,
    x_ms_client_request_id=None,  # type: Optional[str]
    filter=None,  # type: Optional[str]
    orderby=None,  # type: Optional[str]
    skip=None,  # type: Optional[str]
    **kwargs  # type: Any
):
    # type: (...) -> "_models.SqlQueryStringDataModel"
    """Get SQL OD/DW Query for the workspace.
    :param x_ms_client_request_id: Can provide a guid, which is helpful for debugging and to
     provide better customer support.
    :type x_ms_client_request_id: str
    :param filter:
    :type filter: str
    :param orderby:
    :type orderby: str
    :param skip:
    :type skip: str
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: SqlQueryStringDataModel, or the result of cls(response)
    :rtype: ~azure.synapse.monitoring.models.SqlQueryStringDataModel
    :raises: ~azure.core.exceptions.HttpResponseError
    """
    cls = kwargs.pop('cls', None)  # type: ClsType["_models.SqlQueryStringDataModel"]
    error_map = {
        401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
    }
    error_map.update(kwargs.pop('error_map', {}))
    api_version = "2019-11-01-preview"
    accept = "application/json"
    # Construct URL
    url = self.METHOD_NAME.metadata['url']  # type: ignore
    path_format_arguments = {
        'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True),
    }
    url = self._client.format_url(url, **path_format_arguments)
    # Construct parameters
    query_parameters = {}  # type: Dict[str, Any]
    query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
    if filter is not None:
        query_parameters['filter'] = self._serialize.query("filter", filter, 'str')
    if orderby is not None:
        query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')
    if skip is not None:
        query_parameters['skip'] = self._serialize.query("skip", skip, 'str')
    # Construct headers
    header_parameters = {}  # type: Dict[str, Any]
    if x_ms_client_request_id is not None:
        header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", x_ms_client_request_id, 'str')
    header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
    request = self._client.get(url, query_parameters, header_parameters)
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
    response = pipeline_response.http_response
    if response.status_code not in [200]:
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise HttpResponseError(response=response)
    deserialized = self._deserialize('SqlQueryStringDataModel', pipeline_response)
    if cls:
        return cls(pipeline_response, deserialized, {})
    return deserialized