public class AccountApiImpl extends Object implements com.google.gerrit.extensions.api.accounts.AccountApi
Modifier and Type | Method and Description |
---|---|
void |
addEmail(com.google.gerrit.extensions.api.accounts.EmailInput input) |
com.google.gerrit.extensions.common.AccountInfo |
get() |
com.google.gerrit.extensions.api.accounts.GpgKeyApi |
gpgKey(String id) |
Map<String,com.google.gerrit.extensions.common.GpgKeyInfo> |
listGpgKeys() |
Map<String,com.google.gerrit.extensions.common.GpgKeyInfo> |
putGpgKeys(List<String> add,
List<String> delete) |
void |
starChange(String id) |
void |
unstarChange(String id) |
public com.google.gerrit.extensions.common.AccountInfo get() throws com.google.gerrit.extensions.restapi.RestApiException
get
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public void starChange(String id) throws com.google.gerrit.extensions.restapi.RestApiException
starChange
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public void unstarChange(String id) throws com.google.gerrit.extensions.restapi.RestApiException
unstarChange
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public void addEmail(com.google.gerrit.extensions.api.accounts.EmailInput input) throws com.google.gerrit.extensions.restapi.RestApiException
addEmail
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public Map<String,com.google.gerrit.extensions.common.GpgKeyInfo> listGpgKeys() throws com.google.gerrit.extensions.restapi.RestApiException
listGpgKeys
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public Map<String,com.google.gerrit.extensions.common.GpgKeyInfo> putGpgKeys(List<String> add, List<String> delete) throws com.google.gerrit.extensions.restapi.RestApiException
putGpgKeys
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException
public com.google.gerrit.extensions.api.accounts.GpgKeyApi gpgKey(String id) throws com.google.gerrit.extensions.restapi.RestApiException
gpgKey
in interface com.google.gerrit.extensions.api.accounts.AccountApi
com.google.gerrit.extensions.restapi.RestApiException