public abstract class Submitter<T extends BaseResponse> extends BaseRequest
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
plivoClient| Constructor and Description |
|---|
Submitter(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
Submitter<T> |
client(PlivoClient plivoClient) |
protected abstract retrofit2.Call<T> |
obtainCall() |
T |
submit()
Actually update the resource.
|
client, handleResponse, validateprotected java.lang.String id
public Submitter(java.lang.String id)
public T submit() throws java.io.IOException, PlivoRestException
java.io.IOExceptionPlivoRestExceptionpublic Submitter<T> client(PlivoClient plivoClient)
client in class BaseRequestprotected abstract retrofit2.Call<T> obtainCall()