Package com.slack.api.methods.impl
Class FilesUploadV2Helper
- java.lang.Object
-
- com.slack.api.methods.impl.FilesUploadV2Helper
-
- All Implemented Interfaces:
AutoCloseable
public class FilesUploadV2Helper extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description FilesUploadV2Helper(MethodsClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)voidclose()FilesUploadV2ResponsecompleteUploads(FilesUploadV2Request v2Request, List<FilesCompleteUploadExternalRequest.FileDetails> files)booleanequals(Object o)MethodsClientgetClient()okhttp3.OkHttpClientgetOkHttpClient()SlackFilesUploadV2ExceptiongetUnderlyingException()inthashCode()StringtoString()StringuploadFile(FilesUploadV2Request v2Request, FilesUploadV2Request.UploadFile uploadFile)
-
-
-
Constructor Detail
-
FilesUploadV2Helper
public FilesUploadV2Helper(MethodsClient client)
-
-
Method Detail
-
uploadFile
public String uploadFile(FilesUploadV2Request v2Request, FilesUploadV2Request.UploadFile uploadFile) throws IOException, SlackApiException, SlackFilesUploadV2Exception
-
completeUploads
public FilesUploadV2Response completeUploads(FilesUploadV2Request v2Request, List<FilesCompleteUploadExternalRequest.FileDetails> files) throws SlackApiException, IOException, SlackFilesUploadV2Exception
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
getClient
public MethodsClient getClient()
-
getOkHttpClient
public okhttp3.OkHttpClient getOkHttpClient()
-
getUnderlyingException
public SlackFilesUploadV2Exception getUnderlyingException()
-
canEqual
protected boolean canEqual(Object other)
-
-