Package com.slack.api.model.event
Class FileUnsharedEvent
java.lang.Object
com.slack.api.model.event.FileUnsharedEvent
- All Implemented Interfaces:
Event
,Serializable
public class FileUnsharedEvent extends Object implements Event
The file_unshared event is sent when a file is unshared.
It is sent to all connected clients for all users that had 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 unshared file, use the files.info API method.
https://api.slack.com/events/file_unshared
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileUnsharedEvent.File
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileUnsharedEvent()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
String
getEventTs()
FileUnsharedEvent.File
getFile()
String
getFileId()
String
getType()
String
getUserId()
int
hashCode()
void
setChannelId(String channelId)
void
setEventTs(String eventTs)
void
setFile(FileUnsharedEvent.File file)
void
setFileId(String fileId)
void
setUserId(String userId)
String
toString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
FileUnsharedEvent
public FileUnsharedEvent()
-
-
Method Details
-
getType
-
getFileId
-
getFile
-
getChannelId
-
getUserId
-
getEventTs
-
setFileId
-
setFile
-
setChannelId
-
setUserId
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-