Package io.getstream.chat.java.models
Class Channel.ChannelBatchDataUpdateOptions
- java.lang.Object
-
- io.getstream.chat.java.models.Channel.ChannelBatchDataUpdateOptions
-
- Enclosing class:
- Channel
public static class Channel.ChannelBatchDataUpdateOptions extends java.lang.ObjectOptions for updating channel data in a batch. This helper is unpacked intoChannel.ChannelsBatchOptionsand is not serialized itself.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannel.ChannelBatchDataUpdateOptions.ChannelBatchDataUpdateOptionsBuilder
-
Constructor Summary
Constructors Constructor Description ChannelBatchDataUpdateOptions()ChannelBatchDataUpdateOptions(@Nullable Channel.ChannelDataUpdate data, @Nullable java.util.Map<java.lang.String,java.lang.Object> customSet, @Nullable java.util.List<java.lang.String> customUnset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.ChannelBatchDataUpdateOptions.ChannelBatchDataUpdateOptionsBuilderbuilder()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.@Nullable java.util.List<java.lang.String>getCustomUnset()Custom keys to delete from each matched channel's existing custom object.@Nullable Channel.ChannelDataUpdategetData()Other channel data to update.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.voidsetCustomUnset(@Nullable java.util.List<java.lang.String> customUnset)Custom keys to delete from each matched channel's existing custom object.voidsetData(@Nullable Channel.ChannelDataUpdate data)Other channel data to update.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ChannelBatchDataUpdateOptions
public ChannelBatchDataUpdateOptions()
-
ChannelBatchDataUpdateOptions
public ChannelBatchDataUpdateOptions(@Nullable @Nullable Channel.ChannelDataUpdate data, @Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> customSet, @Nullable @Nullable java.util.List<java.lang.String> customUnset)
-
-
Method Detail
-
builder
public static Channel.ChannelBatchDataUpdateOptions.ChannelBatchDataUpdateOptionsBuilder builder()
-
getData
@Nullable public @Nullable Channel.ChannelDataUpdate getData()
Other channel data to update.
-
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. Keys are dot-paths, soa.bsets keybinside objecta.
-
getCustomUnset
@Nullable public @Nullable java.util.List<java.lang.String> getCustomUnset()
Custom keys to delete from each matched channel's existing custom object. Keys are dot-paths; deleting a key that does not exist is a no-op.
-
setData
public void setData(@Nullable @Nullable Channel.ChannelDataUpdate data)Other channel data to update.
-
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. Keys are dot-paths, soa.bsets keybinside objecta.
-
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. Keys are dot-paths; deleting a key that does not exist is a no-op.
-
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
-
-