Interface AccountApi
- All Known Implementing Classes:
- AccountApi.NotImplemented
public interface AccountApi
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classA default implementation which allows source compatibility when adding new methods to the interface.
- 
Method SummaryModifier 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- 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
 
- 
deleteDraftCommentsList<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException - Throws:
- RestApiException
 
- 
setName- Throws:
- RestApiException
 
- 
generateHttpPasswordGenerate a new HTTP password.- Returns:
- the generated password.
- Throws:
- RestApiException
 
- 
setHttpPasswordSet 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
 
 
-