public class BlobPublicControllerApi
extends java.lang.Object
| Constructor and Description |
|---|
BlobPublicControllerApi() |
BlobPublicControllerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
StorageDownloadUrl |
get(java.lang.String filename)
Will return a signed URL for the given blob
|
ApiClient |
getApiClient() |
okhttp3.Call |
getAsync(java.lang.String filename,
ApiCallback<StorageDownloadUrl> _callback)
(asynchronously)
Will return a signed URL for the given blob
|
okhttp3.Call |
getCall(java.lang.String filename,
ApiCallback _callback)
Build call for get
|
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
ApiResponse<StorageDownloadUrl> |
getWithHttpInfo(java.lang.String filename)
Will return a signed URL for the given blob
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public BlobPublicControllerApi()
public BlobPublicControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call getCall(java.lang.String filename,
ApiCallback _callback)
throws ApiException
filename - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 500 | Internal Server Error | - |
| 200 | success | - |
public StorageDownloadUrl get(java.lang.String filename) throws ApiException
filename - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 500 | Internal Server Error | - |
| 200 | success | - |
public ApiResponse<StorageDownloadUrl> getWithHttpInfo(java.lang.String filename) throws ApiException
filename - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 500 | Internal Server Error | - |
| 200 | success | - |
public okhttp3.Call getAsync(java.lang.String filename,
ApiCallback<StorageDownloadUrl> _callback)
throws ApiException
filename - (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 object| Status Code | Description | Response Headers |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 500 | Internal Server Error | - |
| 200 | success | - |