public static class AccountApi.NotImplemented extends java.lang.Object implements AccountApi
AccountApi.NotImplemented
Constructor and Description |
---|
NotImplemented() |
Modifier and Type | Method and Description |
---|---|
void |
addEmail(EmailInput input) |
SshKeyInfo |
addSshKey(java.lang.String key) |
EmailApi |
createEmail(EmailInput input) |
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) |
java.lang.String |
generateHttpPassword()
Generate a new HTTP password.
|
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) |
java.lang.String |
setHttpPassword(java.lang.String httpPassword)
Set a new HTTP password.
|
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) |
public AccountInfo get() throws RestApiException
get
in interface AccountApi
RestApiException
public AccountDetailInfo detail() throws RestApiException
detail
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<GroupInfo> getGroups() throws RestApiException
getGroups
in interface AccountApi
RestApiException
public java.util.List<EmailInfo> getEmails() throws RestApiException
getEmails
in interface AccountApi
RestApiException
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 EmailApi createEmail(EmailInput input) throws RestApiException
createEmail
in interface AccountApi
RestApiException
public EmailApi email(java.lang.String email) throws RestApiException
email
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> putGpgKeys(java.util.List<java.lang.String> add, java.util.List<java.lang.String> remove) throws RestApiException
putGpgKeys
in interface AccountApi
RestApiException
public GpgKeyApi gpgKey(java.lang.String id) throws RestApiException
gpgKey
in interface AccountApi
RestApiException
public java.util.Map<java.lang.String,GpgKeyInfo> listGpgKeys() throws RestApiException
listGpgKeys
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
public java.util.List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException
deleteDraftComments
in interface AccountApi
RestApiException
public void setName(java.lang.String name) throws RestApiException
setName
in interface AccountApi
RestApiException
public java.lang.String generateHttpPassword() throws RestApiException
AccountApi
generateHttpPassword
in interface AccountApi
RestApiException
public java.lang.String setHttpPassword(java.lang.String httpPassword) throws RestApiException
AccountApi
May only be invoked by administrators.
setHttpPassword
in interface AccountApi
httpPassword
- the new password, null
to remove the password.null
if the password was removed.RestApiException