public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesRecoveryAsync(this IElasticsearchClient client, string index, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryAsync(index, selector));
        }
        public static ElasticsearchResponse <DynamicDictionary> IndicesRecoveryForAll(this IElasticsearchClient client, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryForAll(selector));
        }
        public static ElasticsearchResponse <T> IndicesRecovery <T>(this IElasticsearchClient client, string index, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecovery <T>(index, selector));
        }
        public static Task <ElasticsearchResponse <T> > IndicesRecoveryForAllAsync <T>(this IElasticsearchClient client, IndicesRecoveryStatusSelector requestParameters = null)
        {
            var selector = Obsolete.UpCastSelector <IndicesRecoveryRequestParameters, RecoveryStatusRequestParameters>(requestParameters);

            return(client.IndicesRecoveryForAllAsync <T>(selector));
        }