Package io.getstream.chat.java.models
Class Channel.ChannelsBatchOptions
- java.lang.Object
-
- io.getstream.chat.java.models.Channel.ChannelsBatchOptions
-
- Enclosing class:
- Channel
public static class Channel.ChannelsBatchOptions extends java.lang.ObjectRepresents options for batch channel updates
-
-
Constructor Summary
Constructors Constructor Description ChannelsBatchOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@Nullable java.util.Map<java.lang.String,java.lang.Object>getCustomSet()Custom keys to merge into each matched channel's existing custom object, leaving every other custom key untouched.@Nullable java.util.List<java.lang.String>getCustomUnset()Custom keys to delete from each matched channel's existing custom object, leaving every other custom key untouched.@Nullable Channel.ChannelDataUpdategetData()@NotNull Channel.ChannelsBatchFiltersgetFilter()@Nullable java.util.List<Channel.ChannelBatchMemberRequest>getMembers()@NotNull Channel.ChannelBatchOperationgetOperation()inthashCode()voidsetCustomSet(@Nullable java.util.Map<java.lang.String,java.lang.Object> customSet)Custom keys to merge into each matched channel's existing custom object, leaving every other custom key untouched.voidsetCustomUnset(@Nullable java.util.List<java.lang.String> customUnset)Custom keys to delete from each matched channel's existing custom object, leaving every other custom key untouched.voidsetData(@Nullable Channel.ChannelDataUpdate data)voidsetFilter(@NotNull Channel.ChannelsBatchFilters filter)voidsetMembers(@Nullable java.util.List<Channel.ChannelBatchMemberRequest> members)voidsetOperation(@NotNull Channel.ChannelBatchOperation operation)java.lang.StringtoString()
-
-
-
Method Detail
-
getOperation
@NotNull public @NotNull Channel.ChannelBatchOperation getOperation()
-
getFilter
@NotNull public @NotNull Channel.ChannelsBatchFilters getFilter()
-
getMembers
@Nullable public @Nullable java.util.List<Channel.ChannelBatchMemberRequest> getMembers()
-
getData
@Nullable public @Nullable Channel.ChannelDataUpdate getData()
-
getCustomSet
@Nullable public @Nullable java.util.Map<java.lang.String,java.lang.Object> getCustomSet()
Custom keys to merge into each matched channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, soa.bsets keybinside objecta. Only valid withChannel.ChannelBatchOperation.UPDATE_DATAand cannot be combined withdata.custom, which replaces the whole object; the backend validates both.
-
getCustomUnset
@Nullable public @Nullable java.util.List<java.lang.String> getCustomUnset()
Custom keys to delete from each matched channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Only valid withChannel.ChannelBatchOperation.UPDATE_DATAand cannot be combined withdata.custom, which replaces the whole object; the backend validates both.
-
setOperation
public void setOperation(@NotNull @NotNull Channel.ChannelBatchOperation operation)
-
setFilter
public void setFilter(@NotNull @NotNull Channel.ChannelsBatchFilters filter)
-
setMembers
public void setMembers(@Nullable @Nullable java.util.List<Channel.ChannelBatchMemberRequest> members)
-
setData
public void setData(@Nullable @Nullable Channel.ChannelDataUpdate data)
-
setCustomSet
public void setCustomSet(@Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> customSet)Custom keys to merge into each matched channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths, soa.bsets keybinside objecta. Only valid withChannel.ChannelBatchOperation.UPDATE_DATAand cannot be combined withdata.custom, which replaces the whole object; the backend validates both.
-
setCustomUnset
public void setCustomUnset(@Nullable @Nullable java.util.List<java.lang.String> customUnset)Custom keys to delete from each matched channel's existing custom object, leaving every other custom key untouched. Keys are dot-paths; deleting a key that does not exist is a no-op. Only valid withChannel.ChannelBatchOperation.UPDATE_DATAand cannot be combined withdata.custom, which replaces the whole object; the backend validates both.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-