Interface AccountApi
- 
- All Known Implementing Classes:
- AccountApi.NotImplemented,- AccountApiImpl
 
 public interface AccountApi
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classAccountApi.NotImplementedA default implementation which allows source compatibility when adding new methods to the interface.
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getAccountInfo get() throws RestApiException - Throws:
- RestApiException
 
 - 
getActiveboolean getActive() throws RestApiException- Throws:
- RestApiException
 
 - 
setActivevoid setActive(boolean active) throws RestApiException- Throws:
- RestApiException
 
 - 
getAvatarUrlString getAvatarUrl(int size) throws RestApiException - Throws:
- RestApiException
 
 - 
getPreferencesGeneralPreferencesInfo getPreferences() throws RestApiException - Throws:
- RestApiException
 
 - 
setPreferencesGeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException - Throws:
- RestApiException
 
 - 
getDiffPreferencesDiffPreferencesInfo getDiffPreferences() throws RestApiException - Throws:
- RestApiException
 
 - 
setDiffPreferencesDiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException - Throws:
- RestApiException
 
 - 
getEditPreferencesEditPreferencesInfo getEditPreferences() throws RestApiException - Throws:
- RestApiException
 
 - 
setEditPreferencesEditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException - Throws:
- RestApiException
 
 - 
getWatchedProjectsList<ProjectWatchInfo> getWatchedProjects() throws RestApiException - Throws:
- RestApiException
 
 - 
setWatchedProjectsList<ProjectWatchInfo> setWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException - Throws:
- RestApiException
 
 - 
deleteWatchedProjectsvoid deleteWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException - Throws:
- RestApiException
 
 - 
starChangevoid starChange(String changeId) throws RestApiException - Throws:
- RestApiException
 
 - 
unstarChangevoid unstarChange(String changeId) throws RestApiException - Throws:
- RestApiException
 
 - 
setStarsvoid setStars(String changeId, StarsInput input) throws RestApiException - Throws:
- RestApiException
 
 - 
getStarsSortedSet<String> getStars(String changeId) throws RestApiException - Throws:
- RestApiException
 
 - 
getStarredChangesList<ChangeInfo> getStarredChanges() throws RestApiException - Throws:
- RestApiException
 
 - 
getGroupsList<GroupInfo> getGroups() throws RestApiException - Throws:
- RestApiException
 
 - 
getEmailsList<EmailInfo> getEmails() throws RestApiException - Throws:
- RestApiException
 
 - 
addEmailvoid addEmail(EmailInput input) throws RestApiException - Throws:
- RestApiException
 
 - 
deleteEmailvoid deleteEmail(String email) throws RestApiException - Throws:
- RestApiException
 
 - 
setStatusvoid setStatus(String status) throws RestApiException - Throws:
- RestApiException
 
 - 
listSshKeysList<SshKeyInfo> listSshKeys() throws RestApiException - Throws:
- RestApiException
 
 - 
addSshKeySshKeyInfo addSshKey(String key) throws RestApiException - Throws:
- RestApiException
 
 - 
deleteSshKeyvoid deleteSshKey(int seq) throws RestApiException- Throws:
- RestApiException
 
 - 
listGpgKeysMap<String,GpgKeyInfo> listGpgKeys() throws RestApiException - Throws:
- RestApiException
 
 - 
putGpgKeysMap<String,GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove) throws RestApiException - Throws:
- RestApiException
 
 - 
gpgKeyGpgKeyApi gpgKey(String id) throws RestApiException - Throws:
- RestApiException
 
 - 
listAgreementsList<AgreementInfo> listAgreements() throws RestApiException - Throws:
- RestApiException
 
 - 
signAgreementvoid signAgreement(String agreementName) throws RestApiException - Throws:
- RestApiException
 
 - 
indexvoid index() throws RestApiException- Throws:
- RestApiException
 
 - 
getExternalIdsList<AccountExternalIdInfo> getExternalIds() throws RestApiException - Throws:
- RestApiException
 
 - 
deleteExternalIdsvoid deleteExternalIds(List<String> externalIds) throws RestApiException - Throws:
- RestApiException
 
 - 
setNamevoid setName(String name) throws RestApiException - Throws:
- RestApiException
 
 - 
generateHttpPasswordString generateHttpPassword() throws RestApiException Generate a new HTTP password.- Returns:
- the generated password.
- Throws:
- RestApiException
 
 - 
setHttpPasswordString setHttpPassword(String httpPassword) throws RestApiException 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
 
 
- 
 
-