protected void AddAgeOfPeopleFilter(AgeOfPeople value) { if (QueryParameters.ContainsKey(Constants.AgeOfPeopleKey)) { QueryParameters[Constants.AgeOfPeopleKey] = value == AgeOfPeople.None ? value : (AgeOfPeople) QueryParameters[Constants.AgeOfPeopleKey] | value; } else { QueryParameters.Add(Constants.AgeOfPeopleKey, value); } }
protected void AddAgeOfPeopleFilter(AgeOfPeople value) { if (QueryParameters.ContainsKey(Constants.AgeOfPeopleKey)) { QueryParameters[Constants.AgeOfPeopleKey] = value == AgeOfPeople.None ? value : (AgeOfPeople)QueryParameters[Constants.AgeOfPeopleKey] | value; } else { QueryParameters.Add(Constants.AgeOfPeopleKey, value); } }
public SearchImagesEditorial WithAgeOfPeople(AgeOfPeople value) { AddAgeOfPeopleFilter(value); return(this); }
public SearchImagesCreative WithAgeOfPeople(AgeOfPeople value) { AddAgeOfPeopleFilter(value); return(this); }
IEditorialVideosSearch IEditorialVideosSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }
IEditorialImagesSearch IEditorialImagesSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }
public SearchImages WithAgeOfPeople(AgeOfPeople value) { AddAgeOfPeopleFilter(value); return this; }
public SearchVideos WithAgeOfPeople(AgeOfPeople value) { AddAgeOfPeopleFilter(value); return(this); }
IBlendedImagesSearch IBlendedImagesSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }
ICreativeVideosSearch ICreativeVideosSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }
ICreativeImagesSearch ICreativeImagesSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }
IBlendedVideosSearch IBlendedVideosSearch.WithAgeOfPeople(AgeOfPeople value) { return WithAgeOfPeople(value); }