Merge pull request #145 from vijaykiran/master

Changed the response json attr selection according to the 2.2.12 API response.
This commit is contained in:
Adrian Cole 2011-11-14 09:24:02 -08:00
commit 16176c6d20
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public interface SSHKeyPairAsyncClient {
*/
@GET
@QueryParams(keys = "command", values = "listSSHKeyPairs")
@SelectJson("keypair")
@SelectJson("sshkeypair")
@Consumes(MediaType.APPLICATION_JSON)
@ExceptionParser(ReturnEmptySetOnNotFoundOr404.class)
ListenableFuture<Set<SshKeyPair>> listSSHKeyPairs(ListSSHKeyPairsOptions... options);
@ -81,7 +81,7 @@ public interface SSHKeyPairAsyncClient {
*/
@GET
@QueryParams(keys = "command", values = "listSSHKeyPairs")
@SelectJson("keypair")
@SelectJson("sshkeypair")
@OnlyElement()
@Consumes(MediaType.APPLICATION_JSON)
@ExceptionParser(ReturnNullOnNotFoundOr404.class)