Package io.gitea.api

Class RepositoryApi


  • public class RepositoryApi
    extends java.lang.Object
    • Constructor Detail

      • RepositoryApi

        public RepositoryApi()
      • RepositoryApi

        public RepositoryApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • acceptRepoTransferCall

        public com.squareup.okhttp.Call acceptRepoTransferCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for acceptRepoTransfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • acceptRepoTransfer

        public Repository acceptRepoTransfer​(java.lang.String owner,
                                             java.lang.String repo)
                                      throws ApiException
        Accept a repo transfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • acceptRepoTransferWithHttpInfo

        public ApiResponse<Repository> acceptRepoTransferWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo)
                                                               throws ApiException
        Accept a repo transfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • acceptRepoTransferAsync

        public com.squareup.okhttp.Call acceptRepoTransferAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                ApiCallback<Repository> callback)
                                                         throws ApiException
        Accept a repo transfer (asynchronously)
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (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
      • createCurrentUserRepo

        public Repository createCurrentUserRepo​(CreateRepoOption body)
                                         throws ApiException
        Create a repository
        Parameters:
        body - (optional)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createCurrentUserRepoWithHttpInfo

        public ApiResponse<Repository> createCurrentUserRepoWithHttpInfo​(CreateRepoOption body)
                                                                  throws ApiException
        Create a repository
        Parameters:
        body - (optional)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createCurrentUserRepoAsync

        public com.squareup.okhttp.Call createCurrentUserRepoAsync​(CreateRepoOption body,
                                                                   ApiCallback<Repository> callback)
                                                            throws ApiException
        Create a repository (asynchronously)
        Parameters:
        body - (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
      • createForkCall

        public com.squareup.okhttp.Call createForkCall​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       CreateForkOption body,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException
        Build call for createFork
        Parameters:
        owner - owner of the repo to fork (required)
        repo - name of the repo to fork (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createFork

        public Repository createFork​(java.lang.String owner,
                                     java.lang.String repo,
                                     CreateForkOption body)
                              throws ApiException
        Fork a repository
        Parameters:
        owner - owner of the repo to fork (required)
        repo - name of the repo to fork (required)
        body - (optional)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createForkWithHttpInfo

        public ApiResponse<Repository> createForkWithHttpInfo​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              CreateForkOption body)
                                                       throws ApiException
        Fork a repository
        Parameters:
        owner - owner of the repo to fork (required)
        repo - name of the repo to fork (required)
        body - (optional)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createForkAsync

        public com.squareup.okhttp.Call createForkAsync​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        CreateForkOption body,
                                                        ApiCallback<Repository> callback)
                                                 throws ApiException
        Fork a repository (asynchronously)
        Parameters:
        owner - owner of the repo to fork (required)
        repo - name of the repo to fork (required)
        body - (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
      • generateRepoCall

        public com.squareup.okhttp.Call generateRepoCall​(java.lang.String templateOwner,
                                                         java.lang.String templateRepo,
                                                         GenerateRepoOption body,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for generateRepo
        Parameters:
        templateOwner - name of the template repository owner (required)
        templateRepo - name of the template repository (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • generateRepo

        public Repository generateRepo​(java.lang.String templateOwner,
                                       java.lang.String templateRepo,
                                       GenerateRepoOption body)
                                throws ApiException
        Create a repository using a template
        Parameters:
        templateOwner - name of the template repository owner (required)
        templateRepo - name of the template repository (required)
        body - (optional)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • generateRepoWithHttpInfo

        public ApiResponse<Repository> generateRepoWithHttpInfo​(java.lang.String templateOwner,
                                                                java.lang.String templateRepo,
                                                                GenerateRepoOption body)
                                                         throws ApiException
        Create a repository using a template
        Parameters:
        templateOwner - name of the template repository owner (required)
        templateRepo - name of the template repository (required)
        body - (optional)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • generateRepoAsync

        public com.squareup.okhttp.Call generateRepoAsync​(java.lang.String templateOwner,
                                                          java.lang.String templateRepo,
                                                          GenerateRepoOption body,
                                                          ApiCallback<Repository> callback)
                                                   throws ApiException
        Create a repository using a template (asynchronously)
        Parameters:
        templateOwner - name of the template repository owner (required)
        templateRepo - name of the template repository (required)
        body - (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
      • getAnnotatedTagCall

        public com.squareup.okhttp.Call getAnnotatedTagCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String sha,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for getAnnotatedTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getAnnotatedTag

        public AnnotatedTag getAnnotatedTag​(java.lang.String owner,
                                            java.lang.String repo,
                                            java.lang.String sha)
                                     throws ApiException
        Gets the tag object of an annotated tag (not lightweight tags)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)
        Returns:
        AnnotatedTag
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAnnotatedTagWithHttpInfo

        public ApiResponse<AnnotatedTag> getAnnotatedTagWithHttpInfo​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.String sha)
                                                              throws ApiException
        Gets the tag object of an annotated tag (not lightweight tags)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (required)
        Returns:
        ApiResponse<AnnotatedTag>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAnnotatedTagAsync

        public com.squareup.okhttp.Call getAnnotatedTagAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String sha,
                                                             ApiCallback<AnnotatedTag> callback)
                                                      throws ApiException
        Gets the tag object of an annotated tag (not lightweight tags) (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. (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
      • getBlobCall

        public com.squareup.okhttp.Call getBlobCall​(java.lang.String owner,
                                                    java.lang.String repo,
                                                    java.lang.String sha,
                                                    ProgressResponseBody.ProgressListener progressListener,
                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                             throws ApiException
        Build call for getBlob
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getBlob

        public GitBlobResponse getBlob​(java.lang.String owner,
                                       java.lang.String repo,
                                       java.lang.String sha)
                                throws ApiException
        Gets the blob of a repository.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        Returns:
        GitBlobResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBlobWithHttpInfo

        public ApiResponse<GitBlobResponse> getBlobWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String sha)
                                                         throws ApiException
        Gets the blob of a repository.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        Returns:
        ApiResponse<GitBlobResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBlobAsync

        public com.squareup.okhttp.Call getBlobAsync​(java.lang.String owner,
                                                     java.lang.String repo,
                                                     java.lang.String sha,
                                                     ApiCallback<GitBlobResponse> callback)
                                              throws ApiException
        Gets the blob of a repository. (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (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
      • getTreeCall

        public com.squareup.okhttp.Call getTreeCall​(java.lang.String owner,
                                                    java.lang.String repo,
                                                    java.lang.String sha,
                                                    java.lang.Boolean recursive,
                                                    java.lang.Integer page,
                                                    java.lang.Integer perPage,
                                                    ProgressResponseBody.ProgressListener progressListener,
                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                             throws ApiException
        Build call for getTree
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        recursive - show all directories and files (optional)
        page - page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)
        perPage - number of items per page (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getTree

        public GitTreeResponse getTree​(java.lang.String owner,
                                       java.lang.String repo,
                                       java.lang.String sha,
                                       java.lang.Boolean recursive,
                                       java.lang.Integer page,
                                       java.lang.Integer perPage)
                                throws ApiException
        Gets the tree of a repository.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        recursive - show all directories and files (optional)
        page - page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)
        perPage - number of items per page (optional)
        Returns:
        GitTreeResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTreeWithHttpInfo

        public ApiResponse<GitTreeResponse> getTreeWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String sha,
                                                                java.lang.Boolean recursive,
                                                                java.lang.Integer page,
                                                                java.lang.Integer perPage)
                                                         throws ApiException
        Gets the tree of a repository.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        recursive - show all directories and files (optional)
        page - page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)
        perPage - number of items per page (optional)
        Returns:
        ApiResponse<GitTreeResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTreeAsync

        public com.squareup.okhttp.Call getTreeAsync​(java.lang.String owner,
                                                     java.lang.String repo,
                                                     java.lang.String sha,
                                                     java.lang.Boolean recursive,
                                                     java.lang.Integer page,
                                                     java.lang.Integer perPage,
                                                     ApiCallback<GitTreeResponse> callback)
                                              throws ApiException
        Gets the tree of a repository. (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        recursive - show all directories and files (optional)
        page - page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page (optional)
        perPage - number of items per page (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
      • listForksCall

        public com.squareup.okhttp.Call listForksCall​(java.lang.String owner,
                                                      java.lang.String repo,
                                                      java.lang.Integer page,
                                                      java.lang.Integer limit,
                                                      ProgressResponseBody.ProgressListener progressListener,
                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                               throws ApiException
        Build call for listForks
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • listForks

        public java.util.List<Repository> listForks​(java.lang.String owner,
                                                    java.lang.String repo,
                                                    java.lang.Integer page,
                                                    java.lang.Integer limit)
                                             throws ApiException
        List a repository's forks
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listForksWithHttpInfo

        public ApiResponse<java.util.List<Repository>> listForksWithHttpInfo​(java.lang.String owner,
                                                                             java.lang.String repo,
                                                                             java.lang.Integer page,
                                                                             java.lang.Integer limit)
                                                                      throws ApiException
        List a repository's forks
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<Repository>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listForksAsync

        public com.squareup.okhttp.Call listForksAsync​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.Integer page,
                                                       java.lang.Integer limit,
                                                       ApiCallback<java.util.List<Repository>> callback)
                                                throws ApiException
        List a repository's forks (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • rejectRepoTransferCall

        public com.squareup.okhttp.Call rejectRepoTransferCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for rejectRepoTransfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • rejectRepoTransfer

        public Repository rejectRepoTransfer​(java.lang.String owner,
                                             java.lang.String repo)
                                      throws ApiException
        Reject a repo transfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • rejectRepoTransferWithHttpInfo

        public ApiResponse<Repository> rejectRepoTransferWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo)
                                                               throws ApiException
        Reject a repo transfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • rejectRepoTransferAsync

        public com.squareup.okhttp.Call rejectRepoTransferAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                ApiCallback<Repository> callback)
                                                         throws ApiException
        Reject a repo transfer (asynchronously)
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (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
      • repoAddCollaboratorCall

        public com.squareup.okhttp.Call repoAddCollaboratorCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String collaborator,
                                                                AddCollaboratorOption body,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoAddCollaborator
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to add (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoAddCollaborator

        public void repoAddCollaborator​(java.lang.String owner,
                                        java.lang.String repo,
                                        java.lang.String collaborator,
                                        AddCollaboratorOption body)
                                 throws ApiException
        Add a collaborator to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to add (required)
        body - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddCollaboratorWithHttpInfo

        public ApiResponse<java.lang.Void> repoAddCollaboratorWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.String collaborator,
                                                                           AddCollaboratorOption body)
                                                                    throws ApiException
        Add a collaborator to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to add (required)
        body - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddCollaboratorAsync

        public com.squareup.okhttp.Call repoAddCollaboratorAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String collaborator,
                                                                 AddCollaboratorOption body,
                                                                 ApiCallback<java.lang.Void> callback)
                                                          throws ApiException
        Add a collaborator to a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to add (required)
        body - (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
      • repoAddPushMirror

        public PushMirror repoAddPushMirror​(java.lang.String owner,
                                            java.lang.String repo,
                                            CreatePushMirrorOption body)
                                     throws ApiException
        add a push mirror to the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        PushMirror
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddPushMirrorWithHttpInfo

        public ApiResponse<PushMirror> repoAddPushMirrorWithHttpInfo​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     CreatePushMirrorOption body)
                                                              throws ApiException
        add a push mirror to the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<PushMirror>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddPushMirrorAsync

        public com.squareup.okhttp.Call repoAddPushMirrorAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               CreatePushMirrorOption body,
                                                               ApiCallback<PushMirror> callback)
                                                        throws ApiException
        add a push mirror to the repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoAddTeamCall

        public com.squareup.okhttp.Call repoAddTeamCall​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String team,
                                                        ProgressResponseBody.ProgressListener progressListener,
                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                 throws ApiException
        Build call for repoAddTeam
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoAddTeam

        public void repoAddTeam​(java.lang.String owner,
                                java.lang.String repo,
                                java.lang.String team)
                         throws ApiException
        Add a team to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddTeamWithHttpInfo

        public ApiResponse<java.lang.Void> repoAddTeamWithHttpInfo​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String team)
                                                            throws ApiException
        Add a team to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddTeamAsync

        public com.squareup.okhttp.Call repoAddTeamAsync​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String team,
                                                         ApiCallback<java.lang.Void> callback)
                                                  throws ApiException
        Add a team to a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (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
      • repoAddTopicCall

        public com.squareup.okhttp.Call repoAddTopicCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String topic,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoAddTopic
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to add (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoAddTopic

        public void repoAddTopic​(java.lang.String owner,
                                 java.lang.String repo,
                                 java.lang.String topic)
                          throws ApiException
        Add a topic to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to add (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddTopicWithHttpInfo

        public ApiResponse<java.lang.Void> repoAddTopicWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String topic)
                                                             throws ApiException
        Add a topic to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to add (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoAddTopicAsync

        public com.squareup.okhttp.Call repoAddTopicAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.String topic,
                                                          ApiCallback<java.lang.Void> callback)
                                                   throws ApiException
        Add a topic to a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to add (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
      • repoApplyDiffPatchCall

        public com.squareup.okhttp.Call repoApplyDiffPatchCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               UpdateFileOptions body,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoApplyDiffPatch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoApplyDiffPatch

        public FileResponse repoApplyDiffPatch​(java.lang.String owner,
                                               java.lang.String repo,
                                               UpdateFileOptions body)
                                        throws ApiException
        Apply diff patch to repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (required)
        Returns:
        FileResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoApplyDiffPatchWithHttpInfo

        public ApiResponse<FileResponse> repoApplyDiffPatchWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        UpdateFileOptions body)
                                                                 throws ApiException
        Apply diff patch to repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (required)
        Returns:
        ApiResponse<FileResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoApplyDiffPatchAsync

        public com.squareup.okhttp.Call repoApplyDiffPatchAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                UpdateFileOptions body,
                                                                ApiCallback<FileResponse> callback)
                                                         throws ApiException
        Apply diff patch to repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCancelScheduledAutoMergeCall

        public com.squareup.okhttp.Call repoCancelScheduledAutoMergeCall​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long index,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException
        Build call for repoCancelScheduledAutoMerge
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCancelScheduledAutoMerge

        public void repoCancelScheduledAutoMerge​(java.lang.String owner,
                                                 java.lang.String repo,
                                                 java.lang.Long index)
                                          throws ApiException
        Cancel the scheduled auto merge for the given pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCancelScheduledAutoMergeWithHttpInfo

        public ApiResponse<java.lang.Void> repoCancelScheduledAutoMergeWithHttpInfo​(java.lang.String owner,
                                                                                    java.lang.String repo,
                                                                                    java.lang.Long index)
                                                                             throws ApiException
        Cancel the scheduled auto merge for the given pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCancelScheduledAutoMergeAsync

        public com.squareup.okhttp.Call repoCancelScheduledAutoMergeAsync​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.Long index,
                                                                          ApiCallback<java.lang.Void> callback)
                                                                   throws ApiException
        Cancel the scheduled auto merge for the given pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (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
      • repoCheckCollaboratorCall

        public com.squareup.okhttp.Call repoCheckCollaboratorCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String collaborator,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoCheckCollaborator
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCheckCollaborator

        public void repoCheckCollaborator​(java.lang.String owner,
                                          java.lang.String repo,
                                          java.lang.String collaborator)
                                   throws ApiException
        Check if a user is a collaborator of a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCheckCollaboratorWithHttpInfo

        public ApiResponse<java.lang.Void> repoCheckCollaboratorWithHttpInfo​(java.lang.String owner,
                                                                             java.lang.String repo,
                                                                             java.lang.String collaborator)
                                                                      throws ApiException
        Check if a user is a collaborator of a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCheckCollaboratorAsync

        public com.squareup.okhttp.Call repoCheckCollaboratorAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String collaborator,
                                                                   ApiCallback<java.lang.Void> callback)
                                                            throws ApiException
        Check if a user is a collaborator of a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (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
      • repoCheckTeamCall

        public com.squareup.okhttp.Call repoCheckTeamCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.String team,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoCheckTeam
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCheckTeam

        public Team repoCheckTeam​(java.lang.String owner,
                                  java.lang.String repo,
                                  java.lang.String team)
                           throws ApiException
        Check if a team is assigned to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Returns:
        Team
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCheckTeamWithHttpInfo

        public ApiResponse<Team> repoCheckTeamWithHttpInfo​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String team)
                                                    throws ApiException
        Check if a team is assigned to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Returns:
        ApiResponse<Team>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCheckTeamAsync

        public com.squareup.okhttp.Call repoCheckTeamAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String team,
                                                           ApiCallback<Team> callback)
                                                    throws ApiException
        Check if a team is assigned to a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (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
      • repoCreateBranch

        public Branch repoCreateBranch​(java.lang.String owner,
                                       java.lang.String repo,
                                       CreateBranchRepoOption body)
                                throws ApiException
        Create a branch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        Branch
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateBranchWithHttpInfo

        public ApiResponse<Branch> repoCreateBranchWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                CreateBranchRepoOption body)
                                                         throws ApiException
        Create a branch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<Branch>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateBranchAsync

        public com.squareup.okhttp.Call repoCreateBranchAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              CreateBranchRepoOption body,
                                                              ApiCallback<Branch> callback)
                                                       throws ApiException
        Create a branch (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreateBranchProtection

        public BranchProtection repoCreateBranchProtection​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           CreateBranchProtectionOption body)
                                                    throws ApiException
        Create a branch protections for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        BranchProtection
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateBranchProtectionWithHttpInfo

        public ApiResponse<BranchProtection> repoCreateBranchProtectionWithHttpInfo​(java.lang.String owner,
                                                                                    java.lang.String repo,
                                                                                    CreateBranchProtectionOption body)
                                                                             throws ApiException
        Create a branch protections for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<BranchProtection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateBranchProtectionAsync

        public com.squareup.okhttp.Call repoCreateBranchProtectionAsync​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        CreateBranchProtectionOption body,
                                                                        ApiCallback<BranchProtection> callback)
                                                                 throws ApiException
        Create a branch protections for a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreateFileCall

        public com.squareup.okhttp.Call repoCreateFileCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String filepath,
                                                           CreateFileOptions body,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoCreateFile
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to create (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateFile

        public FileResponse repoCreateFile​(java.lang.String owner,
                                           java.lang.String repo,
                                           java.lang.String filepath,
                                           CreateFileOptions body)
                                    throws ApiException
        Create a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to create (required)
        body - (required)
        Returns:
        FileResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateFileWithHttpInfo

        public ApiResponse<FileResponse> repoCreateFileWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String filepath,
                                                                    CreateFileOptions body)
                                                             throws ApiException
        Create a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to create (required)
        body - (required)
        Returns:
        ApiResponse<FileResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateFileAsync

        public com.squareup.okhttp.Call repoCreateFileAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String filepath,
                                                            CreateFileOptions body,
                                                            ApiCallback<FileResponse> callback)
                                                     throws ApiException
        Create a file in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to create (required)
        body - (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
      • repoCreateHookCall

        public com.squareup.okhttp.Call repoCreateHookCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           CreateHookOption body,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoCreateHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateHook

        public Hook repoCreateHook​(java.lang.String owner,
                                   java.lang.String repo,
                                   CreateHookOption body)
                            throws ApiException
        Create a hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        Hook
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateHookWithHttpInfo

        public ApiResponse<Hook> repoCreateHookWithHttpInfo​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            CreateHookOption body)
                                                     throws ApiException
        Create a hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<Hook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateHookAsync

        public com.squareup.okhttp.Call repoCreateHookAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            CreateHookOption body,
                                                            ApiCallback<Hook> callback)
                                                     throws ApiException
        Create a hook (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreateKeyCall

        public com.squareup.okhttp.Call repoCreateKeyCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          CreateKeyOption body,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoCreateKey
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateKey

        public DeployKey repoCreateKey​(java.lang.String owner,
                                       java.lang.String repo,
                                       CreateKeyOption body)
                                throws ApiException
        Add a key to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        DeployKey
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateKeyWithHttpInfo

        public ApiResponse<DeployKey> repoCreateKeyWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                CreateKeyOption body)
                                                         throws ApiException
        Add a key to a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<DeployKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateKeyAsync

        public com.squareup.okhttp.Call repoCreateKeyAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           CreateKeyOption body,
                                                           ApiCallback<DeployKey> callback)
                                                    throws ApiException
        Add a key to a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreatePullRequestCall

        public com.squareup.okhttp.Call repoCreatePullRequestCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  CreatePullRequestOption body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoCreatePullRequest
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreatePullRequest

        public PullRequest repoCreatePullRequest​(java.lang.String owner,
                                                 java.lang.String repo,
                                                 CreatePullRequestOption body)
                                          throws ApiException
        Create a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        PullRequest
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullRequestWithHttpInfo

        public ApiResponse<PullRequest> repoCreatePullRequestWithHttpInfo​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          CreatePullRequestOption body)
                                                                   throws ApiException
        Create a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<PullRequest>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullRequestAsync

        public com.squareup.okhttp.Call repoCreatePullRequestAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   CreatePullRequestOption body,
                                                                   ApiCallback<PullRequest> callback)
                                                            throws ApiException
        Create a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreatePullReviewCall

        public com.squareup.okhttp.Call repoCreatePullReviewCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 CreatePullReviewOptions body,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoCreatePullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreatePullReview

        public PullReview repoCreatePullReview​(java.lang.String owner,
                                               java.lang.String repo,
                                               java.lang.Long index,
                                               CreatePullReviewOptions body)
                                        throws ApiException
        Create a review to an pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Returns:
        PullReview
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullReviewWithHttpInfo

        public ApiResponse<PullReview> repoCreatePullReviewWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long index,
                                                                        CreatePullReviewOptions body)
                                                                 throws ApiException
        Create a review to an pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Returns:
        ApiResponse<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullReviewAsync

        public com.squareup.okhttp.Call repoCreatePullReviewAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  CreatePullReviewOptions body,
                                                                  ApiCallback<PullReview> callback)
                                                           throws ApiException
        Create a review to an pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (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
      • repoCreatePullReviewRequestsCall

        public com.squareup.okhttp.Call repoCreatePullReviewRequestsCall​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long index,
                                                                         PullReviewRequestOptions body,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException
        Build call for repoCreatePullReviewRequests
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreatePullReviewRequests

        public java.util.List<PullReview> repoCreatePullReviewRequests​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long index,
                                                                       PullReviewRequestOptions body)
                                                                throws ApiException
        create review requests for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Returns:
        List<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullReviewRequestsWithHttpInfo

        public ApiResponse<java.util.List<PullReview>> repoCreatePullReviewRequestsWithHttpInfo​(java.lang.String owner,
                                                                                                java.lang.String repo,
                                                                                                java.lang.Long index,
                                                                                                PullReviewRequestOptions body)
                                                                                         throws ApiException
        create review requests for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Returns:
        ApiResponse<List<PullReview>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreatePullReviewRequestsAsync

        public com.squareup.okhttp.Call repoCreatePullReviewRequestsAsync​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.Long index,
                                                                          PullReviewRequestOptions body,
                                                                          ApiCallback<java.util.List<PullReview>> callback)
                                                                   throws ApiException
        create review requests for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (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
      • repoCreateReleaseCall

        public com.squareup.okhttp.Call repoCreateReleaseCall​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              CreateReleaseOption body,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for repoCreateRelease
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateRelease

        public Release repoCreateRelease​(java.lang.String owner,
                                         java.lang.String repo,
                                         CreateReleaseOption body)
                                  throws ApiException
        Create a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        Release
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateReleaseWithHttpInfo

        public ApiResponse<Release> repoCreateReleaseWithHttpInfo​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  CreateReleaseOption body)
                                                           throws ApiException
        Create a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<Release>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateReleaseAsync

        public com.squareup.okhttp.Call repoCreateReleaseAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               CreateReleaseOption body,
                                                               ApiCallback<Release> callback)
                                                        throws ApiException
        Create a release (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreateReleaseAttachmentCall

        public com.squareup.okhttp.Call repoCreateReleaseAttachmentCall​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long id,
                                                                        java.io.File attachment,
                                                                        java.lang.String name,
                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                 throws ApiException
        Build call for repoCreateReleaseAttachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachment - attachment to upload (required)
        name - name of the attachment (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateReleaseAttachment

        public Attachment repoCreateReleaseAttachment​(java.lang.String owner,
                                                      java.lang.String repo,
                                                      java.lang.Long id,
                                                      java.io.File attachment,
                                                      java.lang.String name)
                                               throws ApiException
        Create a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachment - attachment to upload (required)
        name - name of the attachment (optional)
        Returns:
        Attachment
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateReleaseAttachmentWithHttpInfo

        public ApiResponse<Attachment> repoCreateReleaseAttachmentWithHttpInfo​(java.lang.String owner,
                                                                               java.lang.String repo,
                                                                               java.lang.Long id,
                                                                               java.io.File attachment,
                                                                               java.lang.String name)
                                                                        throws ApiException
        Create a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachment - attachment to upload (required)
        name - name of the attachment (optional)
        Returns:
        ApiResponse<Attachment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateReleaseAttachmentAsync

        public com.squareup.okhttp.Call repoCreateReleaseAttachmentAsync​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long id,
                                                                         java.io.File attachment,
                                                                         java.lang.String name,
                                                                         ApiCallback<Attachment> callback)
                                                                  throws ApiException
        Create a release attachment (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachment - attachment to upload (required)
        name - name of the attachment (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
      • repoCreateStatusCall

        public com.squareup.okhttp.Call repoCreateStatusCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String sha,
                                                             CreateStatusOption body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoCreateStatus
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateStatus

        public CommitStatus repoCreateStatus​(java.lang.String owner,
                                             java.lang.String repo,
                                             java.lang.String sha,
                                             CreateStatusOption body)
                                      throws ApiException
        Create a commit status
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        body - (optional)
        Returns:
        CommitStatus
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateStatusWithHttpInfo

        public ApiResponse<CommitStatus> repoCreateStatusWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String sha,
                                                                      CreateStatusOption body)
                                                               throws ApiException
        Create a commit status
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        body - (optional)
        Returns:
        ApiResponse<CommitStatus>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateStatusAsync

        public com.squareup.okhttp.Call repoCreateStatusAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String sha,
                                                              CreateStatusOption body,
                                                              ApiCallback<CommitStatus> callback)
                                                       throws ApiException
        Create a commit status (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        body - (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
      • repoCreateTagCall

        public com.squareup.okhttp.Call repoCreateTagCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          CreateTagOption body,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoCreateTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateTag

        public Tag repoCreateTag​(java.lang.String owner,
                                 java.lang.String repo,
                                 CreateTagOption body)
                          throws ApiException
        Create a new git tag in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        Tag
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateTagWithHttpInfo

        public ApiResponse<Tag> repoCreateTagWithHttpInfo​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          CreateTagOption body)
                                                   throws ApiException
        Create a new git tag in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<Tag>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateTagAsync

        public com.squareup.okhttp.Call repoCreateTagAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           CreateTagOption body,
                                                           ApiCallback<Tag> callback)
                                                    throws ApiException
        Create a new git tag in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoCreateWikiPageCall

        public com.squareup.okhttp.Call repoCreateWikiPageCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               CreateWikiPageOptions body,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoCreateWikiPage
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoCreateWikiPage

        public WikiPage repoCreateWikiPage​(java.lang.String owner,
                                           java.lang.String repo,
                                           CreateWikiPageOptions body)
                                    throws ApiException
        Create a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        WikiPage
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateWikiPageWithHttpInfo

        public ApiResponse<WikiPage> repoCreateWikiPageWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    CreateWikiPageOptions body)
                                                             throws ApiException
        Create a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<WikiPage>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoCreateWikiPageAsync

        public com.squareup.okhttp.Call repoCreateWikiPageAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                CreateWikiPageOptions body,
                                                                ApiCallback<WikiPage> callback)
                                                         throws ApiException
        Create a wiki page (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • repoDeleteCall

        public com.squareup.okhttp.Call repoDeleteCall​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException
        Build call for repoDelete
        Parameters:
        owner - owner of the repo to delete (required)
        repo - name of the repo to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDelete

        public void repoDelete​(java.lang.String owner,
                               java.lang.String repo)
                        throws ApiException
        Delete a repository
        Parameters:
        owner - owner of the repo to delete (required)
        repo - name of the repo to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteWithHttpInfo​(java.lang.String owner,
                                                                  java.lang.String repo)
                                                           throws ApiException
        Delete a repository
        Parameters:
        owner - owner of the repo to delete (required)
        repo - name of the repo to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteAsync

        public com.squareup.okhttp.Call repoDeleteAsync​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        ApiCallback<java.lang.Void> callback)
                                                 throws ApiException
        Delete a repository (asynchronously)
        Parameters:
        owner - owner of the repo to delete (required)
        repo - name of the repo to delete (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
      • repoDeleteBranchCall

        public com.squareup.okhttp.Call repoDeleteBranchCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String branch,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoDeleteBranch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteBranch

        public void repoDeleteBranch​(java.lang.String owner,
                                     java.lang.String repo,
                                     java.lang.String branch)
                              throws ApiException
        Delete a specific branch from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteBranchWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteBranchWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.String branch)
                                                                 throws ApiException
        Delete a specific branch from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteBranchAsync

        public com.squareup.okhttp.Call repoDeleteBranchAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String branch,
                                                              ApiCallback<java.lang.Void> callback)
                                                       throws ApiException
        Delete a specific branch from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to delete (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
      • repoDeleteBranchProtectionCall

        public com.squareup.okhttp.Call repoDeleteBranchProtectionCall​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.String name,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException
        Build call for repoDeleteBranchProtection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteBranchProtection

        public void repoDeleteBranchProtection​(java.lang.String owner,
                                               java.lang.String repo,
                                               java.lang.String name)
                                        throws ApiException
        Delete a specific branch protection for the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteBranchProtectionWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteBranchProtectionWithHttpInfo​(java.lang.String owner,
                                                                                  java.lang.String repo,
                                                                                  java.lang.String name)
                                                                           throws ApiException
        Delete a specific branch protection for the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteBranchProtectionAsync

        public com.squareup.okhttp.Call repoDeleteBranchProtectionAsync​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.String name,
                                                                        ApiCallback<java.lang.Void> callback)
                                                                 throws ApiException
        Delete a specific branch protection for the repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected 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
      • repoDeleteCollaboratorCall

        public com.squareup.okhttp.Call repoDeleteCollaboratorCall​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String collaborator,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException
        Build call for repoDeleteCollaborator
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteCollaborator

        public void repoDeleteCollaborator​(java.lang.String owner,
                                           java.lang.String repo,
                                           java.lang.String collaborator)
                                    throws ApiException
        Delete a collaborator from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteCollaboratorWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteCollaboratorWithHttpInfo​(java.lang.String owner,
                                                                              java.lang.String repo,
                                                                              java.lang.String collaborator)
                                                                       throws ApiException
        Delete a collaborator from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteCollaboratorAsync

        public com.squareup.okhttp.Call repoDeleteCollaboratorAsync​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String collaborator,
                                                                    ApiCallback<java.lang.Void> callback)
                                                             throws ApiException
        Delete a collaborator from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator to delete (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
      • repoDeleteFileCall

        public com.squareup.okhttp.Call repoDeleteFileCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String filepath,
                                                           DeleteFileOptions body,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoDeleteFile
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to delete (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteFile

        public FileDeleteResponse repoDeleteFile​(java.lang.String owner,
                                                 java.lang.String repo,
                                                 java.lang.String filepath,
                                                 DeleteFileOptions body)
                                          throws ApiException
        Delete a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to delete (required)
        body - (required)
        Returns:
        FileDeleteResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteFileWithHttpInfo

        public ApiResponse<FileDeleteResponse> repoDeleteFileWithHttpInfo​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.String filepath,
                                                                          DeleteFileOptions body)
                                                                   throws ApiException
        Delete a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to delete (required)
        body - (required)
        Returns:
        ApiResponse<FileDeleteResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteFileAsync

        public com.squareup.okhttp.Call repoDeleteFileAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String filepath,
                                                            DeleteFileOptions body,
                                                            ApiCallback<FileDeleteResponse> callback)
                                                     throws ApiException
        Delete a file in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to delete (required)
        body - (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
      • repoDeleteGitHookCall

        public com.squareup.okhttp.Call repoDeleteGitHookCall​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String id,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for repoDeleteGitHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteGitHook

        public void repoDeleteGitHook​(java.lang.String owner,
                                      java.lang.String repo,
                                      java.lang.String id)
                               throws ApiException
        Delete a Git hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteGitHookWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteGitHookWithHttpInfo​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.String id)
                                                                  throws ApiException
        Delete a Git hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteGitHookAsync

        public com.squareup.okhttp.Call repoDeleteGitHookAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.String id,
                                                               ApiCallback<java.lang.Void> callback)
                                                        throws ApiException
        Delete a Git hook in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (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
      • repoDeleteHookCall

        public com.squareup.okhttp.Call repoDeleteHookCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.Long id,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoDeleteHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteHook

        public void repoDeleteHook​(java.lang.String owner,
                                   java.lang.String repo,
                                   java.lang.Long id)
                            throws ApiException
        Delete a hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteHookWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteHookWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.Long id)
                                                               throws ApiException
        Delete a hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteHookAsync

        public com.squareup.okhttp.Call repoDeleteHookAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.Long id,
                                                            ApiCallback<java.lang.Void> callback)
                                                     throws ApiException
        Delete a hook in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to delete (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
      • repoDeleteKeyCall

        public com.squareup.okhttp.Call repoDeleteKeyCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Long id,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoDeleteKey
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteKey

        public void repoDeleteKey​(java.lang.String owner,
                                  java.lang.String repo,
                                  java.lang.Long id)
                           throws ApiException
        Delete a key from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteKeyWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteKeyWithHttpInfo​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long id)
                                                              throws ApiException
        Delete a key from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteKeyAsync

        public com.squareup.okhttp.Call repoDeleteKeyAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.Long id,
                                                           ApiCallback<java.lang.Void> callback)
                                                    throws ApiException
        Delete a key from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to delete (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
      • repoDeletePullReviewCall

        public com.squareup.okhttp.Call repoDeletePullReviewCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 java.lang.Long id,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoDeletePullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeletePullReview

        public void repoDeletePullReview​(java.lang.String owner,
                                         java.lang.String repo,
                                         java.lang.Long index,
                                         java.lang.Long id)
                                  throws ApiException
        Delete a specific review from a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePullReviewWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeletePullReviewWithHttpInfo​(java.lang.String owner,
                                                                            java.lang.String repo,
                                                                            java.lang.Long index,
                                                                            java.lang.Long id)
                                                                     throws ApiException
        Delete a specific review from a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePullReviewAsync

        public com.squareup.okhttp.Call repoDeletePullReviewAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  java.lang.Long id,
                                                                  ApiCallback<java.lang.Void> callback)
                                                           throws ApiException
        Delete a specific review from a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (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
      • repoDeletePullReviewRequestsCall

        public com.squareup.okhttp.Call repoDeletePullReviewRequestsCall​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long index,
                                                                         PullReviewRequestOptions body,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException
        Build call for repoDeletePullReviewRequests
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeletePullReviewRequests

        public void repoDeletePullReviewRequests​(java.lang.String owner,
                                                 java.lang.String repo,
                                                 java.lang.Long index,
                                                 PullReviewRequestOptions body)
                                          throws ApiException
        cancel review requests for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePullReviewRequestsWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeletePullReviewRequestsWithHttpInfo​(java.lang.String owner,
                                                                                    java.lang.String repo,
                                                                                    java.lang.Long index,
                                                                                    PullReviewRequestOptions body)
                                                                             throws ApiException
        cancel review requests for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePullReviewRequestsAsync

        public com.squareup.okhttp.Call repoDeletePullReviewRequestsAsync​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.Long index,
                                                                          PullReviewRequestOptions body,
                                                                          ApiCallback<java.lang.Void> callback)
                                                                   throws ApiException
        cancel review requests for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        body - (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
      • repoDeletePushMirrorCall

        public com.squareup.okhttp.Call repoDeletePushMirrorCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String name,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoDeletePushMirror
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of the pushMirror (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeletePushMirror

        public void repoDeletePushMirror​(java.lang.String owner,
                                         java.lang.String repo,
                                         java.lang.String name)
                                  throws ApiException
        deletes a push mirror from a repository by remoteName
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of the pushMirror (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePushMirrorWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeletePushMirrorWithHttpInfo​(java.lang.String owner,
                                                                            java.lang.String repo,
                                                                            java.lang.String name)
                                                                     throws ApiException
        deletes a push mirror from a repository by remoteName
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of the pushMirror (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeletePushMirrorAsync

        public com.squareup.okhttp.Call repoDeletePushMirrorAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String name,
                                                                  ApiCallback<java.lang.Void> callback)
                                                           throws ApiException
        deletes a push mirror from a repository by remoteName (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of the pushMirror (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
      • repoDeleteReleaseCall

        public com.squareup.okhttp.Call repoDeleteReleaseCall​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Long id,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for repoDeleteRelease
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteRelease

        public void repoDeleteRelease​(java.lang.String owner,
                                      java.lang.String repo,
                                      java.lang.Long id)
                               throws ApiException
        Delete a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteReleaseWithHttpInfo​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long id)
                                                                  throws ApiException
        Delete a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseAsync

        public com.squareup.okhttp.Call repoDeleteReleaseAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.Long id,
                                                               ApiCallback<java.lang.Void> callback)
                                                        throws ApiException
        Delete a release (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to delete (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
      • repoDeleteReleaseAttachmentCall

        public com.squareup.okhttp.Call repoDeleteReleaseAttachmentCall​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long id,
                                                                        java.lang.Long attachmentId,
                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                 throws ApiException
        Build call for repoDeleteReleaseAttachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteReleaseAttachment

        public void repoDeleteReleaseAttachment​(java.lang.String owner,
                                                java.lang.String repo,
                                                java.lang.Long id,
                                                java.lang.Long attachmentId)
                                         throws ApiException
        Delete a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseAttachmentWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteReleaseAttachmentWithHttpInfo​(java.lang.String owner,
                                                                                   java.lang.String repo,
                                                                                   java.lang.Long id,
                                                                                   java.lang.Long attachmentId)
                                                                            throws ApiException
        Delete a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseAttachmentAsync

        public com.squareup.okhttp.Call repoDeleteReleaseAttachmentAsync​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long id,
                                                                         java.lang.Long attachmentId,
                                                                         ApiCallback<java.lang.Void> callback)
                                                                  throws ApiException
        Delete a release attachment (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to delete (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
      • repoDeleteReleaseByTagCall

        public com.squareup.okhttp.Call repoDeleteReleaseByTagCall​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String tag,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException
        Build call for repoDeleteReleaseByTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteReleaseByTag

        public void repoDeleteReleaseByTag​(java.lang.String owner,
                                           java.lang.String repo,
                                           java.lang.String tag)
                                    throws ApiException
        Delete a release by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseByTagWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteReleaseByTagWithHttpInfo​(java.lang.String owner,
                                                                              java.lang.String repo,
                                                                              java.lang.String tag)
                                                                       throws ApiException
        Delete a release by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteReleaseByTagAsync

        public com.squareup.okhttp.Call repoDeleteReleaseByTagAsync​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String tag,
                                                                    ApiCallback<java.lang.Void> callback)
                                                             throws ApiException
        Delete a release by tag name (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to delete (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
      • repoDeleteTagCall

        public com.squareup.okhttp.Call repoDeleteTagCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.String tag,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoDeleteTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteTag

        public void repoDeleteTag​(java.lang.String owner,
                                  java.lang.String repo,
                                  java.lang.String tag)
                           throws ApiException
        Delete a repository's tag by name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTagWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteTagWithHttpInfo​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.String tag)
                                                              throws ApiException
        Delete a repository's tag by name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTagAsync

        public com.squareup.okhttp.Call repoDeleteTagAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String tag,
                                                           ApiCallback<java.lang.Void> callback)
                                                    throws ApiException
        Delete a repository's tag by name (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag to delete (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
      • repoDeleteTeamCall

        public com.squareup.okhttp.Call repoDeleteTeamCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String team,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoDeleteTeam
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteTeam

        public void repoDeleteTeam​(java.lang.String owner,
                                   java.lang.String repo,
                                   java.lang.String team)
                            throws ApiException
        Delete a team from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTeamWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteTeamWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String team)
                                                               throws ApiException
        Delete a team from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTeamAsync

        public com.squareup.okhttp.Call repoDeleteTeamAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String team,
                                                            ApiCallback<java.lang.Void> callback)
                                                     throws ApiException
        Delete a team from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        team - team name (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
      • repoDeleteTopicCall

        public com.squareup.okhttp.Call repoDeleteTopicCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String topic,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoDeleteTopic
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to delete (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteTopic

        public void repoDeleteTopic​(java.lang.String owner,
                                    java.lang.String repo,
                                    java.lang.String topic)
                             throws ApiException
        Delete a topic from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to delete (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTopicWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteTopicWithHttpInfo​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.String topic)
                                                                throws ApiException
        Delete a topic from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to delete (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteTopicAsync

        public com.squareup.okhttp.Call repoDeleteTopicAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String topic,
                                                             ApiCallback<java.lang.Void> callback)
                                                      throws ApiException
        Delete a topic from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        topic - name of the topic to delete (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
      • repoDeleteWikiPageCall

        public com.squareup.okhttp.Call repoDeleteWikiPageCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.String pageName,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoDeleteWikiPage
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDeleteWikiPage

        public void repoDeleteWikiPage​(java.lang.String owner,
                                       java.lang.String repo,
                                       java.lang.String pageName)
                                throws ApiException
        Delete a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteWikiPageWithHttpInfo

        public ApiResponse<java.lang.Void> repoDeleteWikiPageWithHttpInfo​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.String pageName)
                                                                   throws ApiException
        Delete a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDeleteWikiPageAsync

        public com.squareup.okhttp.Call repoDeleteWikiPageAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String pageName,
                                                                ApiCallback<java.lang.Void> callback)
                                                         throws ApiException
        Delete a wiki page (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (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
      • repoDismissPullReviewCall

        public com.squareup.okhttp.Call repoDismissPullReviewCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  java.lang.Long id,
                                                                  DismissPullReviewOptions body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoDismissPullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDismissPullReview

        public PullReview repoDismissPullReview​(java.lang.String owner,
                                                java.lang.String repo,
                                                java.lang.Long index,
                                                java.lang.Long id,
                                                DismissPullReviewOptions body)
                                         throws ApiException
        Dismiss a review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        Returns:
        PullReview
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDismissPullReviewWithHttpInfo

        public ApiResponse<PullReview> repoDismissPullReviewWithHttpInfo​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long index,
                                                                         java.lang.Long id,
                                                                         DismissPullReviewOptions body)
                                                                  throws ApiException
        Dismiss a review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        Returns:
        ApiResponse<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDismissPullReviewAsync

        public com.squareup.okhttp.Call repoDismissPullReviewAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.Long index,
                                                                   java.lang.Long id,
                                                                   DismissPullReviewOptions body,
                                                                   ApiCallback<PullReview> callback)
                                                            throws ApiException
        Dismiss a review for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (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
      • repoDownloadCommitDiffOrPatchCall

        public com.squareup.okhttp.Call repoDownloadCommitDiffOrPatchCall​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.String sha,
                                                                          java.lang.String diffType,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException
        Build call for repoDownloadCommitDiffOrPatch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA of the commit to get (required)
        diffType - whether the output is diff or patch (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDownloadCommitDiffOrPatch

        public java.lang.String repoDownloadCommitDiffOrPatch​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String sha,
                                                              java.lang.String diffType)
                                                       throws ApiException
        Get a commit's diff or patch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA of the commit to get (required)
        diffType - whether the output is diff or patch (required)
        Returns:
        String
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDownloadCommitDiffOrPatchWithHttpInfo

        public ApiResponse<java.lang.String> repoDownloadCommitDiffOrPatchWithHttpInfo​(java.lang.String owner,
                                                                                       java.lang.String repo,
                                                                                       java.lang.String sha,
                                                                                       java.lang.String diffType)
                                                                                throws ApiException
        Get a commit's diff or patch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA of the commit to get (required)
        diffType - whether the output is diff or patch (required)
        Returns:
        ApiResponse<String>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDownloadCommitDiffOrPatchAsync

        public com.squareup.okhttp.Call repoDownloadCommitDiffOrPatchAsync​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.String sha,
                                                                           java.lang.String diffType,
                                                                           ApiCallback<java.lang.String> callback)
                                                                    throws ApiException
        Get a commit's diff or patch (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA of the commit to get (required)
        diffType - whether the output is diff or patch (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
      • repoDownloadPullDiffOrPatchCall

        public com.squareup.okhttp.Call repoDownloadPullDiffOrPatchCall​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long index,
                                                                        java.lang.String diffType,
                                                                        java.lang.Boolean binary,
                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                 throws ApiException
        Build call for repoDownloadPullDiffOrPatch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        diffType - whether the output is diff or patch (required)
        binary - whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoDownloadPullDiffOrPatch

        public java.lang.String repoDownloadPullDiffOrPatch​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.Long index,
                                                            java.lang.String diffType,
                                                            java.lang.Boolean binary)
                                                     throws ApiException
        Get a pull request diff or patch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        diffType - whether the output is diff or patch (required)
        binary - whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)
        Returns:
        String
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDownloadPullDiffOrPatchWithHttpInfo

        public ApiResponse<java.lang.String> repoDownloadPullDiffOrPatchWithHttpInfo​(java.lang.String owner,
                                                                                     java.lang.String repo,
                                                                                     java.lang.Long index,
                                                                                     java.lang.String diffType,
                                                                                     java.lang.Boolean binary)
                                                                              throws ApiException
        Get a pull request diff or patch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        diffType - whether the output is diff or patch (required)
        binary - whether to include binary file changes. if true, the diff is applicable with `git apply` (optional)
        Returns:
        ApiResponse<String>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoDownloadPullDiffOrPatchAsync

        public com.squareup.okhttp.Call repoDownloadPullDiffOrPatchAsync​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Long index,
                                                                         java.lang.String diffType,
                                                                         java.lang.Boolean binary,
                                                                         ApiCallback<java.lang.String> callback)
                                                                  throws ApiException
        Get a pull request diff or patch (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        diffType - whether the output is diff or patch (required)
        binary - whether to include binary file changes. if true, the diff is applicable with `git apply` (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
      • repoEditCall

        public com.squareup.okhttp.Call repoEditCall​(java.lang.String owner,
                                                     java.lang.String repo,
                                                     EditRepoOption body,
                                                     ProgressResponseBody.ProgressListener progressListener,
                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                              throws ApiException
        Build call for repoEdit
        Parameters:
        owner - owner of the repo to edit (required)
        repo - name of the repo to edit (required)
        body - Properties of a repo that you can edit (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEdit

        public Repository repoEdit​(java.lang.String owner,
                                   java.lang.String repo,
                                   EditRepoOption body)
                            throws ApiException
        Edit a repository's properties. Only fields that are set will be changed.
        Parameters:
        owner - owner of the repo to edit (required)
        repo - name of the repo to edit (required)
        body - Properties of a repo that you can edit (optional)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditWithHttpInfo

        public ApiResponse<Repository> repoEditWithHttpInfo​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            EditRepoOption body)
                                                     throws ApiException
        Edit a repository's properties. Only fields that are set will be changed.
        Parameters:
        owner - owner of the repo to edit (required)
        repo - name of the repo to edit (required)
        body - Properties of a repo that you can edit (optional)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditAsync

        public com.squareup.okhttp.Call repoEditAsync​(java.lang.String owner,
                                                      java.lang.String repo,
                                                      EditRepoOption body,
                                                      ApiCallback<Repository> callback)
                                               throws ApiException
        Edit a repository's properties. Only fields that are set will be changed. (asynchronously)
        Parameters:
        owner - owner of the repo to edit (required)
        repo - name of the repo to edit (required)
        body - Properties of a repo that you can edit (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
      • repoEditBranchProtectionCall

        public com.squareup.okhttp.Call repoEditBranchProtectionCall​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.String name,
                                                                     EditBranchProtectionOption body,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException
        Build call for repoEditBranchProtection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditBranchProtection

        public BranchProtection repoEditBranchProtection​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String name,
                                                         EditBranchProtectionOption body)
                                                  throws ApiException
        Edit a branch protections for a repository. Only fields that are set will be changed
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        body - (optional)
        Returns:
        BranchProtection
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditBranchProtectionWithHttpInfo

        public ApiResponse<BranchProtection> repoEditBranchProtectionWithHttpInfo​(java.lang.String owner,
                                                                                  java.lang.String repo,
                                                                                  java.lang.String name,
                                                                                  EditBranchProtectionOption body)
                                                                           throws ApiException
        Edit a branch protections for a repository. Only fields that are set will be changed
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        body - (optional)
        Returns:
        ApiResponse<BranchProtection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditBranchProtectionAsync

        public com.squareup.okhttp.Call repoEditBranchProtectionAsync​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String name,
                                                                      EditBranchProtectionOption body,
                                                                      ApiCallback<BranchProtection> callback)
                                                               throws ApiException
        Edit a branch protections for a repository. Only fields that are set will be changed (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        body - (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
      • repoEditGitHookCall

        public com.squareup.okhttp.Call repoEditGitHookCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String id,
                                                            EditGitHookOption body,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoEditGitHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditGitHook

        public GitHook repoEditGitHook​(java.lang.String owner,
                                       java.lang.String repo,
                                       java.lang.String id,
                                       EditGitHookOption body)
                                throws ApiException
        Edit a Git hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        body - (optional)
        Returns:
        GitHook
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditGitHookWithHttpInfo

        public ApiResponse<GitHook> repoEditGitHookWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String id,
                                                                EditGitHookOption body)
                                                         throws ApiException
        Edit a Git hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        body - (optional)
        Returns:
        ApiResponse<GitHook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditGitHookAsync

        public com.squareup.okhttp.Call repoEditGitHookAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String id,
                                                             EditGitHookOption body,
                                                             ApiCallback<GitHook> callback)
                                                      throws ApiException
        Edit a Git hook in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        body - (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
      • repoEditHookCall

        public com.squareup.okhttp.Call repoEditHookCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Long id,
                                                         EditHookOption body,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoEditHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - index of the hook (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditHook

        public Hook repoEditHook​(java.lang.String owner,
                                 java.lang.String repo,
                                 java.lang.Long id,
                                 EditHookOption body)
                          throws ApiException
        Edit a hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - index of the hook (required)
        body - (optional)
        Returns:
        Hook
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditHookWithHttpInfo

        public ApiResponse<Hook> repoEditHookWithHttpInfo​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Long id,
                                                          EditHookOption body)
                                                   throws ApiException
        Edit a hook in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - index of the hook (required)
        body - (optional)
        Returns:
        ApiResponse<Hook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditHookAsync

        public com.squareup.okhttp.Call repoEditHookAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Long id,
                                                          EditHookOption body,
                                                          ApiCallback<Hook> callback)
                                                   throws ApiException
        Edit a hook in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - index of the hook (required)
        body - (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
      • repoEditPullRequestCall

        public com.squareup.okhttp.Call repoEditPullRequestCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Long index,
                                                                EditPullRequestOption body,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoEditPullRequest
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to edit (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditPullRequest

        public PullRequest repoEditPullRequest​(java.lang.String owner,
                                               java.lang.String repo,
                                               java.lang.Long index,
                                               EditPullRequestOption body)
                                        throws ApiException
        Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to edit (required)
        body - (optional)
        Returns:
        PullRequest
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditPullRequestWithHttpInfo

        public ApiResponse<PullRequest> repoEditPullRequestWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long index,
                                                                        EditPullRequestOption body)
                                                                 throws ApiException
        Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to edit (required)
        body - (optional)
        Returns:
        ApiResponse<PullRequest>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditPullRequestAsync

        public com.squareup.okhttp.Call repoEditPullRequestAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 EditPullRequestOption body,
                                                                 ApiCallback<PullRequest> callback)
                                                          throws ApiException
        Update a pull request. If using deadline only the date will be taken into account, and time of day ignored. (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to edit (required)
        body - (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
      • repoEditReleaseCall

        public com.squareup.okhttp.Call repoEditReleaseCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.Long id,
                                                            EditReleaseOption body,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoEditRelease
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to edit (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditRelease

        public Release repoEditRelease​(java.lang.String owner,
                                       java.lang.String repo,
                                       java.lang.Long id,
                                       EditReleaseOption body)
                                throws ApiException
        Update a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to edit (required)
        body - (optional)
        Returns:
        Release
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditReleaseWithHttpInfo

        public ApiResponse<Release> repoEditReleaseWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Long id,
                                                                EditReleaseOption body)
                                                         throws ApiException
        Update a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to edit (required)
        body - (optional)
        Returns:
        ApiResponse<Release>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditReleaseAsync

        public com.squareup.okhttp.Call repoEditReleaseAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.Long id,
                                                             EditReleaseOption body,
                                                             ApiCallback<Release> callback)
                                                      throws ApiException
        Update a release (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to edit (required)
        body - (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
      • repoEditReleaseAttachmentCall

        public com.squareup.okhttp.Call repoEditReleaseAttachmentCall​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.Long id,
                                                                      java.lang.Long attachmentId,
                                                                      EditAttachmentOptions body,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException
        Build call for repoEditReleaseAttachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to edit (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditReleaseAttachment

        public Attachment repoEditReleaseAttachment​(java.lang.String owner,
                                                    java.lang.String repo,
                                                    java.lang.Long id,
                                                    java.lang.Long attachmentId,
                                                    EditAttachmentOptions body)
                                             throws ApiException
        Edit a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to edit (required)
        body - (optional)
        Returns:
        Attachment
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditReleaseAttachmentWithHttpInfo

        public ApiResponse<Attachment> repoEditReleaseAttachmentWithHttpInfo​(java.lang.String owner,
                                                                             java.lang.String repo,
                                                                             java.lang.Long id,
                                                                             java.lang.Long attachmentId,
                                                                             EditAttachmentOptions body)
                                                                      throws ApiException
        Edit a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to edit (required)
        body - (optional)
        Returns:
        ApiResponse<Attachment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditReleaseAttachmentAsync

        public com.squareup.okhttp.Call repoEditReleaseAttachmentAsync​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long id,
                                                                       java.lang.Long attachmentId,
                                                                       EditAttachmentOptions body,
                                                                       ApiCallback<Attachment> callback)
                                                                throws ApiException
        Edit a release attachment (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to edit (required)
        body - (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
      • repoEditWikiPageCall

        public com.squareup.okhttp.Call repoEditWikiPageCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String pageName,
                                                             CreateWikiPageOptions body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoEditWikiPage
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoEditWikiPage

        public WikiPage repoEditWikiPage​(java.lang.String owner,
                                         java.lang.String repo,
                                         java.lang.String pageName,
                                         CreateWikiPageOptions body)
                                  throws ApiException
        Edit a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        body - (optional)
        Returns:
        WikiPage
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditWikiPageWithHttpInfo

        public ApiResponse<WikiPage> repoEditWikiPageWithHttpInfo​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String pageName,
                                                                  CreateWikiPageOptions body)
                                                           throws ApiException
        Edit a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        body - (optional)
        Returns:
        ApiResponse<WikiPage>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoEditWikiPageAsync

        public com.squareup.okhttp.Call repoEditWikiPageAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String pageName,
                                                              CreateWikiPageOptions body,
                                                              ApiCallback<WikiPage> callback)
                                                       throws ApiException
        Edit a wiki page (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        body - (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
      • repoGetCall

        public com.squareup.okhttp.Call repoGetCall​(java.lang.String owner,
                                                    java.lang.String repo,
                                                    ProgressResponseBody.ProgressListener progressListener,
                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                             throws ApiException
        Build call for repoGet
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGet

        public Repository repoGet​(java.lang.String owner,
                                  java.lang.String repo)
                           throws ApiException
        Get a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWithHttpInfo

        public ApiResponse<Repository> repoGetWithHttpInfo​(java.lang.String owner,
                                                           java.lang.String repo)
                                                    throws ApiException
        Get a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetAsync

        public com.squareup.okhttp.Call repoGetAsync​(java.lang.String owner,
                                                     java.lang.String repo,
                                                     ApiCallback<Repository> callback)
                                              throws ApiException
        Get a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoGetAllCommitsCall

        public com.squareup.okhttp.Call repoGetAllCommitsCall​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String sha,
                                                              java.lang.String path,
                                                              java.lang.Boolean stat,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for repoGetAllCommits
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA or branch to start listing commits from (usually 'master') (optional)
        path - filepath of a file/dir (optional)
        stat - include diff stats for every commit (disable for speedup, default 'true') (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (ignored if used with 'path') (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetAllCommits

        public java.util.List<Commit> repoGetAllCommits​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String sha,
                                                        java.lang.String path,
                                                        java.lang.Boolean stat,
                                                        java.lang.Integer page,
                                                        java.lang.Integer limit)
                                                 throws ApiException
        Get a list of all commits from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA or branch to start listing commits from (usually 'master') (optional)
        path - filepath of a file/dir (optional)
        stat - include diff stats for every commit (disable for speedup, default 'true') (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (ignored if used with 'path') (optional)
        Returns:
        List<Commit>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetAllCommitsWithHttpInfo

        public ApiResponse<java.util.List<Commit>> repoGetAllCommitsWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo,
                                                                                 java.lang.String sha,
                                                                                 java.lang.String path,
                                                                                 java.lang.Boolean stat,
                                                                                 java.lang.Integer page,
                                                                                 java.lang.Integer limit)
                                                                          throws ApiException
        Get a list of all commits from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA or branch to start listing commits from (usually 'master') (optional)
        path - filepath of a file/dir (optional)
        stat - include diff stats for every commit (disable for speedup, default 'true') (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (ignored if used with 'path') (optional)
        Returns:
        ApiResponse<List<Commit>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetAllCommitsAsync

        public com.squareup.okhttp.Call repoGetAllCommitsAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.String sha,
                                                               java.lang.String path,
                                                               java.lang.Boolean stat,
                                                               java.lang.Integer page,
                                                               java.lang.Integer limit,
                                                               ApiCallback<java.util.List<Commit>> callback)
                                                        throws ApiException
        Get a list of all commits from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - SHA or branch to start listing commits from (usually 'master') (optional)
        path - filepath of a file/dir (optional)
        stat - include diff stats for every commit (disable for speedup, default 'true') (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (ignored if used with 'path') (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
      • repoGetArchiveCall

        public com.squareup.okhttp.Call repoGetArchiveCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String archive,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoGetArchive
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        archive - the git reference for download with attached archive format (e.g. master.zip) (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetArchive

        public void repoGetArchive​(java.lang.String owner,
                                   java.lang.String repo,
                                   java.lang.String archive)
                            throws ApiException
        Get an archive of a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        archive - the git reference for download with attached archive format (e.g. master.zip) (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetArchiveWithHttpInfo

        public ApiResponse<java.lang.Void> repoGetArchiveWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String archive)
                                                               throws ApiException
        Get an archive of a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        archive - the git reference for download with attached archive format (e.g. master.zip) (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetArchiveAsync

        public com.squareup.okhttp.Call repoGetArchiveAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String archive,
                                                            ApiCallback<java.lang.Void> callback)
                                                     throws ApiException
        Get an archive of a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        archive - the git reference for download with attached archive format (e.g. master.zip) (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
      • repoGetAssigneesCall

        public com.squareup.okhttp.Call repoGetAssigneesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoGetAssignees
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetAssignees

        public java.util.List<User> repoGetAssignees​(java.lang.String owner,
                                                     java.lang.String repo)
                                              throws ApiException
        Return all users that have write access and can be assigned to issues
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetAssigneesWithHttpInfo

        public ApiResponse<java.util.List<User>> repoGetAssigneesWithHttpInfo​(java.lang.String owner,
                                                                              java.lang.String repo)
                                                                       throws ApiException
        Return all users that have write access and can be assigned to issues
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<User>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetAssigneesAsync

        public com.squareup.okhttp.Call repoGetAssigneesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              ApiCallback<java.util.List<User>> callback)
                                                       throws ApiException
        Return all users that have write access and can be assigned to issues (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoGetBranchCall

        public com.squareup.okhttp.Call repoGetBranchCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.String branch,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoGetBranch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetBranch

        public Branch repoGetBranch​(java.lang.String owner,
                                    java.lang.String repo,
                                    java.lang.String branch)
                             throws ApiException
        Retrieve a specific branch from a repository, including its effective branch protection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to get (required)
        Returns:
        Branch
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetBranchWithHttpInfo

        public ApiResponse<Branch> repoGetBranchWithHttpInfo​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String branch)
                                                      throws ApiException
        Retrieve a specific branch from a repository, including its effective branch protection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to get (required)
        Returns:
        ApiResponse<Branch>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetBranchAsync

        public com.squareup.okhttp.Call repoGetBranchAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String branch,
                                                           ApiCallback<Branch> callback)
                                                    throws ApiException
        Retrieve a specific branch from a repository, including its effective branch protection (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        branch - branch to get (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
      • repoGetBranchProtectionCall

        public com.squareup.okhttp.Call repoGetBranchProtectionCall​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String name,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException
        Build call for repoGetBranchProtection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetBranchProtection

        public BranchProtection repoGetBranchProtection​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String name)
                                                 throws ApiException
        Get a specific branch protection for the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        Returns:
        BranchProtection
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetBranchProtectionWithHttpInfo

        public ApiResponse<BranchProtection> repoGetBranchProtectionWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo,
                                                                                 java.lang.String name)
                                                                          throws ApiException
        Get a specific branch protection for the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected branch (required)
        Returns:
        ApiResponse<BranchProtection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetBranchProtectionAsync

        public com.squareup.okhttp.Call repoGetBranchProtectionAsync​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.String name,
                                                                     ApiCallback<BranchProtection> callback)
                                                              throws ApiException
        Get a specific branch protection for the repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - name of protected 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
      • repoGetByID

        public Repository repoGetByID​(java.lang.Long id)
                               throws ApiException
        Get a repository by id
        Parameters:
        id - id of the repo to get (required)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetByIDWithHttpInfo

        public ApiResponse<Repository> repoGetByIDWithHttpInfo​(java.lang.Long id)
                                                        throws ApiException
        Get a repository by id
        Parameters:
        id - id of the repo to get (required)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetByIDAsync

        public com.squareup.okhttp.Call repoGetByIDAsync​(java.lang.Long id,
                                                         ApiCallback<Repository> callback)
                                                  throws ApiException
        Get a repository by id (asynchronously)
        Parameters:
        id - id of the repo to get (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
      • repoGetCombinedStatusByRefCall

        public com.squareup.okhttp.Call repoGetCombinedStatusByRefCall​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.String ref,
                                                                       java.lang.Integer page,
                                                                       java.lang.Integer limit,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException
        Build call for repoGetCombinedStatusByRef
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetCombinedStatusByRef

        public CombinedStatus repoGetCombinedStatusByRef​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String ref,
                                                         java.lang.Integer page,
                                                         java.lang.Integer limit)
                                                  throws ApiException
        Get a commit's combined status, by branch/tag/commit reference
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        CombinedStatus
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetCombinedStatusByRefWithHttpInfo

        public ApiResponse<CombinedStatus> repoGetCombinedStatusByRefWithHttpInfo​(java.lang.String owner,
                                                                                  java.lang.String repo,
                                                                                  java.lang.String ref,
                                                                                  java.lang.Integer page,
                                                                                  java.lang.Integer limit)
                                                                           throws ApiException
        Get a commit's combined status, by branch/tag/commit reference
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<CombinedStatus>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetCombinedStatusByRefAsync

        public com.squareup.okhttp.Call repoGetCombinedStatusByRefAsync​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.String ref,
                                                                        java.lang.Integer page,
                                                                        java.lang.Integer limit,
                                                                        ApiCallback<CombinedStatus> callback)
                                                                 throws ApiException
        Get a commit's combined status, by branch/tag/commit reference (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoGetContentsCall

        public com.squareup.okhttp.Call repoGetContentsCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String filepath,
                                                            java.lang.String ref,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoGetContents
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the dir, file, symlink or submodule in the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetContents

        public ContentsResponse repoGetContents​(java.lang.String owner,
                                                java.lang.String repo,
                                                java.lang.String filepath,
                                                java.lang.String ref)
                                         throws ApiException
        Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the dir, file, symlink or submodule in the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ContentsResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetContentsWithHttpInfo

        public ApiResponse<ContentsResponse> repoGetContentsWithHttpInfo​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.String filepath,
                                                                         java.lang.String ref)
                                                                  throws ApiException
        Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the dir, file, symlink or submodule in the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ApiResponse<ContentsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetContentsAsync

        public com.squareup.okhttp.Call repoGetContentsAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String filepath,
                                                             java.lang.String ref,
                                                             ApiCallback<ContentsResponse> callback)
                                                      throws ApiException
        Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the dir, file, symlink or submodule in the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (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
      • repoGetContentsListCall

        public com.squareup.okhttp.Call repoGetContentsListCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String ref,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoGetContentsList
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetContentsList

        public java.util.List<ContentsResponse> repoGetContentsList​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String ref)
                                                             throws ApiException
        Gets the metadata of all the entries of the root dir
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        List<ContentsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetContentsListWithHttpInfo

        public ApiResponse<java.util.List<ContentsResponse>> repoGetContentsListWithHttpInfo​(java.lang.String owner,
                                                                                             java.lang.String repo,
                                                                                             java.lang.String ref)
                                                                                      throws ApiException
        Gets the metadata of all the entries of the root dir
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ApiResponse<List<ContentsResponse>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetContentsListAsync

        public com.squareup.okhttp.Call repoGetContentsListAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String ref,
                                                                 ApiCallback<java.util.List<ContentsResponse>> callback)
                                                          throws ApiException
        Gets the metadata of all the entries of the root dir (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (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
      • repoGetEditorConfigCall

        public com.squareup.okhttp.Call repoGetEditorConfigCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String filepath,
                                                                java.lang.String ref,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoGetEditorConfig
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetEditorConfig

        public void repoGetEditorConfig​(java.lang.String owner,
                                        java.lang.String repo,
                                        java.lang.String filepath,
                                        java.lang.String ref)
                                 throws ApiException
        Get the EditorConfig definitions of a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetEditorConfigWithHttpInfo

        public ApiResponse<java.lang.Void> repoGetEditorConfigWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.String filepath,
                                                                           java.lang.String ref)
                                                                    throws ApiException
        Get the EditorConfig definitions of a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetEditorConfigAsync

        public com.squareup.okhttp.Call repoGetEditorConfigAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String filepath,
                                                                 java.lang.String ref,
                                                                 ApiCallback<java.lang.Void> callback)
                                                          throws ApiException
        Get the EditorConfig definitions of a file in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (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
      • repoGetGitHookCall

        public com.squareup.okhttp.Call repoGetGitHookCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String id,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoGetGitHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetGitHook

        public GitHook repoGetGitHook​(java.lang.String owner,
                                      java.lang.String repo,
                                      java.lang.String id)
                               throws ApiException
        Get a Git hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Returns:
        GitHook
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetGitHookWithHttpInfo

        public ApiResponse<GitHook> repoGetGitHookWithHttpInfo​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.String id)
                                                        throws ApiException
        Get a Git hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Returns:
        ApiResponse<GitHook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetGitHookAsync

        public com.squareup.okhttp.Call repoGetGitHookAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String id,
                                                            ApiCallback<GitHook> callback)
                                                     throws ApiException
        Get a Git hook (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (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
      • repoGetHookCall

        public com.squareup.okhttp.Call repoGetHookCall​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.Long id,
                                                        ProgressResponseBody.ProgressListener progressListener,
                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                 throws ApiException
        Build call for repoGetHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetHook

        public Hook repoGetHook​(java.lang.String owner,
                                java.lang.String repo,
                                java.lang.Long id)
                         throws ApiException
        Get a hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Returns:
        Hook
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetHookWithHttpInfo

        public ApiResponse<Hook> repoGetHookWithHttpInfo​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Long id)
                                                  throws ApiException
        Get a hook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (required)
        Returns:
        ApiResponse<Hook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetHookAsync

        public com.squareup.okhttp.Call repoGetHookAsync​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Long id,
                                                         ApiCallback<Hook> callback)
                                                  throws ApiException
        Get a hook (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to get (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
      • repoGetIssueTemplatesCall

        public com.squareup.okhttp.Call repoGetIssueTemplatesCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoGetIssueTemplates
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetIssueTemplates

        public java.util.List<IssueTemplate> repoGetIssueTemplates​(java.lang.String owner,
                                                                   java.lang.String repo)
                                                            throws ApiException
        Get available issue templates for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<IssueTemplate>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetIssueTemplatesWithHttpInfo

        public ApiResponse<java.util.List<IssueTemplate>> repoGetIssueTemplatesWithHttpInfo​(java.lang.String owner,
                                                                                            java.lang.String repo)
                                                                                     throws ApiException
        Get available issue templates for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<IssueTemplate>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetIssueTemplatesAsync

        public com.squareup.okhttp.Call repoGetIssueTemplatesAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   ApiCallback<java.util.List<IssueTemplate>> callback)
                                                            throws ApiException
        Get available issue templates for a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoGetKeyCall

        public com.squareup.okhttp.Call repoGetKeyCall​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.Long id,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException
        Build call for repoGetKey
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetKey

        public DeployKey repoGetKey​(java.lang.String owner,
                                    java.lang.String repo,
                                    java.lang.Long id)
                             throws ApiException
        Get a repository's key by id
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to get (required)
        Returns:
        DeployKey
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetKeyWithHttpInfo

        public ApiResponse<DeployKey> repoGetKeyWithHttpInfo​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.Long id)
                                                      throws ApiException
        Get a repository's key by id
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to get (required)
        Returns:
        ApiResponse<DeployKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetKeyAsync

        public com.squareup.okhttp.Call repoGetKeyAsync​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.Long id,
                                                        ApiCallback<DeployKey> callback)
                                                 throws ApiException
        Get a repository's key by id (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the key to get (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
      • repoGetLanguagesCall

        public com.squareup.okhttp.Call repoGetLanguagesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoGetLanguages
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetLanguages

        public java.util.Map<java.lang.String,​java.lang.Long> repoGetLanguages​(java.lang.String owner,
                                                                                     java.lang.String repo)
                                                                              throws ApiException
        Get languages and number of bytes of code written
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        Map<String, Long>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetLanguagesWithHttpInfo

        public ApiResponse<java.util.Map<java.lang.String,​java.lang.Long>> repoGetLanguagesWithHttpInfo​(java.lang.String owner,
                                                                                                              java.lang.String repo)
                                                                                                       throws ApiException
        Get languages and number of bytes of code written
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<Map<String, Long>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetLanguagesAsync

        public com.squareup.okhttp.Call repoGetLanguagesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              ApiCallback<java.util.Map<java.lang.String,​java.lang.Long>> callback)
                                                       throws ApiException
        Get languages and number of bytes of code written (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoGetNoteCall

        public com.squareup.okhttp.Call repoGetNoteCall​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String sha,
                                                        ProgressResponseBody.ProgressListener progressListener,
                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                 throws ApiException
        Build call for repoGetNote
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetNote

        public Note repoGetNote​(java.lang.String owner,
                                java.lang.String repo,
                                java.lang.String sha)
                         throws ApiException
        Get a note corresponding to a single commit from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        Returns:
        Note
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetNoteWithHttpInfo

        public ApiResponse<Note> repoGetNoteWithHttpInfo​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String sha)
                                                  throws ApiException
        Get a note corresponding to a single commit from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        Returns:
        ApiResponse<Note>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetNoteAsync

        public com.squareup.okhttp.Call repoGetNoteAsync​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String sha,
                                                         ApiCallback<Note> callback)
                                                  throws ApiException
        Get a note corresponding to a single commit from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (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
      • repoGetPullRequestCall

        public com.squareup.okhttp.Call repoGetPullRequestCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.Long index,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoGetPullRequest
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPullRequest

        public PullRequest repoGetPullRequest​(java.lang.String owner,
                                              java.lang.String repo,
                                              java.lang.Long index)
                                       throws ApiException
        Get a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        Returns:
        PullRequest
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestWithHttpInfo

        public ApiResponse<PullRequest> repoGetPullRequestWithHttpInfo​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long index)
                                                                throws ApiException
        Get a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        Returns:
        ApiResponse<PullRequest>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestAsync

        public com.squareup.okhttp.Call repoGetPullRequestAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Long index,
                                                                ApiCallback<PullRequest> callback)
                                                         throws ApiException
        Get a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (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
      • repoGetPullRequestCommitsCall

        public com.squareup.okhttp.Call repoGetPullRequestCommitsCall​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.Long index,
                                                                      java.lang.Integer page,
                                                                      java.lang.Integer limit,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException
        Build call for repoGetPullRequestCommits
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPullRequestCommits

        public java.util.List<Commit> repoGetPullRequestCommits​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Long index,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit)
                                                         throws ApiException
        Get commits for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<Commit>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestCommitsWithHttpInfo

        public ApiResponse<java.util.List<Commit>> repoGetPullRequestCommitsWithHttpInfo​(java.lang.String owner,
                                                                                         java.lang.String repo,
                                                                                         java.lang.Long index,
                                                                                         java.lang.Integer page,
                                                                                         java.lang.Integer limit)
                                                                                  throws ApiException
        Get commits for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<Commit>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestCommitsAsync

        public com.squareup.okhttp.Call repoGetPullRequestCommitsAsync​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long index,
                                                                       java.lang.Integer page,
                                                                       java.lang.Integer limit,
                                                                       ApiCallback<java.util.List<Commit>> callback)
                                                                throws ApiException
        Get commits for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoGetPullRequestFilesCall

        public com.squareup.okhttp.Call repoGetPullRequestFilesCall​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.Long index,
                                                                    java.lang.String skipTo,
                                                                    java.lang.String whitespace,
                                                                    java.lang.Integer page,
                                                                    java.lang.Integer limit,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException
        Build call for repoGetPullRequestFiles
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        skipTo - skip to given file (optional)
        whitespace - whitespace behavior (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPullRequestFiles

        public java.util.List<ChangedFile> repoGetPullRequestFiles​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.Long index,
                                                                   java.lang.String skipTo,
                                                                   java.lang.String whitespace,
                                                                   java.lang.Integer page,
                                                                   java.lang.Integer limit)
                                                            throws ApiException
        Get changed files for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        skipTo - skip to given file (optional)
        whitespace - whitespace behavior (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<ChangedFile>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestFilesWithHttpInfo

        public ApiResponse<java.util.List<ChangedFile>> repoGetPullRequestFilesWithHttpInfo​(java.lang.String owner,
                                                                                            java.lang.String repo,
                                                                                            java.lang.Long index,
                                                                                            java.lang.String skipTo,
                                                                                            java.lang.String whitespace,
                                                                                            java.lang.Integer page,
                                                                                            java.lang.Integer limit)
                                                                                     throws ApiException
        Get changed files for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        skipTo - skip to given file (optional)
        whitespace - whitespace behavior (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<ChangedFile>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullRequestFilesAsync

        public com.squareup.okhttp.Call repoGetPullRequestFilesAsync​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long index,
                                                                     java.lang.String skipTo,
                                                                     java.lang.String whitespace,
                                                                     java.lang.Integer page,
                                                                     java.lang.Integer limit,
                                                                     ApiCallback<java.util.List<ChangedFile>> callback)
                                                              throws ApiException
        Get changed files for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        skipTo - skip to given file (optional)
        whitespace - whitespace behavior (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoGetPullReviewCall

        public com.squareup.okhttp.Call repoGetPullReviewCall​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Long index,
                                                              java.lang.Long id,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for repoGetPullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPullReview

        public PullReview repoGetPullReview​(java.lang.String owner,
                                            java.lang.String repo,
                                            java.lang.Long index,
                                            java.lang.Long id)
                                     throws ApiException
        Get a specific review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        PullReview
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullReviewWithHttpInfo

        public ApiResponse<PullReview> repoGetPullReviewWithHttpInfo​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long index,
                                                                     java.lang.Long id)
                                                              throws ApiException
        Get a specific review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        ApiResponse<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullReviewAsync

        public com.squareup.okhttp.Call repoGetPullReviewAsync​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.Long index,
                                                               java.lang.Long id,
                                                               ApiCallback<PullReview> callback)
                                                        throws ApiException
        Get a specific review for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (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
      • repoGetPullReviewCommentsCall

        public com.squareup.okhttp.Call repoGetPullReviewCommentsCall​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.Long index,
                                                                      java.lang.Long id,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException
        Build call for repoGetPullReviewComments
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPullReviewComments

        public java.util.List<PullReviewComment> repoGetPullReviewComments​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.Long index,
                                                                           java.lang.Long id)
                                                                    throws ApiException
        Get a specific review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        List<PullReviewComment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullReviewCommentsWithHttpInfo

        public ApiResponse<java.util.List<PullReviewComment>> repoGetPullReviewCommentsWithHttpInfo​(java.lang.String owner,
                                                                                                    java.lang.String repo,
                                                                                                    java.lang.Long index,
                                                                                                    java.lang.Long id)
                                                                                             throws ApiException
        Get a specific review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        ApiResponse<List<PullReviewComment>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPullReviewCommentsAsync

        public com.squareup.okhttp.Call repoGetPullReviewCommentsAsync​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long index,
                                                                       java.lang.Long id,
                                                                       ApiCallback<java.util.List<PullReviewComment>> callback)
                                                                throws ApiException
        Get a specific review for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (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
      • repoGetPushMirrorByRemoteNameCall

        public com.squareup.okhttp.Call repoGetPushMirrorByRemoteNameCall​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          java.lang.String name,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException
        Build call for repoGetPushMirrorByRemoteName
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of push mirror (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetPushMirrorByRemoteName

        public PushMirror repoGetPushMirrorByRemoteName​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String name)
                                                 throws ApiException
        Get push mirror of the repository by remoteName
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of push mirror (required)
        Returns:
        PushMirror
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPushMirrorByRemoteNameWithHttpInfo

        public ApiResponse<PushMirror> repoGetPushMirrorByRemoteNameWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo,
                                                                                 java.lang.String name)
                                                                          throws ApiException
        Get push mirror of the repository by remoteName
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of push mirror (required)
        Returns:
        ApiResponse<PushMirror>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetPushMirrorByRemoteNameAsync

        public com.squareup.okhttp.Call repoGetPushMirrorByRemoteNameAsync​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.String name,
                                                                           ApiCallback<PushMirror> callback)
                                                                    throws ApiException
        Get push mirror of the repository by remoteName (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        name - remote name of push mirror (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
      • repoGetRawFileCall

        public com.squareup.okhttp.Call repoGetRawFileCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String filepath,
                                                           java.lang.String ref,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoGetRawFile
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetRawFile

        public void repoGetRawFile​(java.lang.String owner,
                                   java.lang.String repo,
                                   java.lang.String filepath,
                                   java.lang.String ref)
                            throws ApiException
        Get a file from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRawFileWithHttpInfo

        public ApiResponse<java.lang.Void> repoGetRawFileWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String filepath,
                                                                      java.lang.String ref)
                                                               throws ApiException
        Get a file from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRawFileAsync

        public com.squareup.okhttp.Call repoGetRawFileAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String filepath,
                                                            java.lang.String ref,
                                                            ApiCallback<java.lang.Void> callback)
                                                     throws ApiException
        Get a file from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (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
      • repoGetRawFileOrLFSCall

        public com.squareup.okhttp.Call repoGetRawFileOrLFSCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String filepath,
                                                                java.lang.String ref,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoGetRawFileOrLFS
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetRawFileOrLFS

        public void repoGetRawFileOrLFS​(java.lang.String owner,
                                        java.lang.String repo,
                                        java.lang.String filepath,
                                        java.lang.String ref)
                                 throws ApiException
        Get a file or it's LFS object from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRawFileOrLFSWithHttpInfo

        public ApiResponse<java.lang.Void> repoGetRawFileOrLFSWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.String filepath,
                                                                           java.lang.String ref)
                                                                    throws ApiException
        Get a file or it's LFS object from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRawFileOrLFSAsync

        public com.squareup.okhttp.Call repoGetRawFileOrLFSAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String filepath,
                                                                 java.lang.String ref,
                                                                 ApiCallback<java.lang.Void> callback)
                                                          throws ApiException
        Get a file or it's LFS object from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - filepath of the file to get (required)
        ref - The name of the commit/branch/tag. Default the repository’s default branch (usually master) (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
      • repoGetReleaseCall

        public com.squareup.okhttp.Call repoGetReleaseCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.Long id,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoGetRelease
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetRelease

        public Release repoGetRelease​(java.lang.String owner,
                                      java.lang.String repo,
                                      java.lang.Long id)
                               throws ApiException
        Get a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to get (required)
        Returns:
        Release
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseWithHttpInfo

        public ApiResponse<Release> repoGetReleaseWithHttpInfo​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.Long id)
                                                        throws ApiException
        Get a release
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to get (required)
        Returns:
        ApiResponse<Release>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseAsync

        public com.squareup.okhttp.Call repoGetReleaseAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.Long id,
                                                            ApiCallback<Release> callback)
                                                     throws ApiException
        Get a release (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release to get (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
      • repoGetReleaseAttachmentCall

        public com.squareup.okhttp.Call repoGetReleaseAttachmentCall​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long id,
                                                                     java.lang.Long attachmentId,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException
        Build call for repoGetReleaseAttachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetReleaseAttachment

        public Attachment repoGetReleaseAttachment​(java.lang.String owner,
                                                   java.lang.String repo,
                                                   java.lang.Long id,
                                                   java.lang.Long attachmentId)
                                            throws ApiException
        Get a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to get (required)
        Returns:
        Attachment
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseAttachmentWithHttpInfo

        public ApiResponse<Attachment> repoGetReleaseAttachmentWithHttpInfo​(java.lang.String owner,
                                                                            java.lang.String repo,
                                                                            java.lang.Long id,
                                                                            java.lang.Long attachmentId)
                                                                     throws ApiException
        Get a release attachment
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to get (required)
        Returns:
        ApiResponse<Attachment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseAttachmentAsync

        public com.squareup.okhttp.Call repoGetReleaseAttachmentAsync​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.Long id,
                                                                      java.lang.Long attachmentId,
                                                                      ApiCallback<Attachment> callback)
                                                               throws ApiException
        Get a release attachment (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        attachmentId - id of the attachment to get (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
      • repoGetReleaseByTagCall

        public com.squareup.okhttp.Call repoGetReleaseByTagCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String tag,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoGetReleaseByTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to get (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetReleaseByTag

        public Release repoGetReleaseByTag​(java.lang.String owner,
                                           java.lang.String repo,
                                           java.lang.String tag)
                                    throws ApiException
        Get a release by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to get (required)
        Returns:
        Release
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseByTagWithHttpInfo

        public ApiResponse<Release> repoGetReleaseByTagWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String tag)
                                                             throws ApiException
        Get a release by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to get (required)
        Returns:
        ApiResponse<Release>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReleaseByTagAsync

        public com.squareup.okhttp.Call repoGetReleaseByTagAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String tag,
                                                                 ApiCallback<Release> callback)
                                                          throws ApiException
        Get a release by tag name (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - tag name of the release to get (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
      • repoGetRepoPermissionsCall

        public com.squareup.okhttp.Call repoGetRepoPermissionsCall​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String collaborator,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException
        Build call for repoGetRepoPermissions
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetRepoPermissions

        public RepoCollaboratorPermission repoGetRepoPermissions​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String collaborator)
                                                          throws ApiException
        Get repository permissions for a user
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        Returns:
        RepoCollaboratorPermission
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRepoPermissionsWithHttpInfo

        public ApiResponse<RepoCollaboratorPermission> repoGetRepoPermissionsWithHttpInfo​(java.lang.String owner,
                                                                                          java.lang.String repo,
                                                                                          java.lang.String collaborator)
                                                                                   throws ApiException
        Get repository permissions for a user
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (required)
        Returns:
        ApiResponse<RepoCollaboratorPermission>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetRepoPermissionsAsync

        public com.squareup.okhttp.Call repoGetRepoPermissionsAsync​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String collaborator,
                                                                    ApiCallback<RepoCollaboratorPermission> callback)
                                                             throws ApiException
        Get repository permissions for a user (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        collaborator - username of the collaborator (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
      • repoGetReviewersCall

        public com.squareup.okhttp.Call repoGetReviewersCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoGetReviewers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetReviewers

        public java.util.List<User> repoGetReviewers​(java.lang.String owner,
                                                     java.lang.String repo)
                                              throws ApiException
        Return all users that can be requested to review in this repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReviewersWithHttpInfo

        public ApiResponse<java.util.List<User>> repoGetReviewersWithHttpInfo​(java.lang.String owner,
                                                                              java.lang.String repo)
                                                                       throws ApiException
        Return all users that can be requested to review in this repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<User>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetReviewersAsync

        public com.squareup.okhttp.Call repoGetReviewersAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              ApiCallback<java.util.List<User>> callback)
                                                       throws ApiException
        Return all users that can be requested to review in this repo (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoGetSingleCommitCall

        public com.squareup.okhttp.Call repoGetSingleCommitCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String sha,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoGetSingleCommit
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetSingleCommit

        public Commit repoGetSingleCommit​(java.lang.String owner,
                                          java.lang.String repo,
                                          java.lang.String sha)
                                   throws ApiException
        Get a single commit from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        Returns:
        Commit
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetSingleCommitWithHttpInfo

        public ApiResponse<Commit> repoGetSingleCommitWithHttpInfo​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String sha)
                                                            throws ApiException
        Get a single commit from a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (required)
        Returns:
        ApiResponse<Commit>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetSingleCommitAsync

        public com.squareup.okhttp.Call repoGetSingleCommitAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String sha,
                                                                 ApiCallback<Commit> callback)
                                                          throws ApiException
        Get a single commit from a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - a git ref or commit sha (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
      • repoGetTagCall

        public com.squareup.okhttp.Call repoGetTagCall​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.String tag,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException
        Build call for repoGetTag
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetTag

        public Tag repoGetTag​(java.lang.String owner,
                              java.lang.String repo,
                              java.lang.String tag)
                       throws ApiException
        Get the tag of a repository by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag (required)
        Returns:
        Tag
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetTagWithHttpInfo

        public ApiResponse<Tag> repoGetTagWithHttpInfo​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.String tag)
                                                throws ApiException
        Get the tag of a repository by tag name
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of tag (required)
        Returns:
        ApiResponse<Tag>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetTagAsync

        public com.squareup.okhttp.Call repoGetTagAsync​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.String tag,
                                                        ApiCallback<Tag> callback)
                                                 throws ApiException
        Get the tag of a repository by tag name (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        tag - name of 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
      • repoGetWikiPageCall

        public com.squareup.okhttp.Call repoGetWikiPageCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String pageName,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoGetWikiPage
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetWikiPage

        public WikiPage repoGetWikiPage​(java.lang.String owner,
                                        java.lang.String repo,
                                        java.lang.String pageName)
                                 throws ApiException
        Get a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        Returns:
        WikiPage
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPageWithHttpInfo

        public ApiResponse<WikiPage> repoGetWikiPageWithHttpInfo​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String pageName)
                                                          throws ApiException
        Get a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        Returns:
        ApiResponse<WikiPage>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPageAsync

        public com.squareup.okhttp.Call repoGetWikiPageAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String pageName,
                                                             ApiCallback<WikiPage> callback)
                                                      throws ApiException
        Get a wiki page (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (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
      • repoGetWikiPageRevisionsCall

        public com.squareup.okhttp.Call repoGetWikiPageRevisionsCall​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.String pageName,
                                                                     java.lang.Integer page,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException
        Build call for repoGetWikiPageRevisions
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        page - page number of results to return (1-based) (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetWikiPageRevisions

        public WikiCommitList repoGetWikiPageRevisions​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.String pageName,
                                                       java.lang.Integer page)
                                                throws ApiException
        Get revisions of a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        page - page number of results to return (1-based) (optional)
        Returns:
        WikiCommitList
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPageRevisionsWithHttpInfo

        public ApiResponse<WikiCommitList> repoGetWikiPageRevisionsWithHttpInfo​(java.lang.String owner,
                                                                                java.lang.String repo,
                                                                                java.lang.String pageName,
                                                                                java.lang.Integer page)
                                                                         throws ApiException
        Get revisions of a wiki page
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        page - page number of results to return (1-based) (optional)
        Returns:
        ApiResponse<WikiCommitList>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPageRevisionsAsync

        public com.squareup.okhttp.Call repoGetWikiPageRevisionsAsync​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      java.lang.String pageName,
                                                                      java.lang.Integer page,
                                                                      ApiCallback<WikiCommitList> callback)
                                                               throws ApiException
        Get revisions of a wiki page (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        pageName - name of the page (required)
        page - page number of results to return (1-based) (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
      • repoGetWikiPagesCall

        public com.squareup.okhttp.Call repoGetWikiPagesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoGetWikiPages
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoGetWikiPages

        public java.util.List<WikiPageMetaData> repoGetWikiPages​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit)
                                                          throws ApiException
        Get all wiki pages
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<WikiPageMetaData>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPagesWithHttpInfo

        public ApiResponse<java.util.List<WikiPageMetaData>> repoGetWikiPagesWithHttpInfo​(java.lang.String owner,
                                                                                          java.lang.String repo,
                                                                                          java.lang.Integer page,
                                                                                          java.lang.Integer limit)
                                                                                   throws ApiException
        Get all wiki pages
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<WikiPageMetaData>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoGetWikiPagesAsync

        public com.squareup.okhttp.Call repoGetWikiPagesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ApiCallback<java.util.List<WikiPageMetaData>> callback)
                                                       throws ApiException
        Get all wiki pages (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListAllGitRefsCall

        public com.squareup.okhttp.Call repoListAllGitRefsCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoListAllGitRefs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListAllGitRefs

        public java.util.List<Reference> repoListAllGitRefs​(java.lang.String owner,
                                                            java.lang.String repo)
                                                     throws ApiException
        Get specified ref or filtered repository's refs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<Reference>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListAllGitRefsWithHttpInfo

        public ApiResponse<java.util.List<Reference>> repoListAllGitRefsWithHttpInfo​(java.lang.String owner,
                                                                                     java.lang.String repo)
                                                                              throws ApiException
        Get specified ref or filtered repository's refs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<Reference>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListAllGitRefsAsync

        public com.squareup.okhttp.Call repoListAllGitRefsAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                ApiCallback<java.util.List<Reference>> callback)
                                                         throws ApiException
        Get specified ref or filtered repository's refs (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoListBranchProtectionCall

        public com.squareup.okhttp.Call repoListBranchProtectionCall​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException
        Build call for repoListBranchProtection
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListBranchProtection

        public java.util.List<BranchProtection> repoListBranchProtection​(java.lang.String owner,
                                                                         java.lang.String repo)
                                                                  throws ApiException
        List branch protections for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<BranchProtection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListBranchProtectionWithHttpInfo

        public ApiResponse<java.util.List<BranchProtection>> repoListBranchProtectionWithHttpInfo​(java.lang.String owner,
                                                                                                  java.lang.String repo)
                                                                                           throws ApiException
        List branch protections for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<BranchProtection>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListBranchProtectionAsync

        public com.squareup.okhttp.Call repoListBranchProtectionAsync​(java.lang.String owner,
                                                                      java.lang.String repo,
                                                                      ApiCallback<java.util.List<BranchProtection>> callback)
                                                               throws ApiException
        List branch protections for a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoListBranchesCall

        public com.squareup.okhttp.Call repoListBranchesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoListBranches
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListBranches

        public java.util.List<Branch> repoListBranches​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.Integer page,
                                                       java.lang.Integer limit)
                                                throws ApiException
        List a repository's branches
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<Branch>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListBranchesWithHttpInfo

        public ApiResponse<java.util.List<Branch>> repoListBranchesWithHttpInfo​(java.lang.String owner,
                                                                                java.lang.String repo,
                                                                                java.lang.Integer page,
                                                                                java.lang.Integer limit)
                                                                         throws ApiException
        List a repository's branches
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<Branch>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListBranchesAsync

        public com.squareup.okhttp.Call repoListBranchesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ApiCallback<java.util.List<Branch>> callback)
                                                       throws ApiException
        List a repository's branches (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListCollaboratorsCall

        public com.squareup.okhttp.Call repoListCollaboratorsCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Integer page,
                                                                  java.lang.Integer limit,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoListCollaborators
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListCollaborators

        public java.util.List<User> repoListCollaborators​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Integer page,
                                                          java.lang.Integer limit)
                                                   throws ApiException
        List a repository's collaborators
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListCollaboratorsWithHttpInfo

        public ApiResponse<java.util.List<User>> repoListCollaboratorsWithHttpInfo​(java.lang.String owner,
                                                                                   java.lang.String repo,
                                                                                   java.lang.Integer page,
                                                                                   java.lang.Integer limit)
                                                                            throws ApiException
        List a repository's collaborators
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<User>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListCollaboratorsAsync

        public com.squareup.okhttp.Call repoListCollaboratorsAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.Integer page,
                                                                   java.lang.Integer limit,
                                                                   ApiCallback<java.util.List<User>> callback)
                                                            throws ApiException
        List a repository's collaborators (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListGitHooksCall

        public com.squareup.okhttp.Call repoListGitHooksCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoListGitHooks
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListGitHooks

        public java.util.List<GitHook> repoListGitHooks​(java.lang.String owner,
                                                        java.lang.String repo)
                                                 throws ApiException
        List the Git hooks in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<GitHook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListGitHooksWithHttpInfo

        public ApiResponse<java.util.List<GitHook>> repoListGitHooksWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo)
                                                                          throws ApiException
        List the Git hooks in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<GitHook>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListGitHooksAsync

        public com.squareup.okhttp.Call repoListGitHooksAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              ApiCallback<java.util.List<GitHook>> callback)
                                                       throws ApiException
        List the Git hooks in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoListGitRefsCall

        public com.squareup.okhttp.Call repoListGitRefsCall​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String ref,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException
        Build call for repoListGitRefs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - part or full name of the ref (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListGitRefs

        public java.util.List<Reference> repoListGitRefs​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.String ref)
                                                  throws ApiException
        Get specified ref or filtered repository's refs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - part or full name of the ref (required)
        Returns:
        List<Reference>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListGitRefsWithHttpInfo

        public ApiResponse<java.util.List<Reference>> repoListGitRefsWithHttpInfo​(java.lang.String owner,
                                                                                  java.lang.String repo,
                                                                                  java.lang.String ref)
                                                                           throws ApiException
        Get specified ref or filtered repository's refs
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - part or full name of the ref (required)
        Returns:
        ApiResponse<List<Reference>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListGitRefsAsync

        public com.squareup.okhttp.Call repoListGitRefsAsync​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String ref,
                                                             ApiCallback<java.util.List<Reference>> callback)
                                                      throws ApiException
        Get specified ref or filtered repository's refs (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - part or full name of the ref (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
      • repoListHooksCall

        public com.squareup.okhttp.Call repoListHooksCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Integer page,
                                                          java.lang.Integer limit,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoListHooks
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListHooks

        public java.util.List<Hook> repoListHooks​(java.lang.String owner,
                                                  java.lang.String repo,
                                                  java.lang.Integer page,
                                                  java.lang.Integer limit)
                                           throws ApiException
        List the hooks in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<Hook>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListHooksWithHttpInfo

        public ApiResponse<java.util.List<Hook>> repoListHooksWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.Integer page,
                                                                           java.lang.Integer limit)
                                                                    throws ApiException
        List the hooks in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<Hook>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListHooksAsync

        public com.squareup.okhttp.Call repoListHooksAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.Integer page,
                                                           java.lang.Integer limit,
                                                           ApiCallback<java.util.List<Hook>> callback)
                                                    throws ApiException
        List the hooks in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListKeysCall

        public com.squareup.okhttp.Call repoListKeysCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Integer keyId,
                                                         java.lang.String fingerprint,
                                                         java.lang.Integer page,
                                                         java.lang.Integer limit,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoListKeys
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        keyId - the key_id to search for (optional)
        fingerprint - fingerprint of the key (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListKeys

        public java.util.List<DeployKey> repoListKeys​(java.lang.String owner,
                                                      java.lang.String repo,
                                                      java.lang.Integer keyId,
                                                      java.lang.String fingerprint,
                                                      java.lang.Integer page,
                                                      java.lang.Integer limit)
                                               throws ApiException
        List a repository's keys
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        keyId - the key_id to search for (optional)
        fingerprint - fingerprint of the key (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<DeployKey>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListKeysWithHttpInfo

        public ApiResponse<java.util.List<DeployKey>> repoListKeysWithHttpInfo​(java.lang.String owner,
                                                                               java.lang.String repo,
                                                                               java.lang.Integer keyId,
                                                                               java.lang.String fingerprint,
                                                                               java.lang.Integer page,
                                                                               java.lang.Integer limit)
                                                                        throws ApiException
        List a repository's keys
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        keyId - the key_id to search for (optional)
        fingerprint - fingerprint of the key (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<DeployKey>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListKeysAsync

        public com.squareup.okhttp.Call repoListKeysAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Integer keyId,
                                                          java.lang.String fingerprint,
                                                          java.lang.Integer page,
                                                          java.lang.Integer limit,
                                                          ApiCallback<java.util.List<DeployKey>> callback)
                                                   throws ApiException
        List a repository's keys (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        keyId - the key_id to search for (optional)
        fingerprint - fingerprint of the key (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListPullRequestsCall

        public com.squareup.okhttp.Call repoListPullRequestsCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.String state,
                                                                 java.lang.String sort,
                                                                 java.lang.Long milestone,
                                                                 java.util.List<java.lang.Long> labels,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoListPullRequests
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        state - State of pull request: open or closed (optional) (optional)
        sort - Type of sort (optional)
        milestone - ID of the milestone (optional)
        labels - Label IDs (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListPullRequests

        public java.util.List<PullRequest> repoListPullRequests​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.String state,
                                                                java.lang.String sort,
                                                                java.lang.Long milestone,
                                                                java.util.List<java.lang.Long> labels,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit)
                                                         throws ApiException
        List a repo's pull requests
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        state - State of pull request: open or closed (optional) (optional)
        sort - Type of sort (optional)
        milestone - ID of the milestone (optional)
        labels - Label IDs (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<PullRequest>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPullRequestsWithHttpInfo

        public ApiResponse<java.util.List<PullRequest>> repoListPullRequestsWithHttpInfo​(java.lang.String owner,
                                                                                         java.lang.String repo,
                                                                                         java.lang.String state,
                                                                                         java.lang.String sort,
                                                                                         java.lang.Long milestone,
                                                                                         java.util.List<java.lang.Long> labels,
                                                                                         java.lang.Integer page,
                                                                                         java.lang.Integer limit)
                                                                                  throws ApiException
        List a repo's pull requests
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        state - State of pull request: open or closed (optional) (optional)
        sort - Type of sort (optional)
        milestone - ID of the milestone (optional)
        labels - Label IDs (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<PullRequest>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPullRequestsAsync

        public com.squareup.okhttp.Call repoListPullRequestsAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String state,
                                                                  java.lang.String sort,
                                                                  java.lang.Long milestone,
                                                                  java.util.List<java.lang.Long> labels,
                                                                  java.lang.Integer page,
                                                                  java.lang.Integer limit,
                                                                  ApiCallback<java.util.List<PullRequest>> callback)
                                                           throws ApiException
        List a repo's pull requests (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        state - State of pull request: open or closed (optional) (optional)
        sort - Type of sort (optional)
        milestone - ID of the milestone (optional)
        labels - Label IDs (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListPullReviewsCall

        public com.squareup.okhttp.Call repoListPullReviewsCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Long index,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoListPullReviews
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListPullReviews

        public java.util.List<PullReview> repoListPullReviews​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Long index,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit)
                                                       throws ApiException
        List all reviews for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPullReviewsWithHttpInfo

        public ApiResponse<java.util.List<PullReview>> repoListPullReviewsWithHttpInfo​(java.lang.String owner,
                                                                                       java.lang.String repo,
                                                                                       java.lang.Long index,
                                                                                       java.lang.Integer page,
                                                                                       java.lang.Integer limit)
                                                                                throws ApiException
        List all reviews for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<PullReview>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPullReviewsAsync

        public com.squareup.okhttp.Call repoListPullReviewsAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit,
                                                                 ApiCallback<java.util.List<PullReview>> callback)
                                                          throws ApiException
        List all reviews for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListPushMirrorsCall

        public com.squareup.okhttp.Call repoListPushMirrorsCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoListPushMirrors
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListPushMirrors

        public java.util.List<PushMirror> repoListPushMirrors​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit)
                                                       throws ApiException
        Get all push mirrors of the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<PushMirror>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPushMirrorsWithHttpInfo

        public ApiResponse<java.util.List<PushMirror>> repoListPushMirrorsWithHttpInfo​(java.lang.String owner,
                                                                                       java.lang.String repo,
                                                                                       java.lang.Integer page,
                                                                                       java.lang.Integer limit)
                                                                                throws ApiException
        Get all push mirrors of the repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<PushMirror>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListPushMirrorsAsync

        public com.squareup.okhttp.Call repoListPushMirrorsAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit,
                                                                 ApiCallback<java.util.List<PushMirror>> callback)
                                                          throws ApiException
        Get all push mirrors of the repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListReleaseAttachmentsCall

        public com.squareup.okhttp.Call repoListReleaseAttachmentsCall​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       java.lang.Long id,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException
        Build call for repoListReleaseAttachments
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListReleaseAttachments

        public java.util.List<Attachment> repoListReleaseAttachments​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long id)
                                                              throws ApiException
        List release's attachments
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        Returns:
        List<Attachment>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListReleaseAttachmentsWithHttpInfo

        public ApiResponse<java.util.List<Attachment>> repoListReleaseAttachmentsWithHttpInfo​(java.lang.String owner,
                                                                                              java.lang.String repo,
                                                                                              java.lang.Long id)
                                                                                       throws ApiException
        List release's attachments
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (required)
        Returns:
        ApiResponse<List<Attachment>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListReleaseAttachmentsAsync

        public com.squareup.okhttp.Call repoListReleaseAttachmentsAsync​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long id,
                                                                        ApiCallback<java.util.List<Attachment>> callback)
                                                                 throws ApiException
        List release's attachments (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the release (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
      • repoListReleasesCall

        public com.squareup.okhttp.Call repoListReleasesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.Boolean draft,
                                                             java.lang.Boolean preRelease,
                                                             java.lang.Integer perPage,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoListReleases
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        draft - filter (exclude / include) drafts, if you dont have repo write access none will show (optional)
        preRelease - filter (exclude / include) pre-releases (optional)
        perPage - page size of results, deprecated - use limit (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListReleases

        public java.util.List<Release> repoListReleases​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.Boolean draft,
                                                        java.lang.Boolean preRelease,
                                                        java.lang.Integer perPage,
                                                        java.lang.Integer page,
                                                        java.lang.Integer limit)
                                                 throws ApiException
        List a repo's releases
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        draft - filter (exclude / include) drafts, if you dont have repo write access none will show (optional)
        preRelease - filter (exclude / include) pre-releases (optional)
        perPage - page size of results, deprecated - use limit (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<Release>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListReleasesWithHttpInfo

        public ApiResponse<java.util.List<Release>> repoListReleasesWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo,
                                                                                 java.lang.Boolean draft,
                                                                                 java.lang.Boolean preRelease,
                                                                                 java.lang.Integer perPage,
                                                                                 java.lang.Integer page,
                                                                                 java.lang.Integer limit)
                                                                          throws ApiException
        List a repo's releases
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        draft - filter (exclude / include) drafts, if you dont have repo write access none will show (optional)
        preRelease - filter (exclude / include) pre-releases (optional)
        perPage - page size of results, deprecated - use limit (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<Release>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListReleasesAsync

        public com.squareup.okhttp.Call repoListReleasesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.Boolean draft,
                                                              java.lang.Boolean preRelease,
                                                              java.lang.Integer perPage,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ApiCallback<java.util.List<Release>> callback)
                                                       throws ApiException
        List a repo's releases (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        draft - filter (exclude / include) drafts, if you dont have repo write access none will show (optional)
        preRelease - filter (exclude / include) pre-releases (optional)
        perPage - page size of results, deprecated - use limit (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListStargazersCall

        public com.squareup.okhttp.Call repoListStargazersCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               java.lang.Integer page,
                                                               java.lang.Integer limit,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoListStargazers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListStargazers

        public java.util.List<User> repoListStargazers​(java.lang.String owner,
                                                       java.lang.String repo,
                                                       java.lang.Integer page,
                                                       java.lang.Integer limit)
                                                throws ApiException
        List a repo's stargazers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStargazersWithHttpInfo

        public ApiResponse<java.util.List<User>> repoListStargazersWithHttpInfo​(java.lang.String owner,
                                                                                java.lang.String repo,
                                                                                java.lang.Integer page,
                                                                                java.lang.Integer limit)
                                                                         throws ApiException
        List a repo's stargazers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<User>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStargazersAsync

        public com.squareup.okhttp.Call repoListStargazersAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit,
                                                                ApiCallback<java.util.List<User>> callback)
                                                         throws ApiException
        List a repo's stargazers (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListStatusesCall

        public com.squareup.okhttp.Call repoListStatusesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String sha,
                                                             java.lang.String sort,
                                                             java.lang.String state,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoListStatuses
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListStatuses

        public java.util.List<CommitStatus> repoListStatuses​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String sha,
                                                             java.lang.String sort,
                                                             java.lang.String state,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit)
                                                      throws ApiException
        Get a commit's statuses
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<CommitStatus>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStatusesWithHttpInfo

        public ApiResponse<java.util.List<CommitStatus>> repoListStatusesWithHttpInfo​(java.lang.String owner,
                                                                                      java.lang.String repo,
                                                                                      java.lang.String sha,
                                                                                      java.lang.String sort,
                                                                                      java.lang.String state,
                                                                                      java.lang.Integer page,
                                                                                      java.lang.Integer limit)
                                                                               throws ApiException
        Get a commit's statuses
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<CommitStatus>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStatusesAsync

        public com.squareup.okhttp.Call repoListStatusesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String sha,
                                                              java.lang.String sort,
                                                              java.lang.String state,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ApiCallback<java.util.List<CommitStatus>> callback)
                                                       throws ApiException
        Get a commit's statuses (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        sha - sha of the commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListStatusesByRefCall

        public com.squareup.okhttp.Call repoListStatusesByRefCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String ref,
                                                                  java.lang.String sort,
                                                                  java.lang.String state,
                                                                  java.lang.Integer page,
                                                                  java.lang.Integer limit,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoListStatusesByRef
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListStatusesByRef

        public java.util.List<CommitStatus> repoListStatusesByRef​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.String ref,
                                                                  java.lang.String sort,
                                                                  java.lang.String state,
                                                                  java.lang.Integer page,
                                                                  java.lang.Integer limit)
                                                           throws ApiException
        Get a commit's statuses, by branch/tag/commit reference
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<CommitStatus>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStatusesByRefWithHttpInfo

        public ApiResponse<java.util.List<CommitStatus>> repoListStatusesByRefWithHttpInfo​(java.lang.String owner,
                                                                                           java.lang.String repo,
                                                                                           java.lang.String ref,
                                                                                           java.lang.String sort,
                                                                                           java.lang.String state,
                                                                                           java.lang.Integer page,
                                                                                           java.lang.Integer limit)
                                                                                    throws ApiException
        Get a commit's statuses, by branch/tag/commit reference
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<CommitStatus>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListStatusesByRefAsync

        public com.squareup.okhttp.Call repoListStatusesByRefAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.String ref,
                                                                   java.lang.String sort,
                                                                   java.lang.String state,
                                                                   java.lang.Integer page,
                                                                   java.lang.Integer limit,
                                                                   ApiCallback<java.util.List<CommitStatus>> callback)
                                                            throws ApiException
        Get a commit's statuses, by branch/tag/commit reference (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        ref - name of branch/tag/commit (required)
        sort - type of sort (optional)
        state - type of state (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListSubscribersCall

        public com.squareup.okhttp.Call repoListSubscribersCall​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                java.lang.Integer page,
                                                                java.lang.Integer limit,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for repoListSubscribers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListSubscribers

        public java.util.List<User> repoListSubscribers​(java.lang.String owner,
                                                        java.lang.String repo,
                                                        java.lang.Integer page,
                                                        java.lang.Integer limit)
                                                 throws ApiException
        List a repo's watchers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<User>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListSubscribersWithHttpInfo

        public ApiResponse<java.util.List<User>> repoListSubscribersWithHttpInfo​(java.lang.String owner,
                                                                                 java.lang.String repo,
                                                                                 java.lang.Integer page,
                                                                                 java.lang.Integer limit)
                                                                          throws ApiException
        List a repo's watchers
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<User>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListSubscribersAsync

        public com.squareup.okhttp.Call repoListSubscribersAsync​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit,
                                                                 ApiCallback<java.util.List<User>> callback)
                                                          throws ApiException
        List a repo's watchers (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoListTagsCall

        public com.squareup.okhttp.Call repoListTagsCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Integer page,
                                                         java.lang.Integer limit,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoListTags
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results, default maximum page size is 50 (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListTags

        public java.util.List<Tag> repoListTags​(java.lang.String owner,
                                                java.lang.String repo,
                                                java.lang.Integer page,
                                                java.lang.Integer limit)
                                         throws ApiException
        List a repository's tags
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results, default maximum page size is 50 (optional)
        Returns:
        List<Tag>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTagsWithHttpInfo

        public ApiResponse<java.util.List<Tag>> repoListTagsWithHttpInfo​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         java.lang.Integer page,
                                                                         java.lang.Integer limit)
                                                                  throws ApiException
        List a repository's tags
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results, default maximum page size is 50 (optional)
        Returns:
        ApiResponse<List<Tag>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTagsAsync

        public com.squareup.okhttp.Call repoListTagsAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Integer page,
                                                          java.lang.Integer limit,
                                                          ApiCallback<java.util.List<Tag>> callback)
                                                   throws ApiException
        List a repository's tags (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results, default maximum page size is 50 (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
      • repoListTeamsCall

        public com.squareup.okhttp.Call repoListTeamsCall​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException
        Build call for repoListTeams
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListTeams

        public java.util.List<Team> repoListTeams​(java.lang.String owner,
                                                  java.lang.String repo)
                                           throws ApiException
        List a repository's teams
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        List<Team>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTeamsWithHttpInfo

        public ApiResponse<java.util.List<Team>> repoListTeamsWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo)
                                                                    throws ApiException
        List a repository's teams
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<List<Team>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTeamsAsync

        public com.squareup.okhttp.Call repoListTeamsAsync​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           ApiCallback<java.util.List<Team>> callback)
                                                    throws ApiException
        List a repository's teams (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoListTopicsCall

        public com.squareup.okhttp.Call repoListTopicsCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.Integer page,
                                                           java.lang.Integer limit,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoListTopics
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoListTopics

        public TopicName repoListTopics​(java.lang.String owner,
                                        java.lang.String repo,
                                        java.lang.Integer page,
                                        java.lang.Integer limit)
                                 throws ApiException
        Get list of topics that a repository has
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        TopicName
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTopicsWithHttpInfo

        public ApiResponse<TopicName> repoListTopicsWithHttpInfo​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit)
                                                          throws ApiException
        Get list of topics that a repository has
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<TopicName>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoListTopicsAsync

        public com.squareup.okhttp.Call repoListTopicsAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.Integer page,
                                                            java.lang.Integer limit,
                                                            ApiCallback<TopicName> callback)
                                                     throws ApiException
        Get list of topics that a repository has (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoMergePullRequestCall

        public com.squareup.okhttp.Call repoMergePullRequestCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 MergePullRequestOption body,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoMergePullRequest
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoMergePullRequest

        public void repoMergePullRequest​(java.lang.String owner,
                                         java.lang.String repo,
                                         java.lang.Long index,
                                         MergePullRequestOption body)
                                  throws ApiException
        Merge a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        body - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMergePullRequestWithHttpInfo

        public ApiResponse<java.lang.Void> repoMergePullRequestWithHttpInfo​(java.lang.String owner,
                                                                            java.lang.String repo,
                                                                            java.lang.Long index,
                                                                            MergePullRequestOption body)
                                                                     throws ApiException
        Merge a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        body - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMergePullRequestAsync

        public com.squareup.okhttp.Call repoMergePullRequestAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  MergePullRequestOption body,
                                                                  ApiCallback<java.lang.Void> callback)
                                                           throws ApiException
        Merge a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to merge (required)
        body - (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
      • repoMigrate

        public Repository repoMigrate​(MigrateRepoOptions body)
                               throws ApiException
        Migrate a remote git repository
        Parameters:
        body - (optional)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMigrateWithHttpInfo

        public ApiResponse<Repository> repoMigrateWithHttpInfo​(MigrateRepoOptions body)
                                                        throws ApiException
        Migrate a remote git repository
        Parameters:
        body - (optional)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMigrateAsync

        public com.squareup.okhttp.Call repoMigrateAsync​(MigrateRepoOptions body,
                                                         ApiCallback<Repository> callback)
                                                  throws ApiException
        Migrate a remote git repository (asynchronously)
        Parameters:
        body - (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
      • repoMirrorSyncCall

        public com.squareup.okhttp.Call repoMirrorSyncCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoMirrorSync
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoMirrorSync

        public void repoMirrorSync​(java.lang.String owner,
                                   java.lang.String repo)
                            throws ApiException
        Sync a mirrored repository
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMirrorSyncWithHttpInfo

        public ApiResponse<java.lang.Void> repoMirrorSyncWithHttpInfo​(java.lang.String owner,
                                                                      java.lang.String repo)
                                                               throws ApiException
        Sync a mirrored repository
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoMirrorSyncAsync

        public com.squareup.okhttp.Call repoMirrorSyncAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            ApiCallback<java.lang.Void> callback)
                                                     throws ApiException
        Sync a mirrored repository (asynchronously)
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (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
      • repoPullRequestIsMergedCall

        public com.squareup.okhttp.Call repoPullRequestIsMergedCall​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.Long index,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException
        Build call for repoPullRequestIsMerged
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoPullRequestIsMerged

        public void repoPullRequestIsMerged​(java.lang.String owner,
                                            java.lang.String repo,
                                            java.lang.Long index)
                                     throws ApiException
        Check if a pull request has been merged
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoPullRequestIsMergedWithHttpInfo

        public ApiResponse<java.lang.Void> repoPullRequestIsMergedWithHttpInfo​(java.lang.String owner,
                                                                               java.lang.String repo,
                                                                               java.lang.Long index)
                                                                        throws ApiException
        Check if a pull request has been merged
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoPullRequestIsMergedAsync

        public com.squareup.okhttp.Call repoPullRequestIsMergedAsync​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long index,
                                                                     ApiCallback<java.lang.Void> callback)
                                                              throws ApiException
        Check if a pull request has been merged (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (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
      • repoPushMirrorSyncCall

        public com.squareup.okhttp.Call repoPushMirrorSyncCall​(java.lang.String owner,
                                                               java.lang.String repo,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for repoPushMirrorSync
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoPushMirrorSync

        public void repoPushMirrorSync​(java.lang.String owner,
                                       java.lang.String repo)
                                throws ApiException
        Sync all push mirrored repository
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoPushMirrorSyncWithHttpInfo

        public ApiResponse<java.lang.Void> repoPushMirrorSyncWithHttpInfo​(java.lang.String owner,
                                                                          java.lang.String repo)
                                                                   throws ApiException
        Sync all push mirrored repository
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoPushMirrorSyncAsync

        public com.squareup.okhttp.Call repoPushMirrorSyncAsync​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                ApiCallback<java.lang.Void> callback)
                                                         throws ApiException
        Sync all push mirrored repository (asynchronously)
        Parameters:
        owner - owner of the repo to sync (required)
        repo - name of the repo to sync (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
      • repoSearchCall

        public com.squareup.okhttp.Call repoSearchCall​(java.lang.String q,
                                                       java.lang.Boolean topic,
                                                       java.lang.Boolean includeDesc,
                                                       java.lang.Long uid,
                                                       java.lang.Long priorityOwnerId,
                                                       java.lang.Long teamId,
                                                       java.lang.Long starredBy,
                                                       java.lang.Boolean _private,
                                                       java.lang.Boolean isPrivate,
                                                       java.lang.Boolean template,
                                                       java.lang.Boolean archived,
                                                       java.lang.String mode,
                                                       java.lang.Boolean exclusive,
                                                       java.lang.String sort,
                                                       java.lang.String order,
                                                       java.lang.Integer page,
                                                       java.lang.Integer limit,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException
        Build call for repoSearch
        Parameters:
        q - keyword (optional)
        topic - Limit search to repositories with keyword as topic (optional)
        includeDesc - include search of keyword within repository description (optional)
        uid - search only for repos that the user with the given id owns or contributes to (optional)
        priorityOwnerId - repo owner to prioritize in the results (optional)
        teamId - search only for repos that belong to the given team id (optional)
        starredBy - search only for repos that the user with the given id has starred (optional)
        _private - include private repositories this user has access to (defaults to true) (optional)
        isPrivate - show only pubic, private or all repositories (defaults to all) (optional)
        template - include template repositories this user has access to (defaults to true) (optional)
        archived - show only archived, non-archived or all repositories (defaults to all) (optional)
        mode - type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)
        exclusive - if `uid` is given, search only for repos that the user owns (optional)
        sort - sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" (optional)
        order - sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoSearch

        public SearchResults repoSearch​(java.lang.String q,
                                        java.lang.Boolean topic,
                                        java.lang.Boolean includeDesc,
                                        java.lang.Long uid,
                                        java.lang.Long priorityOwnerId,
                                        java.lang.Long teamId,
                                        java.lang.Long starredBy,
                                        java.lang.Boolean _private,
                                        java.lang.Boolean isPrivate,
                                        java.lang.Boolean template,
                                        java.lang.Boolean archived,
                                        java.lang.String mode,
                                        java.lang.Boolean exclusive,
                                        java.lang.String sort,
                                        java.lang.String order,
                                        java.lang.Integer page,
                                        java.lang.Integer limit)
                                 throws ApiException
        Search for repositories
        Parameters:
        q - keyword (optional)
        topic - Limit search to repositories with keyword as topic (optional)
        includeDesc - include search of keyword within repository description (optional)
        uid - search only for repos that the user with the given id owns or contributes to (optional)
        priorityOwnerId - repo owner to prioritize in the results (optional)
        teamId - search only for repos that belong to the given team id (optional)
        starredBy - search only for repos that the user with the given id has starred (optional)
        _private - include private repositories this user has access to (defaults to true) (optional)
        isPrivate - show only pubic, private or all repositories (defaults to all) (optional)
        template - include template repositories this user has access to (defaults to true) (optional)
        archived - show only archived, non-archived or all repositories (defaults to all) (optional)
        mode - type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)
        exclusive - if `uid` is given, search only for repos that the user owns (optional)
        sort - sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" (optional)
        order - sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        SearchResults
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSearchWithHttpInfo

        public ApiResponse<SearchResults> repoSearchWithHttpInfo​(java.lang.String q,
                                                                 java.lang.Boolean topic,
                                                                 java.lang.Boolean includeDesc,
                                                                 java.lang.Long uid,
                                                                 java.lang.Long priorityOwnerId,
                                                                 java.lang.Long teamId,
                                                                 java.lang.Long starredBy,
                                                                 java.lang.Boolean _private,
                                                                 java.lang.Boolean isPrivate,
                                                                 java.lang.Boolean template,
                                                                 java.lang.Boolean archived,
                                                                 java.lang.String mode,
                                                                 java.lang.Boolean exclusive,
                                                                 java.lang.String sort,
                                                                 java.lang.String order,
                                                                 java.lang.Integer page,
                                                                 java.lang.Integer limit)
                                                          throws ApiException
        Search for repositories
        Parameters:
        q - keyword (optional)
        topic - Limit search to repositories with keyword as topic (optional)
        includeDesc - include search of keyword within repository description (optional)
        uid - search only for repos that the user with the given id owns or contributes to (optional)
        priorityOwnerId - repo owner to prioritize in the results (optional)
        teamId - search only for repos that belong to the given team id (optional)
        starredBy - search only for repos that the user with the given id has starred (optional)
        _private - include private repositories this user has access to (defaults to true) (optional)
        isPrivate - show only pubic, private or all repositories (defaults to all) (optional)
        template - include template repositories this user has access to (defaults to true) (optional)
        archived - show only archived, non-archived or all repositories (defaults to all) (optional)
        mode - type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)
        exclusive - if `uid` is given, search only for repos that the user owns (optional)
        sort - sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" (optional)
        order - sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<SearchResults>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSearchAsync

        public com.squareup.okhttp.Call repoSearchAsync​(java.lang.String q,
                                                        java.lang.Boolean topic,
                                                        java.lang.Boolean includeDesc,
                                                        java.lang.Long uid,
                                                        java.lang.Long priorityOwnerId,
                                                        java.lang.Long teamId,
                                                        java.lang.Long starredBy,
                                                        java.lang.Boolean _private,
                                                        java.lang.Boolean isPrivate,
                                                        java.lang.Boolean template,
                                                        java.lang.Boolean archived,
                                                        java.lang.String mode,
                                                        java.lang.Boolean exclusive,
                                                        java.lang.String sort,
                                                        java.lang.String order,
                                                        java.lang.Integer page,
                                                        java.lang.Integer limit,
                                                        ApiCallback<SearchResults> callback)
                                                 throws ApiException
        Search for repositories (asynchronously)
        Parameters:
        q - keyword (optional)
        topic - Limit search to repositories with keyword as topic (optional)
        includeDesc - include search of keyword within repository description (optional)
        uid - search only for repos that the user with the given id owns or contributes to (optional)
        priorityOwnerId - repo owner to prioritize in the results (optional)
        teamId - search only for repos that belong to the given team id (optional)
        starredBy - search only for repos that the user with the given id has starred (optional)
        _private - include private repositories this user has access to (defaults to true) (optional)
        isPrivate - show only pubic, private or all repositories (defaults to all) (optional)
        template - include template repositories this user has access to (defaults to true) (optional)
        archived - show only archived, non-archived or all repositories (defaults to all) (optional)
        mode - type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" (optional)
        exclusive - if `uid` is given, search only for repos that the user owns (optional)
        sort - sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" (optional)
        order - sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoSigningKeyCall

        public com.squareup.okhttp.Call repoSigningKeyCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoSigningKey
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoSigningKey

        public java.lang.String repoSigningKey​(java.lang.String owner,
                                               java.lang.String repo)
                                        throws ApiException
        Get signing-key.gpg for given repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        String
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSigningKeyWithHttpInfo

        public ApiResponse<java.lang.String> repoSigningKeyWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo)
                                                                 throws ApiException
        Get signing-key.gpg for given repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<String>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSigningKeyAsync

        public com.squareup.okhttp.Call repoSigningKeyAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            ApiCallback<java.lang.String> callback)
                                                     throws ApiException
        Get signing-key.gpg for given repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • repoSubmitPullReviewCall

        public com.squareup.okhttp.Call repoSubmitPullReviewCall​(java.lang.String owner,
                                                                 java.lang.String repo,
                                                                 java.lang.Long index,
                                                                 java.lang.Long id,
                                                                 SubmitPullReviewOptions body,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException
        Build call for repoSubmitPullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoSubmitPullReview

        public PullReview repoSubmitPullReview​(java.lang.String owner,
                                               java.lang.String repo,
                                               java.lang.Long index,
                                               java.lang.Long id,
                                               SubmitPullReviewOptions body)
                                        throws ApiException
        Submit a pending review to an pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        Returns:
        PullReview
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSubmitPullReviewWithHttpInfo

        public ApiResponse<PullReview> repoSubmitPullReviewWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        java.lang.Long index,
                                                                        java.lang.Long id,
                                                                        SubmitPullReviewOptions body)
                                                                 throws ApiException
        Submit a pending review to an pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (required)
        Returns:
        ApiResponse<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoSubmitPullReviewAsync

        public com.squareup.okhttp.Call repoSubmitPullReviewAsync​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  java.lang.Long id,
                                                                  SubmitPullReviewOptions body,
                                                                  ApiCallback<PullReview> callback)
                                                           throws ApiException
        Submit a pending review to an pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        body - (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
      • repoTestHookCall

        public com.squareup.okhttp.Call repoTestHookCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         java.lang.Long id,
                                                         java.lang.String ref,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoTestHook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to test (required)
        ref - The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoTestHook

        public void repoTestHook​(java.lang.String owner,
                                 java.lang.String repo,
                                 java.lang.Long id,
                                 java.lang.String ref)
                          throws ApiException
        Test a push webhook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to test (required)
        ref - The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTestHookWithHttpInfo

        public ApiResponse<java.lang.Void> repoTestHookWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.Long id,
                                                                    java.lang.String ref)
                                                             throws ApiException
        Test a push webhook
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to test (required)
        ref - The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTestHookAsync

        public com.squareup.okhttp.Call repoTestHookAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          java.lang.Long id,
                                                          java.lang.String ref,
                                                          ApiCallback<java.lang.Void> callback)
                                                   throws ApiException
        Test a push webhook (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        id - id of the hook to test (required)
        ref - The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. (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
      • repoTrackedTimesCall

        public com.squareup.okhttp.Call repoTrackedTimesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String user,
                                                             org.threeten.bp.OffsetDateTime since,
                                                             org.threeten.bp.OffsetDateTime before,
                                                             java.lang.Integer page,
                                                             java.lang.Integer limit,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoTrackedTimes
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - optional filter by user (available for issue managers) (optional)
        since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
        before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoTrackedTimes

        public java.util.List<TrackedTime> repoTrackedTimes​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String user,
                                                            org.threeten.bp.OffsetDateTime since,
                                                            org.threeten.bp.OffsetDateTime before,
                                                            java.lang.Integer page,
                                                            java.lang.Integer limit)
                                                     throws ApiException
        List a repo's tracked times
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - optional filter by user (available for issue managers) (optional)
        since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
        before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<TrackedTime>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTrackedTimesWithHttpInfo

        public ApiResponse<java.util.List<TrackedTime>> repoTrackedTimesWithHttpInfo​(java.lang.String owner,
                                                                                     java.lang.String repo,
                                                                                     java.lang.String user,
                                                                                     org.threeten.bp.OffsetDateTime since,
                                                                                     org.threeten.bp.OffsetDateTime before,
                                                                                     java.lang.Integer page,
                                                                                     java.lang.Integer limit)
                                                                              throws ApiException
        List a repo's tracked times
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - optional filter by user (available for issue managers) (optional)
        since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
        before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<TrackedTime>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTrackedTimesAsync

        public com.squareup.okhttp.Call repoTrackedTimesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String user,
                                                              org.threeten.bp.OffsetDateTime since,
                                                              org.threeten.bp.OffsetDateTime before,
                                                              java.lang.Integer page,
                                                              java.lang.Integer limit,
                                                              ApiCallback<java.util.List<TrackedTime>> callback)
                                                       throws ApiException
        List a repo's tracked times (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - optional filter by user (available for issue managers) (optional)
        since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
        before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • repoTransferCall

        public com.squareup.okhttp.Call repoTransferCall​(java.lang.String owner,
                                                         java.lang.String repo,
                                                         TransferRepoOption body,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException
        Build call for repoTransfer
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        body - Transfer Options (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoTransfer

        public Repository repoTransfer​(java.lang.String owner,
                                       java.lang.String repo,
                                       TransferRepoOption body)
                                throws ApiException
        Transfer a repo ownership
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        body - Transfer Options (required)
        Returns:
        Repository
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTransferWithHttpInfo

        public ApiResponse<Repository> repoTransferWithHttpInfo​(java.lang.String owner,
                                                                java.lang.String repo,
                                                                TransferRepoOption body)
                                                         throws ApiException
        Transfer a repo ownership
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        body - Transfer Options (required)
        Returns:
        ApiResponse<Repository>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoTransferAsync

        public com.squareup.okhttp.Call repoTransferAsync​(java.lang.String owner,
                                                          java.lang.String repo,
                                                          TransferRepoOption body,
                                                          ApiCallback<Repository> callback)
                                                   throws ApiException
        Transfer a repo ownership (asynchronously)
        Parameters:
        owner - owner of the repo to transfer (required)
        repo - name of the repo to transfer (required)
        body - Transfer Options (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
      • repoUnDismissPullReviewCall

        public com.squareup.okhttp.Call repoUnDismissPullReviewCall​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.Long index,
                                                                    java.lang.Long id,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException
        Build call for repoUnDismissPullReview
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoUnDismissPullReview

        public PullReview repoUnDismissPullReview​(java.lang.String owner,
                                                  java.lang.String repo,
                                                  java.lang.Long index,
                                                  java.lang.Long id)
                                           throws ApiException
        Cancel to dismiss a review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        PullReview
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUnDismissPullReviewWithHttpInfo

        public ApiResponse<PullReview> repoUnDismissPullReviewWithHttpInfo​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           java.lang.Long index,
                                                                           java.lang.Long id)
                                                                    throws ApiException
        Cancel to dismiss a review for a pull request
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (required)
        Returns:
        ApiResponse<PullReview>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUnDismissPullReviewAsync

        public com.squareup.okhttp.Call repoUnDismissPullReviewAsync​(java.lang.String owner,
                                                                     java.lang.String repo,
                                                                     java.lang.Long index,
                                                                     java.lang.Long id,
                                                                     ApiCallback<PullReview> callback)
                                                              throws ApiException
        Cancel to dismiss a review for a pull request (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request (required)
        id - id of the review (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
      • repoUpdateFileCall

        public com.squareup.okhttp.Call repoUpdateFileCall​(java.lang.String owner,
                                                           java.lang.String repo,
                                                           java.lang.String filepath,
                                                           UpdateFileOptions body,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for repoUpdateFile
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to update (required)
        body - (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoUpdateFile

        public FileResponse repoUpdateFile​(java.lang.String owner,
                                           java.lang.String repo,
                                           java.lang.String filepath,
                                           UpdateFileOptions body)
                                    throws ApiException
        Update a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to update (required)
        body - (required)
        Returns:
        FileResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdateFileWithHttpInfo

        public ApiResponse<FileResponse> repoUpdateFileWithHttpInfo​(java.lang.String owner,
                                                                    java.lang.String repo,
                                                                    java.lang.String filepath,
                                                                    UpdateFileOptions body)
                                                             throws ApiException
        Update a file in a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to update (required)
        body - (required)
        Returns:
        ApiResponse<FileResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdateFileAsync

        public com.squareup.okhttp.Call repoUpdateFileAsync​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String filepath,
                                                            UpdateFileOptions body,
                                                            ApiCallback<FileResponse> callback)
                                                     throws ApiException
        Update a file in a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        filepath - path of the file to update (required)
        body - (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
      • repoUpdatePullRequestCall

        public com.squareup.okhttp.Call repoUpdatePullRequestCall​(java.lang.String owner,
                                                                  java.lang.String repo,
                                                                  java.lang.Long index,
                                                                  java.lang.String style,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException
        Build call for repoUpdatePullRequest
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        style - how to update pull request (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoUpdatePullRequest

        public void repoUpdatePullRequest​(java.lang.String owner,
                                          java.lang.String repo,
                                          java.lang.Long index,
                                          java.lang.String style)
                                   throws ApiException
        Merge PR's baseBranch into headBranch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        style - how to update pull request (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdatePullRequestWithHttpInfo

        public ApiResponse<java.lang.Void> repoUpdatePullRequestWithHttpInfo​(java.lang.String owner,
                                                                             java.lang.String repo,
                                                                             java.lang.Long index,
                                                                             java.lang.String style)
                                                                      throws ApiException
        Merge PR's baseBranch into headBranch
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        style - how to update pull request (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdatePullRequestAsync

        public com.squareup.okhttp.Call repoUpdatePullRequestAsync​(java.lang.String owner,
                                                                   java.lang.String repo,
                                                                   java.lang.Long index,
                                                                   java.lang.String style,
                                                                   ApiCallback<java.lang.Void> callback)
                                                            throws ApiException
        Merge PR's baseBranch into headBranch (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        index - index of the pull request to get (required)
        style - how to update pull request (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
      • repoUpdateTopicsCall

        public com.squareup.okhttp.Call repoUpdateTopicsCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             RepoTopicOptions body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Build call for repoUpdateTopics
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • repoUpdateTopics

        public void repoUpdateTopics​(java.lang.String owner,
                                     java.lang.String repo,
                                     RepoTopicOptions body)
                              throws ApiException
        Replace list of topics for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdateTopicsWithHttpInfo

        public ApiResponse<java.lang.Void> repoUpdateTopicsWithHttpInfo​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        RepoTopicOptions body)
                                                                 throws ApiException
        Replace list of topics for a repository
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • repoUpdateTopicsAsync

        public com.squareup.okhttp.Call repoUpdateTopicsAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              RepoTopicOptions body,
                                                              ApiCallback<java.lang.Void> callback)
                                                       throws ApiException
        Replace list of topics for a repository (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        body - (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
      • topicSearchCall

        public com.squareup.okhttp.Call topicSearchCall​(java.lang.String q,
                                                        java.lang.Integer page,
                                                        java.lang.Integer limit,
                                                        ProgressResponseBody.ProgressListener progressListener,
                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                 throws ApiException
        Build call for topicSearch
        Parameters:
        q - keywords to search (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • topicSearch

        public java.util.List<TopicResponse> topicSearch​(java.lang.String q,
                                                         java.lang.Integer page,
                                                         java.lang.Integer limit)
                                                  throws ApiException
        search topics via keyword
        Parameters:
        q - keywords to search (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        List<TopicResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • topicSearchWithHttpInfo

        public ApiResponse<java.util.List<TopicResponse>> topicSearchWithHttpInfo​(java.lang.String q,
                                                                                  java.lang.Integer page,
                                                                                  java.lang.Integer limit)
                                                                           throws ApiException
        search topics via keyword
        Parameters:
        q - keywords to search (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (optional)
        Returns:
        ApiResponse<List<TopicResponse>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • topicSearchAsync

        public com.squareup.okhttp.Call topicSearchAsync​(java.lang.String q,
                                                         java.lang.Integer page,
                                                         java.lang.Integer limit,
                                                         ApiCallback<java.util.List<TopicResponse>> callback)
                                                  throws ApiException
        search topics via keyword (asynchronously)
        Parameters:
        q - keywords to search (required)
        page - page number of results to return (1-based) (optional)
        limit - page size of results (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
      • userCurrentCheckSubscriptionCall

        public com.squareup.okhttp.Call userCurrentCheckSubscriptionCall​(java.lang.String owner,
                                                                         java.lang.String repo,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException
        Build call for userCurrentCheckSubscription
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userCurrentCheckSubscription

        public WatchInfo userCurrentCheckSubscription​(java.lang.String owner,
                                                      java.lang.String repo)
                                               throws ApiException
        Check if the current user is watching a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        WatchInfo
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentCheckSubscriptionWithHttpInfo

        public ApiResponse<WatchInfo> userCurrentCheckSubscriptionWithHttpInfo​(java.lang.String owner,
                                                                               java.lang.String repo)
                                                                        throws ApiException
        Check if the current user is watching a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<WatchInfo>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentCheckSubscriptionAsync

        public com.squareup.okhttp.Call userCurrentCheckSubscriptionAsync​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          ApiCallback<WatchInfo> callback)
                                                                   throws ApiException
        Check if the current user is watching a repo (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • userCurrentDeleteSubscriptionCall

        public com.squareup.okhttp.Call userCurrentDeleteSubscriptionCall​(java.lang.String owner,
                                                                          java.lang.String repo,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException
        Build call for userCurrentDeleteSubscription
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userCurrentDeleteSubscription

        public void userCurrentDeleteSubscription​(java.lang.String owner,
                                                  java.lang.String repo)
                                           throws ApiException
        Unwatch a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentDeleteSubscriptionWithHttpInfo

        public ApiResponse<java.lang.Void> userCurrentDeleteSubscriptionWithHttpInfo​(java.lang.String owner,
                                                                                     java.lang.String repo)
                                                                              throws ApiException
        Unwatch a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentDeleteSubscriptionAsync

        public com.squareup.okhttp.Call userCurrentDeleteSubscriptionAsync​(java.lang.String owner,
                                                                           java.lang.String repo,
                                                                           ApiCallback<java.lang.Void> callback)
                                                                    throws ApiException
        Unwatch a repo (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • userCurrentPutSubscriptionCall

        public com.squareup.okhttp.Call userCurrentPutSubscriptionCall​(java.lang.String owner,
                                                                       java.lang.String repo,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException
        Build call for userCurrentPutSubscription
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userCurrentPutSubscription

        public WatchInfo userCurrentPutSubscription​(java.lang.String owner,
                                                    java.lang.String repo)
                                             throws ApiException
        Watch a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        WatchInfo
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentPutSubscriptionWithHttpInfo

        public ApiResponse<WatchInfo> userCurrentPutSubscriptionWithHttpInfo​(java.lang.String owner,
                                                                             java.lang.String repo)
                                                                      throws ApiException
        Watch a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        Returns:
        ApiResponse<WatchInfo>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userCurrentPutSubscriptionAsync

        public com.squareup.okhttp.Call userCurrentPutSubscriptionAsync​(java.lang.String owner,
                                                                        java.lang.String repo,
                                                                        ApiCallback<WatchInfo> callback)
                                                                 throws ApiException
        Watch a repo (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (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
      • userTrackedTimesCall

        @Deprecated
        public com.squareup.okhttp.Call userTrackedTimesCall​(java.lang.String owner,
                                                             java.lang.String repo,
                                                             java.lang.String user,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException
        Deprecated.
        Build call for userTrackedTimes
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - username of user (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • userTrackedTimes

        @Deprecated
        public java.util.List<TrackedTime> userTrackedTimes​(java.lang.String owner,
                                                            java.lang.String repo,
                                                            java.lang.String user)
                                                     throws ApiException
        Deprecated.
        List a user's tracked times in a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - username of user (required)
        Returns:
        List<TrackedTime>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userTrackedTimesWithHttpInfo

        @Deprecated
        public ApiResponse<java.util.List<TrackedTime>> userTrackedTimesWithHttpInfo​(java.lang.String owner,
                                                                                     java.lang.String repo,
                                                                                     java.lang.String user)
                                                                              throws ApiException
        Deprecated.
        List a user's tracked times in a repo
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - username of user (required)
        Returns:
        ApiResponse<List<TrackedTime>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • userTrackedTimesAsync

        @Deprecated
        public com.squareup.okhttp.Call userTrackedTimesAsync​(java.lang.String owner,
                                                              java.lang.String repo,
                                                              java.lang.String user,
                                                              ApiCallback<java.util.List<TrackedTime>> callback)
                                                       throws ApiException
        Deprecated.
        List a user's tracked times in a repo (asynchronously)
        Parameters:
        owner - owner of the repo (required)
        repo - name of the repo (required)
        user - username of user (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