Interface AccountApi
- All Known Implementing Classes:
AccountApi.NotImplemented
public interface AccountApi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A default implementation which allows source compatibility when adding new methods to the interface. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEmail
(EmailInput input) createEmail
(EmailInput emailInput) void
delete()
void
deleteEmail
(String email) void
deleteExternalIds
(List<String> externalIds) void
deleteSshKey
(int seq) void
detail()
Generate a new HTTP password.get()
boolean
getAvatarUrl
(int size) void
index()
putGpgKeys
(List<String> add, List<String> remove) void
setActive
(boolean active) void
setDisplayName
(String displayName) setHttpPassword
(String httpPassword) Set a new HTTP password.void
void
void
signAgreement
(String agreementName) void
starChange
(String changeId) void
unstarChange
(String changeId)
-
Method Details
-
get
- Throws:
RestApiException
-
detail
- Throws:
RestApiException
-
getActive
- Throws:
RestApiException
-
setActive
- Throws:
RestApiException
-
getAvatarUrl
- Throws:
RestApiException
-
getPreferences
- Throws:
RestApiException
-
setPreferences
- Throws:
RestApiException
-
getDiffPreferences
- Throws:
RestApiException
-
setDiffPreferences
- Throws:
RestApiException
-
getEditPreferences
- Throws:
RestApiException
-
setEditPreferences
- Throws:
RestApiException
-
getWatchedProjects
- Throws:
RestApiException
-
setWatchedProjects
- 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
- Throws:
RestApiException
-
gpgKey
- Throws:
RestApiException
-
listAgreements
- Throws:
RestApiException
-
signAgreement
- Throws:
RestApiException
-
index
- Throws:
RestApiException
-
getExternalIds
- Throws:
RestApiException
-
deleteExternalIds
- Throws:
RestApiException
-
deleteDraftComments
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,null
to remove the password.- Returns:
- the new password,
null
if the password was removed. - Throws:
RestApiException
-
delete
- Throws:
RestApiException
-