Class DefaultApi


  • public class DefaultApi
    extends Object
    • Constructor Detail

      • DefaultApi

        public DefaultApi()
      • DefaultApi

        public DefaultApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getCollaborations

        public List<Collaboration> getCollaborations()
                                              throws ApiException
        The set of organziations for which a user is a member or a collaborator. Provides all collaborations which are organizations including 1) orgs that the current user belongs to (BB & GH), 2) orgs that they do not belong to but they collaborate on repos (BB & GH), and 3) current user's account
        Returns:
        List<Collaboration>
        Throws:
        ApiException - if fails to make API call
        Http Response Details:
        Status Code Description Response Headers
        200 Collaborations -
      • getCollaborationsWithHttpInfo

        public ApiResponse<List<Collaboration>> getCollaborationsWithHttpInfo()
                                                                       throws ApiException
        The set of organziations for which a user is a member or a collaborator. Provides all collaborations which are organizations including 1) orgs that the current user belongs to (BB & GH), 2) orgs that they do not belong to but they collaborate on repos (BB & GH), and 3) current user's account
        Returns:
        ApiResponse<List<Collaboration>>
        Throws:
        ApiException - if fails to make API call
        Http Response Details:
        Status Code Description Response Headers
        200 Collaborations -