Class Channel.ChannelsBatchOptions

  • Enclosing class:
    Channel

    public static class Channel.ChannelsBatchOptions
    extends java.lang.Object
    Represents options for batch channel updates
    • Constructor Detail

      • ChannelsBatchOptions

        public ChannelsBatchOptions()
    • Method Detail

      • 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, so a.b sets key b inside object a. Only valid with Channel.ChannelBatchOperation.UPDATE_DATA and cannot be combined with data.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 with Channel.ChannelBatchOperation.UPDATE_DATA and cannot be combined with data.custom, which replaces the whole object; the backend validates both.
      • 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, so a.b sets key b inside object a. Only valid with Channel.ChannelBatchOperation.UPDATE_DATA and cannot be combined with data.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 with Channel.ChannelBatchOperation.UPDATE_DATA and cannot be combined with data.custom, which replaces the whole object; the backend validates both.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object