Package io.gitea.api

Class UserApi

java.lang.Object
io.gitea.api.UserApi

public class UserApi
extends java.lang.Object
  • Constructor Details

  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • createCurrentUserRepoCall

      public com.squareup.okhttp.Call createCurrentUserRepoCall​(CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for createCurrentUserRepo
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize 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
    • getUserSettingsCall

      public com.squareup.okhttp.Call getUserSettingsCall​(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getUserSettings
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getUserSettings

      public java.util.List<UserSettings> getUserSettings() throws ApiException
      Get user settings
      Returns:
      List<UserSettings>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getUserSettingsWithHttpInfo

      public ApiResponse<java.util.List<UserSettings>> getUserSettingsWithHttpInfo() throws ApiException
      Get user settings
      Returns:
      ApiResponse<List<UserSettings>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getUserSettingsAsync

      public com.squareup.okhttp.Call getUserSettingsAsync​(ApiCallback<java.util.List<UserSettings>> callback) throws ApiException
      Get user settings (asynchronously)
      Parameters:
      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
    • getVerificationTokenCall

      public com.squareup.okhttp.Call getVerificationTokenCall​(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for getVerificationToken
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getVerificationToken

      public java.lang.String getVerificationToken() throws ApiException
      Get a Token to verify
      Returns:
      String
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getVerificationTokenWithHttpInfo

      public ApiResponse<java.lang.String> getVerificationTokenWithHttpInfo() throws ApiException
      Get a Token to verify
      Returns:
      ApiResponse<String>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getVerificationTokenAsync

      public com.squareup.okhttp.Call getVerificationTokenAsync​(ApiCallback<java.lang.String> callback) throws ApiException
      Get a Token to verify (asynchronously)
      Parameters:
      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
    • updateUserSettingsCall

      public com.squareup.okhttp.Call updateUserSettingsCall​(UserSettingsOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for updateUserSettings
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateUserSettings

      public java.util.List<UserSettings> updateUserSettings​(UserSettingsOptions body) throws ApiException
      Update user settings
      Parameters:
      body - (optional)
      Returns:
      List<UserSettings>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateUserSettingsWithHttpInfo

      public ApiResponse<java.util.List<UserSettings>> updateUserSettingsWithHttpInfo​(UserSettingsOptions body) throws ApiException
      Update user settings
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<List<UserSettings>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateUserSettingsAsync

      public com.squareup.okhttp.Call updateUserSettingsAsync​(UserSettingsOptions body, ApiCallback<java.util.List<UserSettings>> callback) throws ApiException
      Update user settings (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
    • userAddEmailCall

      public com.squareup.okhttp.Call userAddEmailCall​(CreateEmailOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userAddEmail
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userAddEmail

      public java.util.List<Email> userAddEmail​(CreateEmailOption body) throws ApiException
      Add email addresses
      Parameters:
      body - (optional)
      Returns:
      List<Email>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userAddEmailWithHttpInfo

      public ApiResponse<java.util.List<Email>> userAddEmailWithHttpInfo​(CreateEmailOption body) throws ApiException
      Add email addresses
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<List<Email>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userAddEmailAsync

      public com.squareup.okhttp.Call userAddEmailAsync​(CreateEmailOption body, ApiCallback<java.util.List<Email>> callback) throws ApiException
      Add email addresses (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
    • userCheckFollowingCall

      public com.squareup.okhttp.Call userCheckFollowingCall​(java.lang.String follower, java.lang.String followee, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCheckFollowing
      Parameters:
      follower - username of following user (required)
      followee - username of followed user (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userCheckFollowing

      public void userCheckFollowing​(java.lang.String follower, java.lang.String followee) throws ApiException
      Check if one user is following another user
      Parameters:
      follower - username of following user (required)
      followee - username of followed user (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCheckFollowingWithHttpInfo

      public ApiResponse<java.lang.Void> userCheckFollowingWithHttpInfo​(java.lang.String follower, java.lang.String followee) throws ApiException
      Check if one user is following another user
      Parameters:
      follower - username of following user (required)
      followee - username of followed user (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCheckFollowingAsync

      public com.squareup.okhttp.Call userCheckFollowingAsync​(java.lang.String follower, java.lang.String followee, ApiCallback<java.lang.Void> callback) throws ApiException
      Check if one user is following another user (asynchronously)
      Parameters:
      follower - username of following user (required)
      followee - username of followed 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
    • userCreateOAuth2ApplicationCall

      public com.squareup.okhttp.Call userCreateOAuth2ApplicationCall​(CreateOAuth2ApplicationOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCreateOAuth2Application
      Parameters:
      body - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userCreateOAuth2Application

      public OAuth2Application userCreateOAuth2Application​(CreateOAuth2ApplicationOptions body) throws ApiException
      creates a new OAuth2 application
      Parameters:
      body - (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCreateOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userCreateOAuth2ApplicationWithHttpInfo​(CreateOAuth2ApplicationOptions body) throws ApiException
      creates a new OAuth2 application
      Parameters:
      body - (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCreateOAuth2ApplicationAsync

      public com.squareup.okhttp.Call userCreateOAuth2ApplicationAsync​(CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> callback) throws ApiException
      creates a new OAuth2 application (asynchronously)
      Parameters:
      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
    • userCreateTokenCall

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

      public AccessToken userCreateToken​(java.lang.String username, CreateAccessTokenOption userCreateToken) throws ApiException
      Create an access token
      Parameters:
      username - username of user (required)
      userCreateToken - (optional)
      Returns:
      AccessToken
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCreateTokenWithHttpInfo

      public ApiResponse<AccessToken> userCreateTokenWithHttpInfo​(java.lang.String username, CreateAccessTokenOption userCreateToken) throws ApiException
      Create an access token
      Parameters:
      username - username of user (required)
      userCreateToken - (optional)
      Returns:
      ApiResponse<AccessToken>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCreateTokenAsync

      public com.squareup.okhttp.Call userCreateTokenAsync​(java.lang.String username, CreateAccessTokenOption userCreateToken, ApiCallback<AccessToken> callback) throws ApiException
      Create an access token (asynchronously)
      Parameters:
      username - username of user (required)
      userCreateToken - (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
    • userCurrentCheckFollowingCall

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

      public void userCurrentCheckFollowing​(java.lang.String username) throws ApiException
      Check whether a user is followed by the authenticated user
      Parameters:
      username - username of followed user (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentCheckFollowingWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentCheckFollowingWithHttpInfo​(java.lang.String username) throws ApiException
      Check whether a user is followed by the authenticated user
      Parameters:
      username - username of followed user (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentCheckFollowingAsync

      public com.squareup.okhttp.Call userCurrentCheckFollowingAsync​(java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiException
      Check whether a user is followed by the authenticated user (asynchronously)
      Parameters:
      username - username of followed 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
    • userCurrentCheckStarringCall

      public com.squareup.okhttp.Call userCurrentCheckStarringCall​(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentCheckStarring
      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
    • userCurrentCheckStarring

      public void userCurrentCheckStarring​(java.lang.String owner, java.lang.String repo) throws ApiException
      Whether the authenticated is starring the 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
    • userCurrentCheckStarringWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentCheckStarringWithHttpInfo​(java.lang.String owner, java.lang.String repo) throws ApiException
      Whether the authenticated is starring the 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
    • userCurrentCheckStarringAsync

      public com.squareup.okhttp.Call userCurrentCheckStarringAsync​(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiException
      Whether the authenticated is starring the 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
    • userCurrentDeleteFollowCall

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

      public void userCurrentDeleteFollow​(java.lang.String username) throws ApiException
      Unfollow a user
      Parameters:
      username - username of user to unfollow (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentDeleteFollowWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentDeleteFollowWithHttpInfo​(java.lang.String username) throws ApiException
      Unfollow a user
      Parameters:
      username - username of user to unfollow (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentDeleteFollowAsync

      public com.squareup.okhttp.Call userCurrentDeleteFollowAsync​(java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiException
      Unfollow a user (asynchronously)
      Parameters:
      username - username of user to unfollow (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
    • userCurrentDeleteGPGKeyCall

      public com.squareup.okhttp.Call userCurrentDeleteGPGKeyCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentDeleteGPGKey
      Parameters:
      id - id of 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
    • userCurrentDeleteGPGKey

      public void userCurrentDeleteGPGKey​(java.lang.Long id) throws ApiException
      Remove a GPG key
      Parameters:
      id - id of key to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentDeleteGPGKeyWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentDeleteGPGKeyWithHttpInfo​(java.lang.Long id) throws ApiException
      Remove a GPG key
      Parameters:
      id - id of 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
    • userCurrentDeleteGPGKeyAsync

      public com.squareup.okhttp.Call userCurrentDeleteGPGKeyAsync​(java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Remove a GPG key (asynchronously)
      Parameters:
      id - id of 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
    • userCurrentDeleteKeyCall

      public com.squareup.okhttp.Call userCurrentDeleteKeyCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentDeleteKey
      Parameters:
      id - id of 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
    • userCurrentDeleteKey

      public void userCurrentDeleteKey​(java.lang.Long id) throws ApiException
      Delete a public key
      Parameters:
      id - id of key to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentDeleteKeyWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentDeleteKeyWithHttpInfo​(java.lang.Long id) throws ApiException
      Delete a public key
      Parameters:
      id - id of 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
    • userCurrentDeleteKeyAsync

      public com.squareup.okhttp.Call userCurrentDeleteKeyAsync​(java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a public key (asynchronously)
      Parameters:
      id - id of 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
    • userCurrentDeleteStarCall

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

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

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

      public com.squareup.okhttp.Call userCurrentDeleteStarAsync​(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiException
      Unstar the given repo (asynchronously)
      Parameters:
      owner - owner of the repo to unstar (required)
      repo - name of the repo to unstar (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
    • userCurrentGetGPGKeyCall

      public com.squareup.okhttp.Call userCurrentGetGPGKeyCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentGetGPGKey
      Parameters:
      id - id of 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
    • userCurrentGetGPGKey

      public GPGKey userCurrentGetGPGKey​(java.lang.Long id) throws ApiException
      Get a GPG key
      Parameters:
      id - id of key to get (required)
      Returns:
      GPGKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentGetGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userCurrentGetGPGKeyWithHttpInfo​(java.lang.Long id) throws ApiException
      Get a GPG key
      Parameters:
      id - id of key to get (required)
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentGetGPGKeyAsync

      public com.squareup.okhttp.Call userCurrentGetGPGKeyAsync​(java.lang.Long id, ApiCallback<GPGKey> callback) throws ApiException
      Get a GPG key (asynchronously)
      Parameters:
      id - id of 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
    • userCurrentGetKeyCall

      public com.squareup.okhttp.Call userCurrentGetKeyCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentGetKey
      Parameters:
      id - id of 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
    • userCurrentGetKey

      public PublicKey userCurrentGetKey​(java.lang.Long id) throws ApiException
      Get a public key
      Parameters:
      id - id of key to get (required)
      Returns:
      PublicKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentGetKeyWithHttpInfo

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

      public com.squareup.okhttp.Call userCurrentGetKeyAsync​(java.lang.Long id, ApiCallback<PublicKey> callback) throws ApiException
      Get a public key (asynchronously)
      Parameters:
      id - id of 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
    • userCurrentListFollowersCall

      public com.squareup.okhttp.Call userCurrentListFollowersCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListFollowers
      Parameters:
      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
    • userCurrentListFollowers

      public java.util.List<User> userCurrentListFollowers​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's followers
      Parameters:
      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
    • userCurrentListFollowersWithHttpInfo

      public ApiResponse<java.util.List<User>> userCurrentListFollowersWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's followers
      Parameters:
      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
    • userCurrentListFollowersAsync

      public com.squareup.okhttp.Call userCurrentListFollowersAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      List the authenticated user's followers (asynchronously)
      Parameters:
      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
    • userCurrentListFollowingCall

      public com.squareup.okhttp.Call userCurrentListFollowingCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListFollowing
      Parameters:
      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
    • userCurrentListFollowing

      public java.util.List<User> userCurrentListFollowing​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the users that the authenticated user is following
      Parameters:
      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
    • userCurrentListFollowingWithHttpInfo

      public ApiResponse<java.util.List<User>> userCurrentListFollowingWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the users that the authenticated user is following
      Parameters:
      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
    • userCurrentListFollowingAsync

      public com.squareup.okhttp.Call userCurrentListFollowingAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      List the users that the authenticated user is following (asynchronously)
      Parameters:
      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
    • userCurrentListGPGKeysCall

      public com.squareup.okhttp.Call userCurrentListGPGKeysCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListGPGKeys
      Parameters:
      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
    • userCurrentListGPGKeys

      public java.util.List<GPGKey> userCurrentListGPGKeys​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's GPG keys
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentListGPGKeysWithHttpInfo

      public ApiResponse<java.util.List<GPGKey>> userCurrentListGPGKeysWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's GPG keys
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<GPGKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentListGPGKeysAsync

      public com.squareup.okhttp.Call userCurrentListGPGKeysAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<GPGKey>> callback) throws ApiException
      List the authenticated user's GPG keys (asynchronously)
      Parameters:
      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
    • userCurrentListKeysCall

      public com.squareup.okhttp.Call userCurrentListKeysCall​(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListKeys
      Parameters:
      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
    • userCurrentListKeys

      public java.util.List<PublicKey> userCurrentListKeys​(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's public keys
      Parameters:
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentListKeysWithHttpInfo

      public ApiResponse<java.util.List<PublicKey>> userCurrentListKeysWithHttpInfo​(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's public keys
      Parameters:
      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<PublicKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentListKeysAsync

      public com.squareup.okhttp.Call userCurrentListKeysAsync​(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<PublicKey>> callback) throws ApiException
      List the authenticated user's public keys (asynchronously)
      Parameters:
      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
    • userCurrentListReposCall

      public com.squareup.okhttp.Call userCurrentListReposCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListRepos
      Parameters:
      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
    • userCurrentListRepos

      public java.util.List<Repository> userCurrentListRepos​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repos that the authenticated user owns or has access to
      Parameters:
      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
    • userCurrentListReposWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userCurrentListReposWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repos that the authenticated user owns or has access to
      Parameters:
      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
    • userCurrentListReposAsync

      public com.squareup.okhttp.Call userCurrentListReposAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      List the repos that the authenticated user owns or has access to (asynchronously)
      Parameters:
      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
    • userCurrentListStarredCall

      public com.squareup.okhttp.Call userCurrentListStarredCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListStarred
      Parameters:
      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
    • userCurrentListStarred

      public java.util.List<Repository> userCurrentListStarred​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      The repos that the authenticated user has starred
      Parameters:
      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
    • userCurrentListStarredWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userCurrentListStarredWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      The repos that the authenticated user has starred
      Parameters:
      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
    • userCurrentListStarredAsync

      public com.squareup.okhttp.Call userCurrentListStarredAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      The repos that the authenticated user has starred (asynchronously)
      Parameters:
      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
    • userCurrentListSubscriptionsCall

      public com.squareup.okhttp.Call userCurrentListSubscriptionsCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentListSubscriptions
      Parameters:
      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
    • userCurrentListSubscriptions

      public java.util.List<Repository> userCurrentListSubscriptions​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List repositories watched by the authenticated user
      Parameters:
      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
    • userCurrentListSubscriptionsWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userCurrentListSubscriptionsWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List repositories watched by the authenticated user
      Parameters:
      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
    • userCurrentListSubscriptionsAsync

      public com.squareup.okhttp.Call userCurrentListSubscriptionsAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      List repositories watched by the authenticated user (asynchronously)
      Parameters:
      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
    • userCurrentPostGPGKeyCall

      public com.squareup.okhttp.Call userCurrentPostGPGKeyCall​(CreateGPGKeyOption form, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentPostGPGKey
      Parameters:
      form - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userCurrentPostGPGKey

      public GPGKey userCurrentPostGPGKey​(CreateGPGKeyOption form) throws ApiException
      Create a GPG key
      Parameters:
      form - (optional)
      Returns:
      GPGKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPostGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userCurrentPostGPGKeyWithHttpInfo​(CreateGPGKeyOption form) throws ApiException
      Create a GPG key
      Parameters:
      form - (optional)
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPostGPGKeyAsync

      public com.squareup.okhttp.Call userCurrentPostGPGKeyAsync​(CreateGPGKeyOption form, ApiCallback<GPGKey> callback) throws ApiException
      Create a GPG key (asynchronously)
      Parameters:
      form - (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
    • userCurrentPostKeyCall

      public com.squareup.okhttp.Call userCurrentPostKeyCall​(CreateKeyOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentPostKey
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userCurrentPostKey

      public PublicKey userCurrentPostKey​(CreateKeyOption body) throws ApiException
      Create a public key
      Parameters:
      body - (optional)
      Returns:
      PublicKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPostKeyWithHttpInfo

      public ApiResponse<PublicKey> userCurrentPostKeyWithHttpInfo​(CreateKeyOption body) throws ApiException
      Create a public key
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPostKeyAsync

      public com.squareup.okhttp.Call userCurrentPostKeyAsync​(CreateKeyOption body, ApiCallback<PublicKey> callback) throws ApiException
      Create a public key (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
    • userCurrentPutFollowCall

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

      public void userCurrentPutFollow​(java.lang.String username) throws ApiException
      Follow a user
      Parameters:
      username - username of user to follow (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPutFollowWithHttpInfo

      public ApiResponse<java.lang.Void> userCurrentPutFollowWithHttpInfo​(java.lang.String username) throws ApiException
      Follow a user
      Parameters:
      username - username of user to follow (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentPutFollowAsync

      public com.squareup.okhttp.Call userCurrentPutFollowAsync​(java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiException
      Follow a user (asynchronously)
      Parameters:
      username - username of user to follow (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
    • userCurrentPutStarCall

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

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

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

      public com.squareup.okhttp.Call userCurrentPutStarAsync​(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiException
      Star the given repo (asynchronously)
      Parameters:
      owner - owner of the repo to star (required)
      repo - name of the repo to star (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
    • userCurrentTrackedTimesCall

      public com.squareup.okhttp.Call userCurrentTrackedTimesCall​(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userCurrentTrackedTimes
      Parameters:
      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)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userCurrentTrackedTimes

      public java.util.List<TrackedTime> userCurrentTrackedTimes​(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before) throws ApiException
      List the current user's tracked times
      Parameters:
      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)
      Returns:
      List<TrackedTime>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentTrackedTimesWithHttpInfo

      public ApiResponse<java.util.List<TrackedTime>> userCurrentTrackedTimesWithHttpInfo​(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before) throws ApiException
      List the current user's tracked times
      Parameters:
      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)
      Returns:
      ApiResponse<List<TrackedTime>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userCurrentTrackedTimesAsync

      public com.squareup.okhttp.Call userCurrentTrackedTimesAsync​(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ApiCallback<java.util.List<TrackedTime>> callback) throws ApiException
      List the current user's tracked times (asynchronously)
      Parameters:
      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)
      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
    • userDeleteAccessTokenCall

      public com.squareup.okhttp.Call userDeleteAccessTokenCall​(java.lang.String username, java.lang.String token, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userDeleteAccessToken
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userDeleteAccessToken

      public void userDeleteAccessToken​(java.lang.String username, java.lang.String token) throws ApiException
      delete an access token
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteAccessTokenWithHttpInfo

      public ApiResponse<java.lang.Void> userDeleteAccessTokenWithHttpInfo​(java.lang.String username, java.lang.String token) throws ApiException
      delete an access token
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by name (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteAccessTokenAsync

      public com.squareup.okhttp.Call userDeleteAccessTokenAsync​(java.lang.String username, java.lang.String token, ApiCallback<java.lang.Void> callback) throws ApiException
      delete an access token (asynchronously)
      Parameters:
      username - username of user (required)
      token - token to be deleted, identified by ID and if not available by 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
    • userDeleteEmailCall

      public com.squareup.okhttp.Call userDeleteEmailCall​(DeleteEmailOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userDeleteEmail
      Parameters:
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userDeleteEmail

      public void userDeleteEmail​(DeleteEmailOption body) throws ApiException
      Delete email addresses
      Parameters:
      body - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteEmailWithHttpInfo

      public ApiResponse<java.lang.Void> userDeleteEmailWithHttpInfo​(DeleteEmailOption body) throws ApiException
      Delete email addresses
      Parameters:
      body - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteEmailAsync

      public com.squareup.okhttp.Call userDeleteEmailAsync​(DeleteEmailOption body, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete email addresses (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
    • userDeleteOAuth2ApplicationCall

      public com.squareup.okhttp.Call userDeleteOAuth2ApplicationCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userDeleteOAuth2Application
      Parameters:
      id - token to be deleted (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userDeleteOAuth2Application

      public void userDeleteOAuth2Application​(java.lang.Long id) throws ApiException
      delete an OAuth2 Application
      Parameters:
      id - token to be deleted (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteOAuth2ApplicationWithHttpInfo

      public ApiResponse<java.lang.Void> userDeleteOAuth2ApplicationWithHttpInfo​(java.lang.Long id) throws ApiException
      delete an OAuth2 Application
      Parameters:
      id - token to be deleted (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userDeleteOAuth2ApplicationAsync

      public com.squareup.okhttp.Call userDeleteOAuth2ApplicationAsync​(java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      delete an OAuth2 Application (asynchronously)
      Parameters:
      id - token to be deleted (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
    • userGetCall

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

      public User userGet​(java.lang.String username) throws ApiException
      Get a user
      Parameters:
      username - username of user to get (required)
      Returns:
      User
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetWithHttpInfo

      public ApiResponse<User> userGetWithHttpInfo​(java.lang.String username) throws ApiException
      Get a user
      Parameters:
      username - username of user to get (required)
      Returns:
      ApiResponse<User>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetAsync

      public com.squareup.okhttp.Call userGetAsync​(java.lang.String username, ApiCallback<User> callback) throws ApiException
      Get a user (asynchronously)
      Parameters:
      username - username of user 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
    • userGetCurrentCall

      public com.squareup.okhttp.Call userGetCurrentCall​(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userGetCurrent
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userGetCurrent

      public User userGetCurrent() throws ApiException
      Get the authenticated user
      Returns:
      User
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetCurrentWithHttpInfo

      public ApiResponse<User> userGetCurrentWithHttpInfo() throws ApiException
      Get the authenticated user
      Returns:
      ApiResponse<User>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetCurrentAsync

      public com.squareup.okhttp.Call userGetCurrentAsync​(ApiCallback<User> callback) throws ApiException
      Get the authenticated user (asynchronously)
      Parameters:
      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
    • userGetHeatmapDataCall

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

      public java.util.List<UserHeatmapData> userGetHeatmapData​(java.lang.String username) throws ApiException
      Get a user's heatmap
      Parameters:
      username - username of user to get (required)
      Returns:
      List<UserHeatmapData>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetHeatmapDataWithHttpInfo

      public ApiResponse<java.util.List<UserHeatmapData>> userGetHeatmapDataWithHttpInfo​(java.lang.String username) throws ApiException
      Get a user's heatmap
      Parameters:
      username - username of user to get (required)
      Returns:
      ApiResponse<List<UserHeatmapData>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetHeatmapDataAsync

      public com.squareup.okhttp.Call userGetHeatmapDataAsync​(java.lang.String username, ApiCallback<java.util.List<UserHeatmapData>> callback) throws ApiException
      Get a user's heatmap (asynchronously)
      Parameters:
      username - username of user 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
    • userGetOAuth2ApplicationCall

      public com.squareup.okhttp.Call userGetOAuth2ApplicationCall​(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userGetOAuth2Application
      Parameters:
      id - Application ID to be found (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userGetOAuth2Application

      public OAuth2Application userGetOAuth2Application​(java.lang.Long id) throws ApiException
      get an OAuth2 Application
      Parameters:
      id - Application ID to be found (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userGetOAuth2ApplicationWithHttpInfo​(java.lang.Long id) throws ApiException
      get an OAuth2 Application
      Parameters:
      id - Application ID to be found (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetOAuth2ApplicationAsync

      public com.squareup.okhttp.Call userGetOAuth2ApplicationAsync​(java.lang.Long id, ApiCallback<OAuth2Application> callback) throws ApiException
      get an OAuth2 Application (asynchronously)
      Parameters:
      id - Application ID to be found (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
    • userGetOauth2ApplicationCall

      public com.squareup.okhttp.Call userGetOauth2ApplicationCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userGetOauth2Application
      Parameters:
      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
    • userGetOauth2Application

      public java.util.List<OAuth2Application> userGetOauth2Application​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's oauth2 applications
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetOauth2ApplicationWithHttpInfo

      public ApiResponse<java.util.List<OAuth2Application>> userGetOauth2ApplicationWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's oauth2 applications
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<OAuth2Application>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetOauth2ApplicationAsync

      public com.squareup.okhttp.Call userGetOauth2ApplicationAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<OAuth2Application>> callback) throws ApiException
      List the authenticated user's oauth2 applications (asynchronously)
      Parameters:
      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
    • userGetStopWatchesCall

      public com.squareup.okhttp.Call userGetStopWatchesCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userGetStopWatches
      Parameters:
      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
    • userGetStopWatches

      public java.util.List<StopWatch> userGetStopWatches​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get list of all existing stopwatches
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<StopWatch>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetStopWatchesWithHttpInfo

      public ApiResponse<java.util.List<StopWatch>> userGetStopWatchesWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get list of all existing stopwatches
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<StopWatch>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetStopWatchesAsync

      public com.squareup.okhttp.Call userGetStopWatchesAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<StopWatch>> callback) throws ApiException
      Get list of all existing stopwatches (asynchronously)
      Parameters:
      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
    • userGetTokensCall

      public com.squareup.okhttp.Call userGetTokensCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userGetTokens
      Parameters:
      username - username of user (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
    • userGetTokens

      public java.util.List<AccessToken> userGetTokens​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's access tokens
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<AccessToken>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetTokensWithHttpInfo

      public ApiResponse<java.util.List<AccessToken>> userGetTokensWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the authenticated user's access tokens
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<AccessToken>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userGetTokensAsync

      public com.squareup.okhttp.Call userGetTokensAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<AccessToken>> callback) throws ApiException
      List the authenticated user's access tokens (asynchronously)
      Parameters:
      username - username of user (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
    • userListEmailsCall

      public com.squareup.okhttp.Call userListEmailsCall​(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListEmails
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userListEmails

      public java.util.List<Email> userListEmails() throws ApiException
      List the authenticated user's email addresses
      Returns:
      List<Email>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListEmailsWithHttpInfo

      public ApiResponse<java.util.List<Email>> userListEmailsWithHttpInfo() throws ApiException
      List the authenticated user's email addresses
      Returns:
      ApiResponse<List<Email>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListEmailsAsync

      public com.squareup.okhttp.Call userListEmailsAsync​(ApiCallback<java.util.List<Email>> callback) throws ApiException
      List the authenticated user's email addresses (asynchronously)
      Parameters:
      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
    • userListFollowersCall

      public com.squareup.okhttp.Call userListFollowersCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListFollowers
      Parameters:
      username - username of user (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
    • userListFollowers

      public java.util.List<User> userListFollowers​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's followers
      Parameters:
      username - username of user (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
    • userListFollowersWithHttpInfo

      public ApiResponse<java.util.List<User>> userListFollowersWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's followers
      Parameters:
      username - username of user (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
    • userListFollowersAsync

      public com.squareup.okhttp.Call userListFollowersAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      List the given user's followers (asynchronously)
      Parameters:
      username - username of user (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
    • userListFollowingCall

      public com.squareup.okhttp.Call userListFollowingCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListFollowing
      Parameters:
      username - username of user (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
    • userListFollowing

      public java.util.List<User> userListFollowing​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the users that the given user is following
      Parameters:
      username - username of user (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
    • userListFollowingWithHttpInfo

      public ApiResponse<java.util.List<User>> userListFollowingWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the users that the given user is following
      Parameters:
      username - username of user (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
    • userListFollowingAsync

      public com.squareup.okhttp.Call userListFollowingAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      List the users that the given user is following (asynchronously)
      Parameters:
      username - username of user (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
    • userListGPGKeysCall

      public com.squareup.okhttp.Call userListGPGKeysCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListGPGKeys
      Parameters:
      username - username of user (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
    • userListGPGKeys

      public java.util.List<GPGKey> userListGPGKeys​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's GPG keys
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListGPGKeysWithHttpInfo

      public ApiResponse<java.util.List<GPGKey>> userListGPGKeysWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's GPG keys
      Parameters:
      username - username of user (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<GPGKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListGPGKeysAsync

      public com.squareup.okhttp.Call userListGPGKeysAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<GPGKey>> callback) throws ApiException
      List the given user's GPG keys (asynchronously)
      Parameters:
      username - username of user (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
    • userListKeysCall

      public com.squareup.okhttp.Call userListKeysCall​(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListKeys
      Parameters:
      username - username of user (required)
      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
    • userListKeys

      public java.util.List<PublicKey> userListKeys​(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's public keys
      Parameters:
      username - username of user (required)
      fingerprint - fingerprint of the key (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<PublicKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListKeysWithHttpInfo

      public ApiResponse<java.util.List<PublicKey>> userListKeysWithHttpInfo​(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the given user's public keys
      Parameters:
      username - username of user (required)
      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<PublicKey>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListKeysAsync

      public com.squareup.okhttp.Call userListKeysAsync​(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<PublicKey>> callback) throws ApiException
      List the given user's public keys (asynchronously)
      Parameters:
      username - username of user (required)
      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
    • userListReposCall

      public com.squareup.okhttp.Call userListReposCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListRepos
      Parameters:
      username - username of user (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
    • userListRepos

      public java.util.List<Repository> userListRepos​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repos owned by the given user
      Parameters:
      username - username of user (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
    • userListReposWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userListReposWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repos owned by the given user
      Parameters:
      username - username of user (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
    • userListReposAsync

      public com.squareup.okhttp.Call userListReposAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      List the repos owned by the given user (asynchronously)
      Parameters:
      username - username of user (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
    • userListStarredCall

      public com.squareup.okhttp.Call userListStarredCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListStarred
      Parameters:
      username - username of user (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
    • userListStarred

      public java.util.List<Repository> userListStarred​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      The repos that the given user has starred
      Parameters:
      username - username of user (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
    • userListStarredWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userListStarredWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      The repos that the given user has starred
      Parameters:
      username - username of user (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
    • userListStarredAsync

      public com.squareup.okhttp.Call userListStarredAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      The repos that the given user has starred (asynchronously)
      Parameters:
      username - username of user (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
    • userListSubscriptionsCall

      public com.squareup.okhttp.Call userListSubscriptionsCall​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListSubscriptions
      Parameters:
      username - username of the user (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
    • userListSubscriptions

      public java.util.List<Repository> userListSubscriptions​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repositories watched by a user
      Parameters:
      username - username of the user (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
    • userListSubscriptionsWithHttpInfo

      public ApiResponse<java.util.List<Repository>> userListSubscriptionsWithHttpInfo​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List the repositories watched by a user
      Parameters:
      username - username of the user (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
    • userListSubscriptionsAsync

      public com.squareup.okhttp.Call userListSubscriptionsAsync​(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiException
      List the repositories watched by a user (asynchronously)
      Parameters:
      username - username of the user (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
    • userListTeamsCall

      public com.squareup.okhttp.Call userListTeamsCall​(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userListTeams
      Parameters:
      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
    • userListTeams

      public java.util.List<Team> userListTeams​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all the teams a user belongs to
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Team>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListTeamsWithHttpInfo

      public ApiResponse<java.util.List<Team>> userListTeamsWithHttpInfo​(java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all the teams a user belongs to
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Team>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userListTeamsAsync

      public com.squareup.okhttp.Call userListTeamsAsync​(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Team>> callback) throws ApiException
      List all the teams a user belongs to (asynchronously)
      Parameters:
      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
    • userSearchCall

      public com.squareup.okhttp.Call userSearchCall​(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userSearch
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (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
    • userSearch

      public InlineResponse2001 userSearch​(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Search for users
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      InlineResponse2001
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userSearchWithHttpInfo

      public ApiResponse<InlineResponse2001> userSearchWithHttpInfo​(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Search for users
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<InlineResponse2001>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userSearchAsync

      public com.squareup.okhttp.Call userSearchAsync​(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit, ApiCallback<InlineResponse2001> callback) throws ApiException
      Search for users (asynchronously)
      Parameters:
      q - keyword (optional)
      uid - ID of the user to search for (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
    • userUpdateOAuth2ApplicationCall

      public com.squareup.okhttp.Call userUpdateOAuth2ApplicationCall​(java.lang.Long id, CreateOAuth2ApplicationOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userUpdateOAuth2Application
      Parameters:
      id - application to be updated (required)
      body - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userUpdateOAuth2Application

      public OAuth2Application userUpdateOAuth2Application​(java.lang.Long id, CreateOAuth2ApplicationOptions body) throws ApiException
      update an OAuth2 Application, this includes regenerating the client secret
      Parameters:
      id - application to be updated (required)
      body - (required)
      Returns:
      OAuth2Application
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userUpdateOAuth2ApplicationWithHttpInfo

      public ApiResponse<OAuth2Application> userUpdateOAuth2ApplicationWithHttpInfo​(java.lang.Long id, CreateOAuth2ApplicationOptions body) throws ApiException
      update an OAuth2 Application, this includes regenerating the client secret
      Parameters:
      id - application to be updated (required)
      body - (required)
      Returns:
      ApiResponse<OAuth2Application>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userUpdateOAuth2ApplicationAsync

      public com.squareup.okhttp.Call userUpdateOAuth2ApplicationAsync​(java.lang.Long id, CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> callback) throws ApiException
      update an OAuth2 Application, this includes regenerating the client secret (asynchronously)
      Parameters:
      id - application to be updated (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
    • userVerifyGPGKeyCall

      public com.squareup.okhttp.Call userVerifyGPGKeyCall​(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for userVerifyGPGKey
      Parameters:
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • userVerifyGPGKey

      public GPGKey userVerifyGPGKey() throws ApiException
      Verify a GPG key
      Returns:
      GPGKey
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userVerifyGPGKeyWithHttpInfo

      public ApiResponse<GPGKey> userVerifyGPGKeyWithHttpInfo() throws ApiException
      Verify a GPG key
      Returns:
      ApiResponse<GPGKey>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • userVerifyGPGKeyAsync

      public com.squareup.okhttp.Call userVerifyGPGKeyAsync​(ApiCallback<GPGKey> callback) throws ApiException
      Verify a GPG key (asynchronously)
      Parameters:
      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