public class FilesApi extends Object
| Constructor and Description |
|---|
FilesApi() |
FilesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
filesFilenameDelete(String filename)
Permanently deletes the file from your account
|
com.squareup.okhttp.Call |
filesFilenameDeleteAsync(String filename,
ApiCallback<Void> callback)
Permanently deletes the file from your account (asynchronously)
|
com.squareup.okhttp.Call |
filesFilenameDeleteCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for filesFilenameDelete
|
ApiResponse<Void> |
filesFilenameDeleteWithHttpInfo(String filename)
Permanently deletes the file from your account
|
File |
filesFilenameGet(String filename)
Gets content of the chosen File
|
com.squareup.okhttp.Call |
filesFilenameGetAsync(String filename,
ApiCallback<File> callback)
Gets content of the chosen File (asynchronously)
|
com.squareup.okhttp.Call |
filesFilenameGetCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for filesFilenameGet
|
ApiResponse<File> |
filesFilenameGetWithHttpInfo(String filename)
Gets content of the chosen File
|
File |
filesFilenameInfoGet(String filename)
Gets chosen File info
|
com.squareup.okhttp.Call |
filesFilenameInfoGetAsync(String filename,
ApiCallback<File> callback)
Gets chosen File info (asynchronously)
|
com.squareup.okhttp.Call |
filesFilenameInfoGetCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for filesFilenameInfoGet
|
ApiResponse<File> |
filesFilenameInfoGetWithHttpInfo(String filename)
Gets chosen File info
|
List<File> |
filesGet()
Lists all your available files
|
com.squareup.okhttp.Call |
filesGetAsync(ApiCallback<List<File>> callback)
Lists all your available files (asynchronously)
|
com.squareup.okhttp.Call |
filesGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for filesGet
|
ApiResponse<List<File>> |
filesGetWithHttpInfo()
Lists all your available files
|
File |
filesPost(File file,
Integer expiresAfterDays)
Uploads selected file to the server using http form upload format (MIME multipart/form-data) or PUT method.
|
com.squareup.okhttp.Call |
filesPostAsync(File file,
Integer expiresAfterDays,
ApiCallback<File> callback)
Uploads selected file to the server using http form upload format (MIME multipart/form-data) or PUT method.
|
com.squareup.okhttp.Call |
filesPostCall(File file,
Integer expiresAfterDays,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for filesPost
|
ApiResponse<File> |
filesPostWithHttpInfo(File file,
Integer expiresAfterDays)
Uploads selected file to the server using http form upload format (MIME multipart/form-data) or PUT method.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public FilesApi()
public FilesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call filesFilenameDeleteCall(String filename, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Name of your file. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void filesFilenameDelete(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> filesFilenameDeleteWithHttpInfo(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call filesFilenameDeleteAsync(String filename, ApiCallback<Void> callback) throws ApiException
filename - Name of your file. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call filesFilenameGetCall(String filename, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Name of your file. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File filesFilenameGet(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> filesFilenameGetWithHttpInfo(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call filesFilenameGetAsync(String filename, ApiCallback<File> callback) throws ApiException
filename - Name of your file. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call filesFilenameInfoGetCall(String filename, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Name of your file. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File filesFilenameInfoGet(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> filesFilenameInfoGetWithHttpInfo(String filename) throws ApiException
filename - Name of your file. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call filesFilenameInfoGetAsync(String filename, ApiCallback<File> callback) throws ApiException
filename - Name of your file. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call filesGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<File> filesGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<File>> filesGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call filesGetAsync(ApiCallback<List<File>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call filesPostCall(File file, Integer expiresAfterDays, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - (required)expiresAfterDays - After how many days should the file be deleted. (optional, default to 35)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File filesPost(File file, Integer expiresAfterDays) throws ApiException
file - (required)expiresAfterDays - After how many days should the file be deleted. (optional, default to 35)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> filesPostWithHttpInfo(File file, Integer expiresAfterDays) throws ApiException
file - (required)expiresAfterDays - After how many days should the file be deleted. (optional, default to 35)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call filesPostAsync(File file, Integer expiresAfterDays, ApiCallback<File> callback) throws ApiException
file - (required)expiresAfterDays - After how many days should the file be deleted. (optional, default to 35)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.