public class FileCreatedEvent extends Object implements Event
When a file is shared with other members of the workspace (which can happen at upload time) a file_shared event will also be sent.
https://api.slack.com/events/file_created
| Modifier and Type | Class and Description |
|---|---|
static class |
FileCreatedEvent.File |
| Constructor and Description |
|---|
FileCreatedEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getEventTs() |
FileCreatedEvent.File |
getFile() |
String |
getFileId() |
String |
getType() |
String |
getUserId() |
int |
hashCode() |
void |
setEventTs(String eventTs) |
void |
setFile(FileCreatedEvent.File file) |
void |
setFileId(String fileId) |
void |
setUserId(String userId) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSubtypepublic static final String TYPE_NAME
public String getFileId()
public FileCreatedEvent.File getFile()
public String getUserId()
public String getEventTs()
public void setFileId(String fileId)
public void setFile(FileCreatedEvent.File file)
public void setUserId(String userId)
public void setEventTs(String eventTs)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.