Package io.lakefs.clients.api
Class BranchesApi
- java.lang.Object
-
- io.lakefs.clients.api.BranchesApi
-
public class BranchesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description BranchesApi()BranchesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateBranch(String repository, BranchCreation branchCreation)create branchokhttp3.CallcreateBranchAsync(String repository, BranchCreation branchCreation, ApiCallback<String> _callback)create branch (asynchronously)okhttp3.CallcreateBranchCall(String repository, BranchCreation branchCreation, ApiCallback _callback)Build call for createBranchApiResponse<String>createBranchWithHttpInfo(String repository, BranchCreation branchCreation)create branchvoiddeleteBranch(String repository, String branch)delete branchokhttp3.CalldeleteBranchAsync(String repository, String branch, ApiCallback<Void> _callback)delete branch (asynchronously)okhttp3.CalldeleteBranchCall(String repository, String branch, ApiCallback _callback)Build call for deleteBranchApiResponse<Void>deleteBranchWithHttpInfo(String repository, String branch)delete branchDiffListdiffBranch(String repository, String branch, String after, Integer amount, String prefix, String delimiter)diff branchokhttp3.CalldiffBranchAsync(String repository, String branch, String after, Integer amount, String prefix, String delimiter, ApiCallback<DiffList> _callback)diff branch (asynchronously)okhttp3.CalldiffBranchCall(String repository, String branch, String after, Integer amount, String prefix, String delimiter, ApiCallback _callback)Build call for diffBranchApiResponse<DiffList>diffBranchWithHttpInfo(String repository, String branch, String after, Integer amount, String prefix, String delimiter)diff branchApiClientgetApiClient()RefgetBranch(String repository, String branch)get branchokhttp3.CallgetBranchAsync(String repository, String branch, ApiCallback<Ref> _callback)get branch (asynchronously)okhttp3.CallgetBranchCall(String repository, String branch, ApiCallback _callback)Build call for getBranchApiResponse<Ref>getBranchWithHttpInfo(String repository, String branch)get branchRefListlistBranches(String repository, String prefix, String after, Integer amount)list branchesokhttp3.CalllistBranchesAsync(String repository, String prefix, String after, Integer amount, ApiCallback<RefList> _callback)list branches (asynchronously)okhttp3.CalllistBranchesCall(String repository, String prefix, String after, Integer amount, ApiCallback _callback)Build call for listBranchesApiResponse<RefList>listBranchesWithHttpInfo(String repository, String prefix, String after, Integer amount)list branchesvoidresetBranch(String repository, String branch, ResetCreation resetCreation)reset branchokhttp3.CallresetBranchAsync(String repository, String branch, ResetCreation resetCreation, ApiCallback<Void> _callback)reset branch (asynchronously)okhttp3.CallresetBranchCall(String repository, String branch, ResetCreation resetCreation, ApiCallback _callback)Build call for resetBranchApiResponse<Void>resetBranchWithHttpInfo(String repository, String branch, ResetCreation resetCreation)reset branchvoidrevertBranch(String repository, String branch, RevertCreation revertCreation)revertokhttp3.CallrevertBranchAsync(String repository, String branch, RevertCreation revertCreation, ApiCallback<Void> _callback)revert (asynchronously)okhttp3.CallrevertBranchCall(String repository, String branch, RevertCreation revertCreation, ApiCallback _callback)Build call for revertBranchApiResponse<Void>revertBranchWithHttpInfo(String repository, String branch, RevertCreation revertCreation)revertvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
BranchesApi
public BranchesApi()
-
BranchesApi
public BranchesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createBranchCall
public okhttp3.Call createBranchCall(String repository, BranchCreation branchCreation, ApiCallback _callback) throws ApiException
Build call for createBranch- Parameters:
repository- (required)branchCreation- (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 reference - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createBranch
public String createBranch(String repository, BranchCreation branchCreation) throws ApiException
create branch- Parameters:
repository- (required)branchCreation- (required)- Returns:
- String
- 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 reference - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createBranchWithHttpInfo
public ApiResponse<String> createBranchWithHttpInfo(String repository, BranchCreation branchCreation) throws ApiException
create branch- Parameters:
repository- (required)branchCreation- (required)- Returns:
- ApiResponse<String>
- 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 reference - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
createBranchAsync
public okhttp3.Call createBranchAsync(String repository, BranchCreation branchCreation, ApiCallback<String> _callback) throws ApiException
create branch (asynchronously)- Parameters:
repository- (required)branchCreation- (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 reference - 400 Validation Error - 401 Unauthorized - 404 Resource Not Found - 409 Resource Conflicts With Target - 0 Internal Server Error -
-
deleteBranchCall
public okhttp3.Call deleteBranchCall(String repository, String branch, ApiCallback _callback) throws ApiException
Build call for deleteBranch- Parameters:
repository- (required)branch- (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 branch deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteBranch
public void deleteBranch(String repository, String branch) throws ApiException
delete branch- Parameters:
repository- (required)branch- (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 branch deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteBranchWithHttpInfo
public ApiResponse<Void> deleteBranchWithHttpInfo(String repository, String branch) throws ApiException
delete branch- Parameters:
repository- (required)branch- (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 branch deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
deleteBranchAsync
public okhttp3.Call deleteBranchAsync(String repository, String branch, ApiCallback<Void> _callback) throws ApiException
delete branch (asynchronously)- Parameters:
repository- (required)branch- (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 branch deleted successfully - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
diffBranchCall
public okhttp3.Call diffBranchCall(String repository, String branch, String after, Integer amount, String prefix, String delimiter, ApiCallback _callback) throws ApiException
Build call for diffBranch- Parameters:
repository- (required)branch- (required)after- return items after this value (optional)amount- how many items to return (optional, default to 100)prefix- return items prefixed with this value (optional)delimiter- delimiter used to group common prefixes by (optional)_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 diff of branch uncommitted changes - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
diffBranch
public DiffList diffBranch(String repository, String branch, String after, Integer amount, String prefix, String delimiter) throws ApiException
diff branch- Parameters:
repository- (required)branch- (required)after- return items after this value (optional)amount- how many items to return (optional, default to 100)prefix- return items prefixed with this value (optional)delimiter- delimiter used to group common prefixes by (optional)- Returns:
- DiffList
- 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 diff of branch uncommitted changes - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
diffBranchWithHttpInfo
public ApiResponse<DiffList> diffBranchWithHttpInfo(String repository, String branch, String after, Integer amount, String prefix, String delimiter) throws ApiException
diff branch- Parameters:
repository- (required)branch- (required)after- return items after this value (optional)amount- how many items to return (optional, default to 100)prefix- return items prefixed with this value (optional)delimiter- delimiter used to group common prefixes by (optional)- Returns:
- ApiResponse<DiffList>
- 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 diff of branch uncommitted changes - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
diffBranchAsync
public okhttp3.Call diffBranchAsync(String repository, String branch, String after, Integer amount, String prefix, String delimiter, ApiCallback<DiffList> _callback) throws ApiException
diff branch (asynchronously)- Parameters:
repository- (required)branch- (required)after- return items after this value (optional)amount- how many items to return (optional, default to 100)prefix- return items prefixed with this value (optional)delimiter- delimiter used to group common prefixes by (optional)_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 diff of branch uncommitted changes - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getBranchCall
public okhttp3.Call getBranchCall(String repository, String branch, ApiCallback _callback) throws ApiException
Build call for getBranch- Parameters:
repository- (required)branch- (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 branch - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getBranch
public Ref getBranch(String repository, String branch) throws ApiException
get branch- Parameters:
repository- (required)branch- (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 branch - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getBranchWithHttpInfo
public ApiResponse<Ref> getBranchWithHttpInfo(String repository, String branch) throws ApiException
get branch- Parameters:
repository- (required)branch- (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 branch - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
getBranchAsync
public okhttp3.Call getBranchAsync(String repository, String branch, ApiCallback<Ref> _callback) throws ApiException
get branch (asynchronously)- Parameters:
repository- (required)branch- (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 branch - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listBranchesCall
public okhttp3.Call listBranchesCall(String repository, String prefix, String after, Integer amount, ApiCallback _callback) throws ApiException
Build call for listBranches- 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 branch list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listBranches
public RefList listBranches(String repository, String prefix, String after, Integer amount) throws ApiException
list branches- 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 branch list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listBranchesWithHttpInfo
public ApiResponse<RefList> listBranchesWithHttpInfo(String repository, String prefix, String after, Integer amount) throws ApiException
list branches- 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 branch list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
listBranchesAsync
public okhttp3.Call listBranchesAsync(String repository, String prefix, String after, Integer amount, ApiCallback<RefList> _callback) throws ApiException
list branches (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 branch list - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
resetBranchCall
public okhttp3.Call resetBranchCall(String repository, String branch, ResetCreation resetCreation, ApiCallback _callback) throws ApiException
Build call for resetBranch- Parameters:
repository- (required)branch- (required)resetCreation- (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 reset successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
resetBranch
public void resetBranch(String repository, String branch, ResetCreation resetCreation) throws ApiException
reset branch- Parameters:
repository- (required)branch- (required)resetCreation- (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 reset successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
resetBranchWithHttpInfo
public ApiResponse<Void> resetBranchWithHttpInfo(String repository, String branch, ResetCreation resetCreation) throws ApiException
reset branch- Parameters:
repository- (required)branch- (required)resetCreation- (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 reset successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
resetBranchAsync
public okhttp3.Call resetBranchAsync(String repository, String branch, ResetCreation resetCreation, ApiCallback<Void> _callback) throws ApiException
reset branch (asynchronously)- Parameters:
repository- (required)branch- (required)resetCreation- (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 reset successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
revertBranchCall
public okhttp3.Call revertBranchCall(String repository, String branch, RevertCreation revertCreation, ApiCallback _callback) throws ApiException
Build call for revertBranch- Parameters:
repository- (required)branch- (required)revertCreation- (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 revert successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
revertBranch
public void revertBranch(String repository, String branch, RevertCreation revertCreation) throws ApiException
revert- Parameters:
repository- (required)branch- (required)revertCreation- (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 revert successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
revertBranchWithHttpInfo
public ApiResponse<Void> revertBranchWithHttpInfo(String repository, String branch, RevertCreation revertCreation) throws ApiException
revert- Parameters:
repository- (required)branch- (required)revertCreation- (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 revert successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
revertBranchAsync
public okhttp3.Call revertBranchAsync(String repository, String branch, RevertCreation revertCreation, ApiCallback<Void> _callback) throws ApiException
revert (asynchronously)- Parameters:
repository- (required)branch- (required)revertCreation- (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 revert successful - 401 Unauthorized - 404 Resource Not Found - 0 Internal Server Error -
-
-