public abstract class BaseRequest<T extends BaseResource> extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected PlivoClient |
plivoClient |
| Constructor and Description |
|---|
BaseRequest() |
| Modifier and Type | Method and Description |
|---|---|
PlivoClient |
client() |
BaseRequest |
client(PlivoClient plivoClient) |
protected void |
handleResponse(retrofit2.Response response) |
protected void |
validate() |
protected PlivoClient plivoClient
public BaseRequest()
public PlivoClient client()
public BaseRequest client(PlivoClient plivoClient)
protected void validate()
protected void handleResponse(retrofit2.Response response) throws PlivoRestException, java.io.IOException
PlivoRestExceptionjava.io.IOException