public static Task <ElasticsearchResponse <T> > MpercolateGetAsync <T>(this IElasticsearchClient client, string index, string type, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGetAsync <T>(index, type, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> MpercolateGet(this IElasticsearchClient client, string index, string type, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGet(index, type, selector));
        }
        public static Task <ElasticsearchResponse <DynamicDictionary> > MpercolateGetAsync(this IElasticsearchClient client, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGetAsync(selector));
        }
        public static ElasticsearchResponse <T> MpercolateGet <T>(this IElasticsearchClient client, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateGet <T>(selector));
        }
        public static ElasticsearchResponse <T> Mpercolate <T>(this IElasticsearchClient client, string index, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.Mpercolate <T>(index, body, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> Mpercolate(this IElasticsearchClient client, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.Mpercolate(body, selector));
        }
        public static Task <ElasticsearchResponse <T> > MpercolateAsync <T>(this IElasticsearchClient client, object body, MpercolateSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <MpercolateRequestParameters, MultiPercolateRequestParameters>(requestParameters);

            return(client.MpercolateAsync <T>(body, selector));
        }