Package com.slack.api.model.event
Class FileChangeEvent
- java.lang.Object
-
- com.slack.api.model.event.FileChangeEvent
-
- All Implemented Interfaces:
Event,Serializable
public class FileChangeEvent extends Object implements Event
The file_change event is sent when any property of a file is changed. 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_change
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileChangeEvent.File
-
Constructor Summary
Constructors Constructor Description FileChangeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)FileChangeEvent.FilegetFile()StringgetFileId()StringgetType()inthashCode()voidsetFile(FileChangeEvent.File file)voidsetFileId(String fileId)StringtoString()-
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 Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFileId
public String getFileId()
-
getFile
public FileChangeEvent.File getFile()
-
setFileId
public void setFileId(String fileId)
-
setFile
public void setFile(FileChangeEvent.File file)
-
canEqual
protected boolean canEqual(Object other)
-
-