public class AccountApiImpl extends java.lang.Object implements AccountApi
AccountApi.NotImplemented
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() |
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> delete) |
void |
setActive(boolean active) |
DiffPreferencesInfo |
setDiffPreferences(DiffPreferencesInfo in) |
EditPreferencesInfo |
setEditPreferences(EditPreferencesInfo in) |
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) |
public AccountInfo get() throws RestApiException
get
in interface AccountApi
RestApiException
public boolean getActive() throws RestApiException
getActive
in interface AccountApi
RestApiException
public void setActive(boolean active) throws RestApiException
setActive
in interface AccountApi
RestApiException
public java.lang.String getAvatarUrl(int size) throws RestApiException
getAvatarUrl
in interface AccountApi
RestApiException
public GeneralPreferencesInfo getPreferences() throws RestApiException
getPreferences
in interface AccountApi
RestApiException
public GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException
setPreferences
in interface AccountApi
RestApiException
public DiffPreferencesInfo getDiffPreferences() throws RestApiException
getDiffPreferences
in interface AccountApi
RestApiException
public DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException
setDiffPreferences
in interface AccountApi
RestApiException
public EditPreferencesInfo getEditPreferences() throws RestApiException
getEditPreferences
in interface AccountApi
RestApiException
public EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException
setEditPreferences
in interface AccountApi
RestApiException
public java.util.List<ProjectWatchInfo> getWatchedProjects() throws RestApiException
getWatchedProjects
in interface AccountApi
RestApiException
public java.util.List<ProjectWatchInfo> setWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
setWatchedProjects
in interface AccountApi
RestApiException
public void deleteWatchedProjects(java.util.List<ProjectWatchInfo> in) throws RestApiException
deleteWatchedProjects
in interface AccountApi
RestApiException
public void starChange(java.lang.String changeId) throws RestApiException
starChange
in interface AccountApi
RestApiException
public void unstarChange(java.lang.String changeId) throws RestApiException
unstarChange
in interface AccountApi
RestApiException
public void setStars(java.lang.String changeId, StarsInput input) throws RestApiException
setStars
in interface AccountApi
RestApiException
public java.util.SortedSet<java.lang.String> getStars(java.lang.String changeId) throws RestApiException
getStars
in interface AccountApi
RestApiException
public java.util.List<ChangeInfo> getStarredChanges() throws RestApiException
getStarredChanges
in interface AccountApi
RestApiException
public java.util.List<EmailInfo> getEmails()
getEmails
in interface AccountApi
public void addEmail(EmailInput input) throws RestApiException
addEmail
in interface AccountApi
RestApiException
public void deleteEmail(java.lang.String email) throws RestApiException
deleteEmail
in interface AccountApi
RestApiException
public void setStatus(java.lang.String status) throws RestApiException
setStatus
in interface AccountApi
RestApiException
public java.util.List<SshKeyInfo> listSshKeys() throws RestApiException
listSshKeys
in interface AccountApi
RestApiException
public SshKeyInfo addSshKey(java.lang.String key) throws RestApiException
addSshKey
in interface AccountApi
RestApiException
public void deleteSshKey(int seq) throws RestApiException
deleteSshKey
in interface AccountApi
RestApiException
public java.util.Map<java.lang.String,GpgKeyInfo> listGpgKeys() throws RestApiException
listGpgKeys
in interface AccountApi
RestApiException
public java.util.Map<java.lang.String,GpgKeyInfo> putGpgKeys(java.util.List<java.lang.String> add, java.util.List<java.lang.String> delete) throws RestApiException
putGpgKeys
in interface AccountApi
RestApiException
public GpgKeyApi gpgKey(java.lang.String id) throws RestApiException
gpgKey
in interface AccountApi
RestApiException
public java.util.List<AgreementInfo> listAgreements() throws RestApiException
listAgreements
in interface AccountApi
RestApiException
public void signAgreement(java.lang.String agreementName) throws RestApiException
signAgreement
in interface AccountApi
RestApiException
public void index() throws RestApiException
index
in interface AccountApi
RestApiException
public java.util.List<AccountExternalIdInfo> getExternalIds() throws RestApiException
getExternalIds
in interface AccountApi
RestApiException
public void deleteExternalIds(java.util.List<java.lang.String> externalIds) throws RestApiException
deleteExternalIds
in interface AccountApi
RestApiException