Interface AccountApi
- All Known Implementing Classes:
AccountApi.NotImplemented
public interface AccountApi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA default implementation which allows source compatibility when adding new methods to the interface. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmail(EmailInput input) createEmail(EmailInput emailInput) voiddelete()voiddeleteEmail(String email) voiddeleteExternalIds(List<String> externalIds) voiddeleteSshKey(int seq) voiddetail()Generate a new HTTP password.get()booleangetAvatarUrl(int size) voidindex()putGpgKeys(List<String> add, List<String> remove) voidsetActive(boolean active) voidsetDisplayName(String displayName) setHttpPassword(String httpPassword) Set a new HTTP password.voidvoidvoidsignAgreement(String agreementName) voidstarChange(String changeId) voidunstarChange(String changeId)
-
Method Details
-
get
- Throws:
RestApiException
-
detail
- Throws:
RestApiException
-
getActive
- Throws:
RestApiException
-
setActive
- Throws:
RestApiException
-
getAvatarUrl
- Throws:
RestApiException
-
getPreferences
- Throws:
RestApiException
-
setPreferences
@CanIgnoreReturnValue GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException - Throws:
RestApiException
-
getDiffPreferences
- Throws:
RestApiException
-
setDiffPreferences
@CanIgnoreReturnValue DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException - Throws:
RestApiException
-
getEditPreferences
- Throws:
RestApiException
-
setEditPreferences
@CanIgnoreReturnValue EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException - Throws:
RestApiException
-
getWatchedProjects
- Throws:
RestApiException
-
setWatchedProjects
@CanIgnoreReturnValue List<ProjectWatchInfo> setWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException - Throws:
RestApiException
-
deleteWatchedProjects
- Throws:
RestApiException
-
starChange
- Throws:
RestApiException
-
unstarChange
- Throws:
RestApiException
-
getGroups
- Throws:
RestApiException
-
getEmails
- Throws:
RestApiException
-
addEmail
- Throws:
RestApiException
-
deleteEmail
- Throws:
RestApiException
-
createEmail
- Throws:
RestApiException
-
email
- Throws:
RestApiException
-
setStatus
- Throws:
RestApiException
-
setDisplayName
- Throws:
RestApiException
-
listSshKeys
- Throws:
RestApiException
-
addSshKey
- Throws:
RestApiException
-
deleteSshKey
- Throws:
RestApiException
-
listGpgKeys
- Throws:
RestApiException
-
putGpgKeys
@CanIgnoreReturnValue Map<String,GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove) throws RestApiException - Throws:
RestApiException
-
gpgKey
- Throws:
RestApiException
-
listAgreements
- Throws:
RestApiException
-
signAgreement
- Throws:
RestApiException
-
index
- Throws:
RestApiException
-
getExternalIds
- Throws:
RestApiException
-
deleteExternalIds
- Throws:
RestApiException
-
deleteDraftComments
@CanIgnoreReturnValue List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException - Throws:
RestApiException
-
setName
- Throws:
RestApiException
-
generateHttpPassword
Generate a new HTTP password.- Returns:
- the generated password.
- Throws:
RestApiException
-
setHttpPassword
Set a new HTTP password.May only be invoked by administrators.
- Parameters:
httpPassword- the new password,nullto remove the password.- Returns:
- the new password,
nullif the password was removed. - Throws:
RestApiException
-
delete
- Throws:
RestApiException
-