Package io.lakefs.clients.api
Class TagsApi
- java.lang.Object
-
- io.lakefs.clients.api.TagsApi
-
public class TagsApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefcreateTag(String repository, TagCreation tagCreation)create tagokhttp3.CallcreateTagAsync(String repository, TagCreation tagCreation, ApiCallback<Ref> _callback)create tag (asynchronously)okhttp3.CallcreateTagCall(String repository, TagCreation tagCreation, ApiCallback _callback)Build call for createTagApiResponse<Ref>createTagWithHttpInfo(String repository, TagCreation tagCreation)create tagvoiddeleteTag(String repository, String tag)delete tagokhttp3.CalldeleteTagAsync(String repository, String tag, ApiCallback<Void> _callback)delete tag (asynchronously)okhttp3.CalldeleteTagCall(String repository, String tag, ApiCallback _callback)Build call for deleteTagApiResponse<Void>deleteTagWithHttpInfo(String repository, String tag)delete tagApiClientgetApiClient()RefgetTag(String repository, String tag)get tagokhttp3.CallgetTagAsync(String repository, String tag, ApiCallback<Ref> _callback)get tag (asynchronously)okhttp3.CallgetTagCall(String repository, String tag, ApiCallback _callback)Build call for getTagApiResponse<Ref>getTagWithHttpInfo(String repository, String tag)get tagRefListlistTags(String repository, String prefix, String after, Integer amount)list tagsokhttp3.CalllistTagsAsync(String repository, String prefix, String after, Integer amount, ApiCallback<RefList> _callback)list tags (asynchronously)okhttp3.CalllistTagsCall(String repository, String prefix, String after, Integer amount, ApiCallback _callback)Build call for listTagsApiResponse<RefList>listTagsWithHttpInfo(String repository, String prefix, String after, Integer amount)list tagsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
TagsApi
public TagsApi()
-
TagsApi
public TagsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createTagCall
public okhttp3.Call createTagCall(String repository, TagCreation tagCreation, ApiCallback _callback) throws ApiException
Build call for createTag- Parameters:
repository- (required)tagCreation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 tag - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createTag
public Ref createTag(String repository, TagCreation tagCreation) throws ApiException
create tag- Parameters:
repository- (required)tagCreation- (required)- Returns:
- Ref
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 tag - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createTagWithHttpInfo
public ApiResponse<Ref> createTagWithHttpInfo(String repository, TagCreation tagCreation) throws ApiException
create tag- Parameters:
repository- (required)tagCreation- (required)- Returns:
- ApiResponse<Ref>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 tag - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createTagAsync
public okhttp3.Call createTagAsync(String repository, TagCreation tagCreation, ApiCallback<Ref> _callback) throws ApiException
create tag (asynchronously)- Parameters:
repository- (required)tagCreation- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 tag - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
deleteTagCall
public okhttp3.Call deleteTagCall(String repository, String tag, ApiCallback _callback) throws ApiException
Build call for deleteTag- Parameters:
repository- (required)tag- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 tag deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteTag
public void deleteTag(String repository, String tag) throws ApiException
delete tag- Parameters:
repository- (required)tag- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 tag deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteTagWithHttpInfo
public ApiResponse<Void> deleteTagWithHttpInfo(String repository, String tag) throws ApiException
delete tag- Parameters:
repository- (required)tag- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 tag deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteTagAsync
public okhttp3.Call deleteTagAsync(String repository, String tag, ApiCallback<Void> _callback) throws ApiException
delete tag (asynchronously)- Parameters:
repository- (required)tag- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 tag deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getTagCall
public okhttp3.Call getTagCall(String repository, String tag, ApiCallback _callback) throws ApiException
Build call for getTag- Parameters:
repository- (required)tag- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 tag - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getTag
public Ref getTag(String repository, String tag) throws ApiException
get tag- Parameters:
repository- (required)tag- (required)- Returns:
- Ref
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 tag - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getTagWithHttpInfo
public ApiResponse<Ref> getTagWithHttpInfo(String repository, String tag) throws ApiException
get tag- Parameters:
repository- (required)tag- (required)- Returns:
- ApiResponse<Ref>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 tag - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getTagAsync
public okhttp3.Call getTagAsync(String repository, String tag, ApiCallback<Ref> _callback) throws ApiException
get tag (asynchronously)- Parameters:
repository- (required)tag- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 tag - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listTagsCall
public okhttp3.Call listTagsCall(String repository, String prefix, String after, Integer amount, ApiCallback _callback) throws ApiException
Build call for listTags- Parameters:
repository- (required)prefix- return items prefixed with this value (optional)after- return items after this value (optional)amount- how many items to return (optional, default to 100)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 tag list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listTags
public RefList listTags(String repository, String prefix, String after, Integer amount) throws ApiException
list tags- Parameters:
repository- (required)prefix- return items prefixed with this value (optional)after- return items after this value (optional)amount- how many items to return (optional, default to 100)- Returns:
- RefList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 tag list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listTagsWithHttpInfo
public ApiResponse<RefList> listTagsWithHttpInfo(String repository, String prefix, String after, Integer amount) throws ApiException
list tags- Parameters:
repository- (required)prefix- return items prefixed with this value (optional)after- return items after this value (optional)amount- how many items to return (optional, default to 100)- Returns:
- ApiResponse<RefList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 tag list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listTagsAsync
public okhttp3.Call listTagsAsync(String repository, String prefix, String after, Integer amount, ApiCallback<RefList> _callback) throws ApiException
list tags (asynchronously)- Parameters:
repository- (required)prefix- return items prefixed with this value (optional)after- return items after this value (optional)amount- how many items to return (optional, default to 100)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 tag list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
-