From b12a5a132a888813b47187549bd6d2162b262b69 Mon Sep 17 00:00:00 2001 From: Zelalem Wubale Date: Fri, 14 Dec 2018 10:07:11 -0800 Subject: [PATCH] remove facets from blended search --- GettyImages.Api/Search/SearchImages.cs | 17 ----------------- GettyImages.Api/Search/SearchVideos.cs | 17 ----------------- 2 files changed, 34 deletions(-) diff --git a/GettyImages.Api/Search/SearchImages.cs b/GettyImages.Api/Search/SearchImages.cs index bf6f031..269d666 100644 --- a/GettyImages.Api/Search/SearchImages.cs +++ b/GettyImages.Api/Search/SearchImages.cs @@ -98,23 +98,6 @@ public SearchImages WithExcludeNudity(bool value = true) return this; } - public SearchImages WithIncludeFacets(bool value = true) - { - AddQueryParameter(Constants.IncludeFacetsKey, value); - return this; - } - - public SearchImages WithFacetFields(IEnumerable values) - { - AddFacetResponseFields(values); - return this; - } - public SearchImages WithFacetMaxCount(int value) - { - AddQueryParameter(Constants.FacetMaxCountKey, value); - return this; - } - public SearchImages WithResponseFields(IEnumerable values) { AddResponseFields(values); diff --git a/GettyImages.Api/Search/SearchVideos.cs b/GettyImages.Api/Search/SearchVideos.cs index fb77da0..ac2caf7 100644 --- a/GettyImages.Api/Search/SearchVideos.cs +++ b/GettyImages.Api/Search/SearchVideos.cs @@ -136,22 +136,5 @@ public SearchVideos WithReleaseStatus(ReleaseStatus value) AddQueryParameter(Constants.ReleaseStatus, value); return this; } - - public SearchVideos WithIncludeFacets(bool value = true) - { - AddQueryParameter(Constants.IncludeFacetsKey, value); - return this; - } - - public SearchVideos WithFacetFields(IEnumerable values) - { - AddFacetResponseFields(values); - return this; - } - public SearchVideos WithFacetMaxCount(int value) - { - AddQueryParameter(Constants.FacetMaxCountKey, value); - return this; - } } }