public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesExistsTypeAsync(
            this IElasticsearchClient client, string index, string type, IndicesExistsTypeSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTypeRequestParameters, TypeExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsTypeAsync(index, type, selector));
        }
        public static ElasticsearchResponse <T> IndicesExistsType <T>(
            this IElasticsearchClient client, string index, string type, IndicesExistsTypeSelector requestParameters)
        {
            var selector = Obsolete.UpCastSelector <IndicesExistsTypeRequestParameters, TypeExistsRequestParameters>(requestParameters);

            return(client.IndicesExistsType <T>(index, type, selector));
        }