public class RequestsApi extends Object
| Constructor and Description |
|---|
RequestsApi(ApiClient api)
RequestsApi constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Request> |
all()
all is used to get a list of all requests.
|
List<Request> |
all(Options options)
all is used to get a list of all requests.
|
Request |
get(long id)
get a request by the id.
|
Request |
get(long id,
Options options)
get a request by the id.
|
public RequestsApi(ApiClient api)
api - ApiClient.public List<Request> all() throws IOException
IOExceptionpublic List<Request> all(Options options) throws IOException
options - which contain query parametersIOExceptionpublic Request get(long id) throws IOException
id - id of the request.IOExceptionpublic Request get(long id, Options options) throws IOException
id - id of the request.options - which contain query parametersIOExceptionCopyright © 2016. All rights reserved.