public class AddSshKey extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,AddSshKey.Input>
Modifier and Type | Class and Description |
---|---|
static class |
AddSshKey.Input |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.Response<GetSshKeys.SshKeyInfo> |
apply(AccountResource rsrc,
AddSshKey.Input input) |
com.google.gerrit.extensions.restapi.Response<GetSshKeys.SshKeyInfo> |
apply(IdentifiedUser user,
AddSshKey.Input input) |
public com.google.gerrit.extensions.restapi.Response<GetSshKeys.SshKeyInfo> apply(AccountResource rsrc, AddSshKey.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gwtorm.server.OrmException, java.io.IOException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,AddSshKey.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gwtorm.server.OrmException
java.io.IOException
public com.google.gerrit.extensions.restapi.Response<GetSshKeys.SshKeyInfo> apply(IdentifiedUser user, AddSshKey.Input input) throws com.google.gerrit.extensions.restapi.BadRequestException, com.google.gwtorm.server.OrmException, java.io.IOException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gwtorm.server.OrmException
java.io.IOException