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) |
EmailApi |
createEmail(EmailInput emailInput) |
java.util.List<DeletedDraftCommentInfo> |
deleteDraftComments(DeleteDraftCommentsInput input) |
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) |
AccountDetailInfo |
detail() |
EmailApi |
email(java.lang.String email) |
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
RestApiExceptionAccountDetailInfo detail() throws RestApiException
RestApiExceptionboolean getActive()
throws RestApiException
RestApiExceptionvoid setActive(boolean active)
throws RestApiException
RestApiExceptionjava.lang.String getAvatarUrl(int size)
throws RestApiException
RestApiExceptionGeneralPreferencesInfo getPreferences() throws RestApiException
RestApiExceptionGeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException
RestApiExceptionDiffPreferencesInfo getDiffPreferences() throws RestApiException
RestApiExceptionDiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException
RestApiExceptionEditPreferencesInfo getEditPreferences() throws RestApiException
RestApiExceptionEditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException
RestApiExceptionjava.util.List<ProjectWatchInfo> getWatchedProjects() throws RestApiException
RestApiExceptionjava.util.List<ProjectWatchInfo> setWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
RestApiExceptionvoid deleteWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
RestApiExceptionvoid starChange(java.lang.String changeId)
throws RestApiException
RestApiExceptionvoid unstarChange(java.lang.String changeId)
throws RestApiException
RestApiExceptionvoid setStars(java.lang.String changeId,
StarsInput input)
throws RestApiException
RestApiExceptionjava.util.SortedSet<java.lang.String> getStars(java.lang.String changeId)
throws RestApiException
RestApiExceptionjava.util.List<ChangeInfo> getStarredChanges() throws RestApiException
RestApiExceptionjava.util.List<GroupInfo> getGroups() throws RestApiException
RestApiExceptionjava.util.List<EmailInfo> getEmails() throws RestApiException
RestApiExceptionvoid addEmail(EmailInput input) throws RestApiException
RestApiExceptionvoid deleteEmail(java.lang.String email)
throws RestApiException
RestApiExceptionEmailApi createEmail(EmailInput emailInput) throws RestApiException
RestApiExceptionEmailApi email(java.lang.String email) throws RestApiException
RestApiExceptionvoid setStatus(java.lang.String status)
throws RestApiException
RestApiExceptionjava.util.List<SshKeyInfo> listSshKeys() throws RestApiException
RestApiExceptionSshKeyInfo addSshKey(java.lang.String key) throws RestApiException
RestApiExceptionvoid deleteSshKey(int seq)
throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,GpgKeyInfo> listGpgKeys() throws RestApiException
RestApiExceptionjava.util.Map<java.lang.String,GpgKeyInfo> putGpgKeys(java.util.List<java.lang.String> add, java.util.List<java.lang.String> remove) throws RestApiException
RestApiExceptionGpgKeyApi gpgKey(java.lang.String id) throws RestApiException
RestApiExceptionjava.util.List<AgreementInfo> listAgreements() throws RestApiException
RestApiExceptionvoid signAgreement(java.lang.String agreementName)
throws RestApiException
RestApiExceptionvoid index()
throws RestApiException
RestApiExceptionjava.util.List<AccountExternalIdInfo> getExternalIds() throws RestApiException
RestApiExceptionvoid deleteExternalIds(java.util.List<java.lang.String> externalIds)
throws RestApiException
RestApiExceptionjava.util.List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException
RestApiExceptionvoid setName(java.lang.String name)
throws RestApiException
RestApiException