T - The type of the resource.public abstract class Getter<T extends BaseResource> extends BaseRequest<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
| Constructor and Description |
|---|
Getter(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Actually get an instance of the resource.
|
protected abstract retrofit2.Call<T> |
obtainCall() |
client, client, handleResponse, validatepublic T get() throws java.io.IOException, PlivoRestException
java.io.IOExceptionPlivoRestExceptionprotected abstract retrofit2.Call<T> obtainCall()