@@ -194,38 +194,4 @@ public ChannelsBatchUpdateRequest updateData(
194194 options .setData (data );
195195 return Channel .updateBatch (options );
196196 }
197-
198- /**
199- * Adds filter tags to channels matching the filter.
200- *
201- * @param filter the filter to match channels
202- * @param tags list of filter tags to add
203- * @return the batch update request
204- */
205- @ NotNull
206- public ChannelsBatchUpdateRequest addFilterTags (
207- @ NotNull ChannelsBatchFilters filter , @ NotNull List <String > tags ) {
208- ChannelsBatchOptions options = new ChannelsBatchOptions ();
209- options .setOperation (ChannelBatchOperation .ADD_FILTER_TAGS );
210- options .setFilter (filter );
211- options .setFilterTagsUpdate (tags != null ? new ArrayList <>(tags ) : null );
212- return Channel .updateBatch (options );
213- }
214-
215- /**
216- * Removes filter tags from channels matching the filter.
217- *
218- * @param filter the filter to match channels
219- * @param tags list of filter tags to remove
220- * @return the batch update request
221- */
222- @ NotNull
223- public ChannelsBatchUpdateRequest removeFilterTags (
224- @ NotNull ChannelsBatchFilters filter , @ NotNull List <String > tags ) {
225- ChannelsBatchOptions options = new ChannelsBatchOptions ();
226- options .setOperation (ChannelBatchOperation .REMOVE_FILTER_TAGS );
227- options .setFilter (filter );
228- options .setFilterTagsUpdate (tags != null ? new ArrayList <>(tags ) : null );
229- return Channel .updateBatch (options );
230- }
231197}
0 commit comments