Class UserChangeEvent

java.lang.Object
com.slack.api.model.event.UserChangeEvent
All Implemented Interfaces:
Event, java.io.Serializable

public class UserChangeEvent
extends java.lang.Object
implements Event
The user_change event is sent to all connections for a workspace when a member updates their profile or data. Clients can use this to update their local cache of members.

Use the users.profile.set method to update user profile data.

https://api.slack.com/events/user_change

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String TYPE_NAME  
  • Constructor Summary

    Constructors 
    Constructor Description
    UserChangeEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.Integer getCacheTs()  
    java.lang.String getType()  
    User getUser()  
    int hashCode()  
    void setCacheTs​(java.lang.Integer cacheTs)  
    void setUser​(User user)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.slack.api.model.event.Event

    getSubtype
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public java.lang.String getType()
      Specified by:
      getType in interface Event
    • getUser

      public User getUser()
    • getCacheTs

      public java.lang.Integer getCacheTs()
    • setUser

      public void setUser​(User user)
    • setCacheTs

      public void setCacheTs​(java.lang.Integer cacheTs)
    • 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