IEditorialImagesSearch IEditorialImagesSearch.WithEditorialSegment(EditorialSegment segment)
 {
     EditorialSegments = EditorialSegments | segment;
     return this;
 }
 public SearchImagesEditorial WithEditorialSegment(EditorialSegment value)
 {
     AddEditorialSegment(value);
     return(this);
 }
        public SearchImages WithEditorialSegment(EditorialSegment value)
        {
            if (QueryParameters.ContainsKey(Constants.EditorialSegmentKey))
            {
                QueryParameters[Constants.EditorialSegmentKey] = value == EditorialSegment.None
                    ? value
                    : (EditorialSegment)QueryParameters[Constants.EditorialSegmentKey] | value;
            }
            else
            {
                QueryParameters.Add(Constants.EditorialSegmentKey, value);
            }

            return this;
        }
 private IEditorialImagesSearch WithEditorialSegment(EditorialSegment segment)
 {
     AppendMultiValuedQueryParameter(Constants.EditorialSegmentKey,segment.ToString());
     return this;
 }