public static Task <ElasticsearchResponse <DynamicDictionary> > IndicesExistsAliasAsync( this IElasticsearchClient client, string index, IndicesExistsAliasSelector requestParameters) { var selector = Obsolete.UpCastSelector <IndicesExistsAliasRequestParameters, AliasExistsRequestParameters>(requestParameters); return(client.IndicesExistsAliasAsync(index, selector)); }
public static ElasticsearchResponse <T> IndicesExistsAlias <T>( this IElasticsearchClient client, string index, IndicesExistsAliasSelector requestParameters) { var selector = Obsolete.UpCastSelector <IndicesExistsAliasRequestParameters, AliasExistsRequestParameters>(requestParameters); return(client.IndicesExistsAlias <T>(index, selector)); }