Skip to content

Commit

Permalink
Merge pull request #9 from gettyimages/348-remove-facets-from-blended…
Browse files Browse the repository at this point in the history
…-search

remove facets from blended search
  • Loading branch information
ssterli2 authored Dec 14, 2018
2 parents 20d215d + b12a5a1 commit 9bbbc9b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
17 changes: 0 additions & 17 deletions GettyImages.Api/Search/SearchImages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> values)
{
AddFacetResponseFields(values);
return this;
}
public SearchImages WithFacetMaxCount(int value)
{
AddQueryParameter(Constants.FacetMaxCountKey, value);
return this;
}

public SearchImages WithResponseFields(IEnumerable<string> values)
{
AddResponseFields(values);
Expand Down
17 changes: 0 additions & 17 deletions GettyImages.Api/Search/SearchVideos.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> values)
{
AddFacetResponseFields(values);
return this;
}
public SearchVideos WithFacetMaxCount(int value)
{
AddQueryParameter(Constants.FacetMaxCountKey, value);
return this;
}
}
}

0 comments on commit 9bbbc9b

Please sign in to comment.