public class Libraryagent.Shelves.Books
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Libraryagent.Shelves.Books.Borrow |
class |
Libraryagent.Shelves.Books.Get |
class |
Libraryagent.Shelves.Books.LibraryagentReturn |
class |
Libraryagent.Shelves.Books.List |
Constructor and Description |
---|
Books() |
Modifier and Type | Method and Description |
---|---|
Libraryagent.Shelves.Books.Borrow |
borrow(java.lang.String name)
Borrow a book from the library.
|
Libraryagent.Shelves.Books.Get |
get(java.lang.String name)
Gets a book.
|
Libraryagent.Shelves.Books.LibraryagentReturn |
libraryagentReturn(java.lang.String name)
Return a book to the library.
|
Libraryagent.Shelves.Books.List |
list(java.lang.String parent)
Lists books in a shelf.
|
public Libraryagent.Shelves.Books.Borrow borrow(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the book to borrow.java.io.IOException
public Libraryagent.Shelves.Books.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the book to retrieve.java.io.IOException
public Libraryagent.Shelves.Books.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the shelf whose books we'd like to list.java.io.IOException
public Libraryagent.Shelves.Books.LibraryagentReturn libraryagentReturn(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the book to return.java.io.IOException