Package io.gitea.api
Class UserApi
java.lang.Object
io.gitea.api.UserApi
public class UserApi
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description RepositorycreateCurrentUserRepo(CreateRepoOption body)Create a repositorycom.squareup.okhttp.CallcreateCurrentUserRepoAsync(CreateRepoOption body, ApiCallback<Repository> callback)Create a repository (asynchronously)com.squareup.okhttp.CallcreateCurrentUserRepoCall(CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for createCurrentUserRepoApiResponse<Repository>createCurrentUserRepoWithHttpInfo(CreateRepoOption body)Create a repositoryApiClientgetApiClient()java.util.List<UserSettings>getUserSettings()Get user settingscom.squareup.okhttp.CallgetUserSettingsAsync(ApiCallback<java.util.List<UserSettings>> callback)Get user settings (asynchronously)com.squareup.okhttp.CallgetUserSettingsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getUserSettingsApiResponse<java.util.List<UserSettings>>getUserSettingsWithHttpInfo()Get user settingsjava.lang.StringgetVerificationToken()Get a Token to verifycom.squareup.okhttp.CallgetVerificationTokenAsync(ApiCallback<java.lang.String> callback)Get a Token to verify (asynchronously)com.squareup.okhttp.CallgetVerificationTokenCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getVerificationTokenApiResponse<java.lang.String>getVerificationTokenWithHttpInfo()Get a Token to verifyvoidsetApiClient(ApiClient apiClient)java.util.List<UserSettings>updateUserSettings(UserSettingsOptions body)Update user settingscom.squareup.okhttp.CallupdateUserSettingsAsync(UserSettingsOptions body, ApiCallback<java.util.List<UserSettings>> callback)Update user settings (asynchronously)com.squareup.okhttp.CallupdateUserSettingsCall(UserSettingsOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for updateUserSettingsApiResponse<java.util.List<UserSettings>>updateUserSettingsWithHttpInfo(UserSettingsOptions body)Update user settingsjava.util.List<Email>userAddEmail(CreateEmailOption body)Add email addressescom.squareup.okhttp.CalluserAddEmailAsync(CreateEmailOption body, ApiCallback<java.util.List<Email>> callback)Add email addresses (asynchronously)com.squareup.okhttp.CalluserAddEmailCall(CreateEmailOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userAddEmailApiResponse<java.util.List<Email>>userAddEmailWithHttpInfo(CreateEmailOption body)Add email addressesvoiduserCheckFollowing(java.lang.String follower, java.lang.String followee)Check if one user is following another usercom.squareup.okhttp.CalluserCheckFollowingAsync(java.lang.String follower, java.lang.String followee, ApiCallback<java.lang.Void> callback)Check if one user is following another user (asynchronously)com.squareup.okhttp.CalluserCheckFollowingCall(java.lang.String follower, java.lang.String followee, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCheckFollowingApiResponse<java.lang.Void>userCheckFollowingWithHttpInfo(java.lang.String follower, java.lang.String followee)Check if one user is following another userOAuth2ApplicationuserCreateOAuth2Application(CreateOAuth2ApplicationOptions body)creates a new OAuth2 applicationcom.squareup.okhttp.CalluserCreateOAuth2ApplicationAsync(CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> callback)creates a new OAuth2 application (asynchronously)com.squareup.okhttp.CalluserCreateOAuth2ApplicationCall(CreateOAuth2ApplicationOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCreateOAuth2ApplicationApiResponse<OAuth2Application>userCreateOAuth2ApplicationWithHttpInfo(CreateOAuth2ApplicationOptions body)creates a new OAuth2 applicationAccessTokenuserCreateToken(java.lang.String username, CreateAccessTokenOption userCreateToken)Create an access tokencom.squareup.okhttp.CalluserCreateTokenAsync(java.lang.String username, CreateAccessTokenOption userCreateToken, ApiCallback<AccessToken> callback)Create an access token (asynchronously)com.squareup.okhttp.CalluserCreateTokenCall(java.lang.String username, CreateAccessTokenOption userCreateToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCreateTokenApiResponse<AccessToken>userCreateTokenWithHttpInfo(java.lang.String username, CreateAccessTokenOption userCreateToken)Create an access tokenvoiduserCurrentCheckFollowing(java.lang.String username)Check whether a user is followed by the authenticated usercom.squareup.okhttp.CalluserCurrentCheckFollowingAsync(java.lang.String username, ApiCallback<java.lang.Void> callback)Check whether a user is followed by the authenticated user (asynchronously)com.squareup.okhttp.CalluserCurrentCheckFollowingCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentCheckFollowingApiResponse<java.lang.Void>userCurrentCheckFollowingWithHttpInfo(java.lang.String username)Check whether a user is followed by the authenticated uservoiduserCurrentCheckStarring(java.lang.String owner, java.lang.String repo)Whether the authenticated is starring the repocom.squareup.okhttp.CalluserCurrentCheckStarringAsync(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback)Whether the authenticated is starring the repo (asynchronously)com.squareup.okhttp.CalluserCurrentCheckStarringCall(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentCheckStarringApiResponse<java.lang.Void>userCurrentCheckStarringWithHttpInfo(java.lang.String owner, java.lang.String repo)Whether the authenticated is starring the repovoiduserCurrentDeleteFollow(java.lang.String username)Unfollow a usercom.squareup.okhttp.CalluserCurrentDeleteFollowAsync(java.lang.String username, ApiCallback<java.lang.Void> callback)Unfollow a user (asynchronously)com.squareup.okhttp.CalluserCurrentDeleteFollowCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentDeleteFollowApiResponse<java.lang.Void>userCurrentDeleteFollowWithHttpInfo(java.lang.String username)Unfollow a uservoiduserCurrentDeleteGPGKey(java.lang.Long id)Remove a GPG keycom.squareup.okhttp.CalluserCurrentDeleteGPGKeyAsync(java.lang.Long id, ApiCallback<java.lang.Void> callback)Remove a GPG key (asynchronously)com.squareup.okhttp.CalluserCurrentDeleteGPGKeyCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentDeleteGPGKeyApiResponse<java.lang.Void>userCurrentDeleteGPGKeyWithHttpInfo(java.lang.Long id)Remove a GPG keyvoiduserCurrentDeleteKey(java.lang.Long id)Delete a public keycom.squareup.okhttp.CalluserCurrentDeleteKeyAsync(java.lang.Long id, ApiCallback<java.lang.Void> callback)Delete a public key (asynchronously)com.squareup.okhttp.CalluserCurrentDeleteKeyCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentDeleteKeyApiResponse<java.lang.Void>userCurrentDeleteKeyWithHttpInfo(java.lang.Long id)Delete a public keyvoiduserCurrentDeleteStar(java.lang.String owner, java.lang.String repo)Unstar the given repocom.squareup.okhttp.CalluserCurrentDeleteStarAsync(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback)Unstar the given repo (asynchronously)com.squareup.okhttp.CalluserCurrentDeleteStarCall(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentDeleteStarApiResponse<java.lang.Void>userCurrentDeleteStarWithHttpInfo(java.lang.String owner, java.lang.String repo)Unstar the given repoGPGKeyuserCurrentGetGPGKey(java.lang.Long id)Get a GPG keycom.squareup.okhttp.CalluserCurrentGetGPGKeyAsync(java.lang.Long id, ApiCallback<GPGKey> callback)Get a GPG key (asynchronously)com.squareup.okhttp.CalluserCurrentGetGPGKeyCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentGetGPGKeyApiResponse<GPGKey>userCurrentGetGPGKeyWithHttpInfo(java.lang.Long id)Get a GPG keyPublicKeyuserCurrentGetKey(java.lang.Long id)Get a public keycom.squareup.okhttp.CalluserCurrentGetKeyAsync(java.lang.Long id, ApiCallback<PublicKey> callback)Get a public key (asynchronously)com.squareup.okhttp.CalluserCurrentGetKeyCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentGetKeyApiResponse<PublicKey>userCurrentGetKeyWithHttpInfo(java.lang.Long id)Get a public keyjava.util.List<User>userCurrentListFollowers(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's followerscom.squareup.okhttp.CalluserCurrentListFollowersAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List the authenticated user's followers (asynchronously)com.squareup.okhttp.CalluserCurrentListFollowersCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListFollowersApiResponse<java.util.List<User>>userCurrentListFollowersWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's followersjava.util.List<User>userCurrentListFollowing(java.lang.Integer page, java.lang.Integer limit)List the users that the authenticated user is followingcom.squareup.okhttp.CalluserCurrentListFollowingAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List the users that the authenticated user is following (asynchronously)com.squareup.okhttp.CalluserCurrentListFollowingCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListFollowingApiResponse<java.util.List<User>>userCurrentListFollowingWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the users that the authenticated user is followingjava.util.List<GPGKey>userCurrentListGPGKeys(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's GPG keyscom.squareup.okhttp.CalluserCurrentListGPGKeysAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<GPGKey>> callback)List the authenticated user's GPG keys (asynchronously)com.squareup.okhttp.CalluserCurrentListGPGKeysCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListGPGKeysApiResponse<java.util.List<GPGKey>>userCurrentListGPGKeysWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's GPG keysjava.util.List<PublicKey>userCurrentListKeys(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit)List the authenticated user's public keyscom.squareup.okhttp.CalluserCurrentListKeysAsync(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<PublicKey>> callback)List the authenticated user's public keys (asynchronously)com.squareup.okhttp.CalluserCurrentListKeysCall(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListKeysApiResponse<java.util.List<PublicKey>>userCurrentListKeysWithHttpInfo(java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit)List the authenticated user's public keysjava.util.List<Repository>userCurrentListRepos(java.lang.Integer page, java.lang.Integer limit)List the repos that the authenticated user owns or has access tocom.squareup.okhttp.CalluserCurrentListReposAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List the repos that the authenticated user owns or has access to (asynchronously)com.squareup.okhttp.CalluserCurrentListReposCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListReposApiResponse<java.util.List<Repository>>userCurrentListReposWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the repos that the authenticated user owns or has access tojava.util.List<Repository>userCurrentListStarred(java.lang.Integer page, java.lang.Integer limit)The repos that the authenticated user has starredcom.squareup.okhttp.CalluserCurrentListStarredAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)The repos that the authenticated user has starred (asynchronously)com.squareup.okhttp.CalluserCurrentListStarredCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListStarredApiResponse<java.util.List<Repository>>userCurrentListStarredWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)The repos that the authenticated user has starredjava.util.List<Repository>userCurrentListSubscriptions(java.lang.Integer page, java.lang.Integer limit)List repositories watched by the authenticated usercom.squareup.okhttp.CalluserCurrentListSubscriptionsAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List repositories watched by the authenticated user (asynchronously)com.squareup.okhttp.CalluserCurrentListSubscriptionsCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentListSubscriptionsApiResponse<java.util.List<Repository>>userCurrentListSubscriptionsWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List repositories watched by the authenticated userGPGKeyuserCurrentPostGPGKey(CreateGPGKeyOption form)Create a GPG keycom.squareup.okhttp.CalluserCurrentPostGPGKeyAsync(CreateGPGKeyOption form, ApiCallback<GPGKey> callback)Create a GPG key (asynchronously)com.squareup.okhttp.CalluserCurrentPostGPGKeyCall(CreateGPGKeyOption form, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentPostGPGKeyApiResponse<GPGKey>userCurrentPostGPGKeyWithHttpInfo(CreateGPGKeyOption form)Create a GPG keyPublicKeyuserCurrentPostKey(CreateKeyOption body)Create a public keycom.squareup.okhttp.CalluserCurrentPostKeyAsync(CreateKeyOption body, ApiCallback<PublicKey> callback)Create a public key (asynchronously)com.squareup.okhttp.CalluserCurrentPostKeyCall(CreateKeyOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentPostKeyApiResponse<PublicKey>userCurrentPostKeyWithHttpInfo(CreateKeyOption body)Create a public keyvoiduserCurrentPutFollow(java.lang.String username)Follow a usercom.squareup.okhttp.CalluserCurrentPutFollowAsync(java.lang.String username, ApiCallback<java.lang.Void> callback)Follow a user (asynchronously)com.squareup.okhttp.CalluserCurrentPutFollowCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentPutFollowApiResponse<java.lang.Void>userCurrentPutFollowWithHttpInfo(java.lang.String username)Follow a uservoiduserCurrentPutStar(java.lang.String owner, java.lang.String repo)Star the given repocom.squareup.okhttp.CalluserCurrentPutStarAsync(java.lang.String owner, java.lang.String repo, ApiCallback<java.lang.Void> callback)Star the given repo (asynchronously)com.squareup.okhttp.CalluserCurrentPutStarCall(java.lang.String owner, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentPutStarApiResponse<java.lang.Void>userCurrentPutStarWithHttpInfo(java.lang.String owner, java.lang.String repo)Star the given repojava.util.List<TrackedTime>userCurrentTrackedTimes(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before)List the current user's tracked timescom.squareup.okhttp.CalluserCurrentTrackedTimesAsync(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ApiCallback<java.util.List<TrackedTime>> callback)List the current user's tracked times (asynchronously)com.squareup.okhttp.CalluserCurrentTrackedTimesCall(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userCurrentTrackedTimesApiResponse<java.util.List<TrackedTime>>userCurrentTrackedTimesWithHttpInfo(org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before)List the current user's tracked timesvoiduserDeleteAccessToken(java.lang.String username, java.lang.String token)delete an access tokencom.squareup.okhttp.CalluserDeleteAccessTokenAsync(java.lang.String username, java.lang.String token, ApiCallback<java.lang.Void> callback)delete an access token (asynchronously)com.squareup.okhttp.CalluserDeleteAccessTokenCall(java.lang.String username, java.lang.String token, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userDeleteAccessTokenApiResponse<java.lang.Void>userDeleteAccessTokenWithHttpInfo(java.lang.String username, java.lang.String token)delete an access tokenvoiduserDeleteEmail(DeleteEmailOption body)Delete email addressescom.squareup.okhttp.CalluserDeleteEmailAsync(DeleteEmailOption body, ApiCallback<java.lang.Void> callback)Delete email addresses (asynchronously)com.squareup.okhttp.CalluserDeleteEmailCall(DeleteEmailOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userDeleteEmailApiResponse<java.lang.Void>userDeleteEmailWithHttpInfo(DeleteEmailOption body)Delete email addressesvoiduserDeleteOAuth2Application(java.lang.Long id)delete an OAuth2 Applicationcom.squareup.okhttp.CalluserDeleteOAuth2ApplicationAsync(java.lang.Long id, ApiCallback<java.lang.Void> callback)delete an OAuth2 Application (asynchronously)com.squareup.okhttp.CalluserDeleteOAuth2ApplicationCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userDeleteOAuth2ApplicationApiResponse<java.lang.Void>userDeleteOAuth2ApplicationWithHttpInfo(java.lang.Long id)delete an OAuth2 ApplicationUseruserGet(java.lang.String username)Get a usercom.squareup.okhttp.CalluserGetAsync(java.lang.String username, ApiCallback<User> callback)Get a user (asynchronously)com.squareup.okhttp.CalluserGetCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetUseruserGetCurrent()Get the authenticated usercom.squareup.okhttp.CalluserGetCurrentAsync(ApiCallback<User> callback)Get the authenticated user (asynchronously)com.squareup.okhttp.CalluserGetCurrentCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetCurrentApiResponse<User>userGetCurrentWithHttpInfo()Get the authenticated userjava.util.List<UserHeatmapData>userGetHeatmapData(java.lang.String username)Get a user's heatmapcom.squareup.okhttp.CalluserGetHeatmapDataAsync(java.lang.String username, ApiCallback<java.util.List<UserHeatmapData>> callback)Get a user's heatmap (asynchronously)com.squareup.okhttp.CalluserGetHeatmapDataCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetHeatmapDataApiResponse<java.util.List<UserHeatmapData>>userGetHeatmapDataWithHttpInfo(java.lang.String username)Get a user's heatmapjava.util.List<OAuth2Application>userGetOauth2Application(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's oauth2 applicationsOAuth2ApplicationuserGetOAuth2Application(java.lang.Long id)get an OAuth2 Applicationcom.squareup.okhttp.CalluserGetOauth2ApplicationAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<OAuth2Application>> callback)List the authenticated user's oauth2 applications (asynchronously)com.squareup.okhttp.CalluserGetOAuth2ApplicationAsync(java.lang.Long id, ApiCallback<OAuth2Application> callback)get an OAuth2 Application (asynchronously)com.squareup.okhttp.CalluserGetOauth2ApplicationCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetOauth2Applicationcom.squareup.okhttp.CalluserGetOAuth2ApplicationCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetOAuth2ApplicationApiResponse<java.util.List<OAuth2Application>>userGetOauth2ApplicationWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the authenticated user's oauth2 applicationsApiResponse<OAuth2Application>userGetOAuth2ApplicationWithHttpInfo(java.lang.Long id)get an OAuth2 Applicationjava.util.List<StopWatch>userGetStopWatches(java.lang.Integer page, java.lang.Integer limit)Get list of all existing stopwatchescom.squareup.okhttp.CalluserGetStopWatchesAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<StopWatch>> callback)Get list of all existing stopwatches (asynchronously)com.squareup.okhttp.CalluserGetStopWatchesCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetStopWatchesApiResponse<java.util.List<StopWatch>>userGetStopWatchesWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)Get list of all existing stopwatchesjava.util.List<AccessToken>userGetTokens(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the authenticated user's access tokenscom.squareup.okhttp.CalluserGetTokensAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<AccessToken>> callback)List the authenticated user's access tokens (asynchronously)com.squareup.okhttp.CalluserGetTokensCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userGetTokensApiResponse<java.util.List<AccessToken>>userGetTokensWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the authenticated user's access tokensApiResponse<User>userGetWithHttpInfo(java.lang.String username)Get a userjava.util.List<Email>userListEmails()List the authenticated user's email addressescom.squareup.okhttp.CalluserListEmailsAsync(ApiCallback<java.util.List<Email>> callback)List the authenticated user's email addresses (asynchronously)com.squareup.okhttp.CalluserListEmailsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListEmailsApiResponse<java.util.List<Email>>userListEmailsWithHttpInfo()List the authenticated user's email addressesjava.util.List<User>userListFollowers(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the given user's followerscom.squareup.okhttp.CalluserListFollowersAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List the given user's followers (asynchronously)com.squareup.okhttp.CalluserListFollowersCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListFollowersApiResponse<java.util.List<User>>userListFollowersWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the given user's followersjava.util.List<User>userListFollowing(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the users that the given user is followingcom.squareup.okhttp.CalluserListFollowingAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List the users that the given user is following (asynchronously)com.squareup.okhttp.CalluserListFollowingCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListFollowingApiResponse<java.util.List<User>>userListFollowingWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the users that the given user is followingjava.util.List<GPGKey>userListGPGKeys(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the given user's GPG keyscom.squareup.okhttp.CalluserListGPGKeysAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<GPGKey>> callback)List the given user's GPG keys (asynchronously)com.squareup.okhttp.CalluserListGPGKeysCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListGPGKeysApiResponse<java.util.List<GPGKey>>userListGPGKeysWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the given user's GPG keysjava.util.List<PublicKey>userListKeys(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit)List the given user's public keyscom.squareup.okhttp.CalluserListKeysAsync(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<PublicKey>> callback)List the given user's public keys (asynchronously)com.squareup.okhttp.CalluserListKeysCall(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListKeysApiResponse<java.util.List<PublicKey>>userListKeysWithHttpInfo(java.lang.String username, java.lang.String fingerprint, java.lang.Integer page, java.lang.Integer limit)List the given user's public keysjava.util.List<Repository>userListRepos(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the repos owned by the given usercom.squareup.okhttp.CalluserListReposAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List the repos owned by the given user (asynchronously)com.squareup.okhttp.CalluserListReposCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListReposApiResponse<java.util.List<Repository>>userListReposWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the repos owned by the given userjava.util.List<Repository>userListStarred(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)The repos that the given user has starredcom.squareup.okhttp.CalluserListStarredAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)The repos that the given user has starred (asynchronously)com.squareup.okhttp.CalluserListStarredCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListStarredApiResponse<java.util.List<Repository>>userListStarredWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)The repos that the given user has starredjava.util.List<Repository>userListSubscriptions(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the repositories watched by a usercom.squareup.okhttp.CalluserListSubscriptionsAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List the repositories watched by a user (asynchronously)com.squareup.okhttp.CalluserListSubscriptionsCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListSubscriptionsApiResponse<java.util.List<Repository>>userListSubscriptionsWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List the repositories watched by a userjava.util.List<Team>userListTeams(java.lang.Integer page, java.lang.Integer limit)List all the teams a user belongs tocom.squareup.okhttp.CalluserListTeamsAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Team>> callback)List all the teams a user belongs to (asynchronously)com.squareup.okhttp.CalluserListTeamsCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userListTeamsApiResponse<java.util.List<Team>>userListTeamsWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List all the teams a user belongs toInlineResponse2001userSearch(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit)Search for userscom.squareup.okhttp.CalluserSearchAsync(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit, ApiCallback<InlineResponse2001> callback)Search for users (asynchronously)com.squareup.okhttp.CalluserSearchCall(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userSearchApiResponse<InlineResponse2001>userSearchWithHttpInfo(java.lang.String q, java.lang.Long uid, java.lang.Integer page, java.lang.Integer limit)Search for usersOAuth2ApplicationuserUpdateOAuth2Application(java.lang.Long id, CreateOAuth2ApplicationOptions body)update an OAuth2 Application, this includes regenerating the client secretcom.squareup.okhttp.CalluserUpdateOAuth2ApplicationAsync(java.lang.Long id, CreateOAuth2ApplicationOptions body, ApiCallback<OAuth2Application> callback)update an OAuth2 Application, this includes regenerating the client secret (asynchronously)com.squareup.okhttp.CalluserUpdateOAuth2ApplicationCall(java.lang.Long id, CreateOAuth2ApplicationOptions body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userUpdateOAuth2ApplicationApiResponse<OAuth2Application>userUpdateOAuth2ApplicationWithHttpInfo(java.lang.Long id, CreateOAuth2ApplicationOptions body)update an OAuth2 Application, this includes regenerating the client secretGPGKeyuserVerifyGPGKey()Verify a GPG keycom.squareup.okhttp.CalluserVerifyGPGKeyAsync(ApiCallback<GPGKey> callback)Verify a GPG key (asynchronously)com.squareup.okhttp.CalluserVerifyGPGKeyCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for userVerifyGPGKeyApiResponse<GPGKey>userVerifyGPGKeyWithHttpInfo()Verify a GPG key
-
Constructor Details
-
Method Details
-
getApiClient
-
setApiClient
-
createCurrentUserRepoCall
public com.squareup.okhttp.Call createCurrentUserRepoCall(CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for createCurrentUserRepo- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createCurrentUserRepo
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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionBuild call for getUserSettings- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getUserSettings
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
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 ApiExceptionGet 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 ApiExceptionBuild call for getVerificationToken- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getVerificationToken
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
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 ApiExceptionGet 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 ApiExceptionBuild call for updateUserSettings- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 ApiExceptionBuild call for userAddEmail- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userAddEmail
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 ApiExceptionAdd 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 ApiExceptionAdd 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 ApiExceptionBuild call for userCheckFollowing- Parameters:
follower- username of following user (required)followee- username of followed user (required)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionCheck 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 ApiExceptionCheck 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 ApiExceptionCheck 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 ApiExceptionBuild call for userCreateOAuth2Application- Parameters:
body- (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCreateOAuth2Application
public OAuth2Application userCreateOAuth2Application(CreateOAuth2ApplicationOptions body) throws ApiExceptioncreates 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 ApiExceptioncreates 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 ApiExceptioncreates 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 ApiExceptionBuild call for userCreateToken- Parameters:
username- username of user (required)userCreateToken- (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionBuild call for userCurrentCheckFollowing- Parameters:
username- username of followed user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentCheckFollowing
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 ApiExceptionCheck 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 ApiExceptionCheck 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 ApiExceptionBuild call for userCurrentCheckStarring- Parameters:
owner- owner of the repo (required)repo- name of the repo (required)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionWhether 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 ApiExceptionWhether 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 ApiExceptionWhether 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 ApiExceptionBuild call for userCurrentDeleteFollow- Parameters:
username- username of user to unfollow (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentDeleteFollow
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 ApiExceptionUnfollow 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 ApiExceptionUnfollow 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 ApiExceptionBuild call for userCurrentDeleteGPGKey- Parameters:
id- id of key to delete (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentDeleteGPGKey
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 ApiExceptionRemove 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 ApiExceptionRemove 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 ApiExceptionBuild call for userCurrentDeleteKey- Parameters:
id- id of key to delete (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentDeleteKey
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 ApiExceptionDelete 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 ApiExceptionDelete 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 ApiExceptionBuild call for userCurrentDeleteStar- Parameters:
owner- owner of the repo to unstar (required)repo- name of the repo to unstar (required)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionUnstar 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 ApiExceptionUnstar 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 ApiExceptionUnstar 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 ApiExceptionBuild call for userCurrentGetGPGKey- Parameters:
id- id of key to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentGetGPGKey
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
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 ApiExceptionGet 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 ApiExceptionBuild call for userCurrentGetKey- Parameters:
id- id of key to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentGetKey
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
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 ApiExceptionGet 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 ApiExceptionBuild call for userCurrentListFollowers- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userCurrentListFollowing- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userCurrentListGPGKeys- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userCurrentListRepos- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userCurrentListStarred- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionThe 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 ApiExceptionThe 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 ApiExceptionThe 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 ApiExceptionBuild call for userCurrentListSubscriptions- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userCurrentPostGPGKey- Parameters:
form- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentPostGPGKey
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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionBuild call for userCurrentPostKey- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentPostKey
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 ApiExceptionCreate 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 ApiExceptionCreate 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 ApiExceptionBuild call for userCurrentPutFollow- Parameters:
username- username of user to follow (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentPutFollow
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 ApiExceptionFollow 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 ApiExceptionFollow 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 ApiExceptionBuild call for userCurrentPutStar- Parameters:
owner- owner of the repo to star (required)repo- name of the repo to star (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userCurrentPutStar
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 ApiExceptionStar 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 ApiExceptionStar 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptiondelete 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 ApiExceptiondelete 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 ApiExceptiondelete 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 ApiExceptionBuild call for userDeleteEmail- Parameters:
body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userDeleteEmail
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 ApiExceptionDelete 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 ApiExceptionDelete 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 ApiExceptionBuild call for userDeleteOAuth2Application- Parameters:
id- token to be deleted (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userDeleteOAuth2Application
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 ApiExceptiondelete 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 ApiExceptiondelete 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 ApiExceptionBuild call for userGet- Parameters:
username- username of user to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userGet
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
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 ApiExceptionGet 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 ApiExceptionBuild call for userGetCurrent- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userGetCurrent
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
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 ApiExceptionGet 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 ApiExceptionBuild call for userGetHeatmapData- Parameters:
username- username of user to get (required)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionBuild call for userGetOAuth2Application- Parameters:
id- Application ID to be found (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userGetOAuth2Application
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 ApiExceptionget 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 ApiExceptionget 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 ApiExceptionBuild call for userGetOauth2Application- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userGetStopWatches- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userListEmails- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userListEmails
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
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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionThe 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 ApiExceptionThe 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 ApiExceptionThe 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild call for userListTeams- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionBuild 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 listenerprogressRequestListener- 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 ApiExceptionSearch 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 ApiExceptionSearch 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 ApiExceptionSearch 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 ApiExceptionBuild call for userUpdateOAuth2Application- Parameters:
id- application to be updated (required)body- (required)progressListener- Progress listenerprogressRequestListener- 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 ApiExceptionupdate 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 ApiExceptionupdate 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 ApiExceptionupdate 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 ApiExceptionBuild call for userVerifyGPGKey- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
userVerifyGPGKey
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
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 ApiExceptionVerify 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
-