Class Event


  • public class Event
    extends java.lang.Object
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • getAdditionalFields

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalFields()
      • setAdditionalField

        public void setAdditionalField​(java.lang.String name,
                                       java.lang.Object value)
      • send

        @NotNull
        public static @NotNull Event.EventSendRequestData.EventSendRequest send​(@NotNull
                                                                                @NotNull java.lang.String channelType,
                                                                                @NotNull
                                                                                @NotNull java.lang.String channelId)
        Creates a send request
        Parameters:
        channelType - the channel type
        channelId - the channel id
        Returns:
        the created request
      • getType

        @Nullable
        public @Nullable java.lang.String getType()
      • getConnectionId

        @Nullable
        public @Nullable java.lang.String getConnectionId()
      • getCid

        @Nullable
        public @Nullable java.lang.String getCid()
      • getChannelId

        @Nullable
        public @Nullable java.lang.String getChannelId()
      • getChannelType

        @Nullable
        public @Nullable java.lang.String getChannelType()
      • getMessage

        @Nullable
        public @Nullable Message getMessage()
      • getReaction

        @Nullable
        public @Nullable Reaction getReaction()
      • getChannel

        @Nullable
        public @Nullable Channel getChannel()
      • getUser

        @Nullable
        public @Nullable User getUser()
      • getUserId

        @Nullable
        public @Nullable java.lang.String getUserId()
      • getWatcherCount

        @Nullable
        public @Nullable java.lang.Integer getWatcherCount()
      • getReason

        @Nullable
        public @Nullable java.lang.String getReason()
      • getCreatedBy

        @Nullable
        public @Nullable User getCreatedBy()
      • getAutomoderation

        @Nullable
        public @Nullable java.lang.Boolean getAutomoderation()
      • getAutomoderationScores

        @Nullable
        public @Nullable Message.Moderation getAutomoderationScores()
      • getParentId

        @Nullable
        public @Nullable java.lang.String getParentId()
      • getTeam

        @Nullable
        public @Nullable java.lang.String getTeam()
      • getCreatedAt

        @Nullable
        public @Nullable java.util.Date getCreatedAt()
      • setType

        public void setType​(@Nullable
                            @Nullable java.lang.String type)
      • setConnectionId

        public void setConnectionId​(@Nullable
                                    @Nullable java.lang.String connectionId)
      • setCid

        public void setCid​(@Nullable
                           @Nullable java.lang.String cid)
      • setChannelId

        public void setChannelId​(@Nullable
                                 @Nullable java.lang.String channelId)
      • setChannelType

        public void setChannelType​(@Nullable
                                   @Nullable java.lang.String channelType)
      • setMessage

        public void setMessage​(@Nullable
                               @Nullable Message message)
      • setReaction

        public void setReaction​(@Nullable
                                @Nullable Reaction reaction)
      • setChannel

        public void setChannel​(@Nullable
                               @Nullable Channel channel)
      • setUser

        public void setUser​(@Nullable
                            @Nullable User user)
      • setUserId

        public void setUserId​(@Nullable
                              @Nullable java.lang.String userId)
      • setMe

        public void setMe​(@Nullable
                          @Nullable User.OwnUser me)
      • setWatcherCount

        public void setWatcherCount​(@Nullable
                                    @Nullable java.lang.Integer watcherCount)
      • setReason

        public void setReason​(@Nullable
                              @Nullable java.lang.String reason)
      • setCreatedBy

        public void setCreatedBy​(@Nullable
                                 @Nullable User createdBy)
      • setAutomoderation

        public void setAutomoderation​(@Nullable
                                      @Nullable java.lang.Boolean automoderation)
      • setAutomoderationScores

        public void setAutomoderationScores​(@Nullable
                                            @Nullable Message.Moderation automoderationScores)
      • setParentId

        public void setParentId​(@Nullable
                                @Nullable java.lang.String parentId)
      • setTeam

        public void setTeam​(@Nullable
                            @Nullable java.lang.String team)
      • setCreatedAt

        public void setCreatedAt​(@Nullable
                                 @Nullable java.util.Date createdAt)
      • setAdditionalFields

        public void setAdditionalFields​(@NotNull
                                        @NotNull java.util.Map<java.lang.String,​java.lang.Object> additionalFields)
      • 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