Class TeamDomainChangeEvent

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

public class TeamDomainChangeEvent extends Object implements Event
The team_domain_change event is sent to all connections for a workspace when the workspace domain changes.

Since the existing domain will continue to work (causing a redirect) until it is claimed by another workspace, clients don't need to do anything special with this event. It is sent for the benefit of our web client, which needs to reload when the domain changes.

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

See Also:
  • Field Details

  • Constructor Details

    • TeamDomainChangeEvent

      public TeamDomainChangeEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • getUrl

      public String getUrl()
    • getDomain

      public String getDomain()
    • setUrl

      public void setUrl(String url)
    • setDomain

      public void setDomain(String domain)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object