Class FilePublicEvent

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

public class FilePublicEvent
extends java.lang.Object
implements Event
The file_public event is sent when a file is made public. It is sent to all connected clients for all users that have permission to see the file. The file property includes the file ID, as well as a top-level file_id. To obtain additional information about the file, use the files.info API method.

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

See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  FilePublicEvent.File  
  • Field Summary

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

    Constructors 
    Constructor Description
    FilePublicEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getEventTs()  
    FilePublicEvent.File getFile()  
    java.lang.String getFileId()  
    java.lang.String getType()  
    java.lang.String getUserId()  
    int hashCode()  
    void setEventTs​(java.lang.String eventTs)  
    void setFile​(FilePublicEvent.File file)  
    void setFileId​(java.lang.String fileId)  
    void setUserId​(java.lang.String userId)  
    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
    • getFileId

      public java.lang.String getFileId()
    • getFile

      public FilePublicEvent.File getFile()
    • getUserId

      public java.lang.String getUserId()
    • getEventTs

      public java.lang.String getEventTs()
    • setFileId

      public void setFileId​(java.lang.String fileId)
    • setFile

      public void setFile​(FilePublicEvent.File file)
    • setUserId

      public void setUserId​(java.lang.String userId)
    • setEventTs

      public void setEventTs​(java.lang.String eventTs)
    • 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