public class FilesRemoteAddRequest extends Object implements SlackApiRequest
Modifier and Type | Class and Description |
---|---|
static class |
FilesRemoteAddRequest.FilesRemoteAddRequestBuilder |
Modifier and Type | Method and Description |
---|---|
static FilesRemoteAddRequest.FilesRemoteAddRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getExternalId()
Creator defined GUID for the file.
|
String |
getExternalUrl()
URL of the remote file.
|
String |
getFiletype()
type of file
|
byte[] |
getIndexableFileContents()
File containing contents that can be used to improve searchability for the remote file.
|
byte[] |
getPreviewImage()
Preview of the document via multipart/form-data.
|
String |
getTitle()
Title of the file being shared.
|
String |
getToken()
Authentication token.
|
int |
hashCode() |
void |
setExternalId(String externalId)
Creator defined GUID for the file.
|
void |
setExternalUrl(String externalUrl)
URL of the remote file.
|
void |
setFiletype(String filetype)
type of file
|
void |
setIndexableFileContents(byte[] indexableFileContents)
File containing contents that can be used to improve searchability for the remote file.
|
void |
setPreviewImage(byte[] previewImage)
Preview of the document via multipart/form-data.
|
void |
setTitle(String title)
Title of the file being shared.
|
void |
setToken(String token)
Authentication token.
|
String |
toString() |
public static FilesRemoteAddRequest.FilesRemoteAddRequestBuilder builder()
public String getToken()
getToken
in interface SlackApiRequest
public String getExternalId()
public String getExternalUrl()
public String getTitle()
public String getFiletype()
public byte[] getIndexableFileContents()
public byte[] getPreviewImage()
public void setToken(String token)
public void setExternalId(String externalId)
public void setExternalUrl(String externalUrl)
public void setTitle(String title)
public void setFiletype(String filetype)
public void setIndexableFileContents(byte[] indexableFileContents)
public void setPreviewImage(byte[] previewImage)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.