public interface AccountApi
Modifier and Type | Interface and Description |
---|---|
static class |
AccountApi.NotImplemented
A default implementation which allows source compatibility when adding new methods to the
interface.
|
Modifier and Type | Method and Description |
---|---|
void |
addEmail(EmailInput input) |
SshKeyInfo |
addSshKey(java.lang.String key) |
void |
deleteEmail(java.lang.String email) |
void |
deleteExternalIds(java.util.List<java.lang.String> externalIds) |
void |
deleteSshKey(int seq) |
void |
deleteWatchedProjects(java.util.List<ProjectWatchInfo> in) |
AccountInfo |
get() |
boolean |
getActive() |
java.lang.String |
getAvatarUrl(int size) |
DiffPreferencesInfo |
getDiffPreferences() |
EditPreferencesInfo |
getEditPreferences() |
java.util.List<EmailInfo> |
getEmails() |
java.util.List<AccountExternalIdInfo> |
getExternalIds() |
java.util.List<GroupInfo> |
getGroups() |
GeneralPreferencesInfo |
getPreferences() |
java.util.List<ChangeInfo> |
getStarredChanges() |
java.util.SortedSet<java.lang.String> |
getStars(java.lang.String changeId) |
java.util.List<ProjectWatchInfo> |
getWatchedProjects() |
GpgKeyApi |
gpgKey(java.lang.String id) |
void |
index() |
java.util.List<AgreementInfo> |
listAgreements() |
java.util.Map<java.lang.String,GpgKeyInfo> |
listGpgKeys() |
java.util.List<SshKeyInfo> |
listSshKeys() |
java.util.Map<java.lang.String,GpgKeyInfo> |
putGpgKeys(java.util.List<java.lang.String> add,
java.util.List<java.lang.String> remove) |
void |
setActive(boolean active) |
DiffPreferencesInfo |
setDiffPreferences(DiffPreferencesInfo in) |
EditPreferencesInfo |
setEditPreferences(EditPreferencesInfo in) |
void |
setName(java.lang.String name) |
GeneralPreferencesInfo |
setPreferences(GeneralPreferencesInfo in) |
void |
setStars(java.lang.String changeId,
StarsInput input) |
void |
setStatus(java.lang.String status) |
java.util.List<ProjectWatchInfo> |
setWatchedProjects(java.util.List<ProjectWatchInfo> in) |
void |
signAgreement(java.lang.String agreementName) |
void |
starChange(java.lang.String changeId) |
void |
unstarChange(java.lang.String changeId) |
AccountInfo get() throws RestApiException
RestApiException
boolean getActive() throws RestApiException
RestApiException
void setActive(boolean active) throws RestApiException
RestApiException
java.lang.String getAvatarUrl(int size) throws RestApiException
RestApiException
GeneralPreferencesInfo getPreferences() throws RestApiException
RestApiException
GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException
RestApiException
DiffPreferencesInfo getDiffPreferences() throws RestApiException
RestApiException
DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException
RestApiException
EditPreferencesInfo getEditPreferences() throws RestApiException
RestApiException
EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException
RestApiException
java.util.List<ProjectWatchInfo> getWatchedProjects() throws RestApiException
RestApiException
java.util.List<ProjectWatchInfo> setWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
RestApiException
void deleteWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
RestApiException
void starChange(java.lang.String changeId) throws RestApiException
RestApiException
void unstarChange(java.lang.String changeId) throws RestApiException
RestApiException
void setStars(java.lang.String changeId, StarsInput input) throws RestApiException
RestApiException
java.util.SortedSet<java.lang.String> getStars(java.lang.String changeId) throws RestApiException
RestApiException
java.util.List<ChangeInfo> getStarredChanges() throws RestApiException
RestApiException
java.util.List<GroupInfo> getGroups() throws RestApiException
RestApiException
java.util.List<EmailInfo> getEmails() throws RestApiException
RestApiException
void addEmail(EmailInput input) throws RestApiException
RestApiException
void deleteEmail(java.lang.String email) throws RestApiException
RestApiException
void setStatus(java.lang.String status) throws RestApiException
RestApiException
java.util.List<SshKeyInfo> listSshKeys() throws RestApiException
RestApiException
SshKeyInfo addSshKey(java.lang.String key) throws RestApiException
RestApiException
void deleteSshKey(int seq) throws RestApiException
RestApiException
java.util.Map<java.lang.String,GpgKeyInfo> listGpgKeys() throws RestApiException
RestApiException
java.util.Map<java.lang.String,GpgKeyInfo> putGpgKeys(java.util.List<java.lang.String> add, java.util.List<java.lang.String> remove) throws RestApiException
RestApiException
GpgKeyApi gpgKey(java.lang.String id) throws RestApiException
RestApiException
java.util.List<AgreementInfo> listAgreements() throws RestApiException
RestApiException
void signAgreement(java.lang.String agreementName) throws RestApiException
RestApiException
void index() throws RestApiException
RestApiException
java.util.List<AccountExternalIdInfo> getExternalIds() throws RestApiException
RestApiException
void deleteExternalIds(java.util.List<java.lang.String> externalIds) throws RestApiException
RestApiException
void setName(java.lang.String name) throws RestApiException
RestApiException