T - The type of the resource.public abstract class Deleter<T extends BaseResource> extends BaseRequest<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
plivoClient| Constructor and Description |
|---|
Deleter(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
Deleter<T> |
client(PlivoClient plivoClient) |
void |
delete()
Actually delete the resource.
|
protected abstract retrofit2.Call<okhttp3.ResponseBody> |
obtainCall() |
client, handleResponse, validateprotected java.lang.String id
public Deleter(java.lang.String id)
public void delete() throws java.io.IOException, PlivoRestException
java.io.IOExceptionPlivoRestExceptionpublic Deleter<T> client(PlivoClient plivoClient)
client in class BaseRequest<T extends BaseResource>protected abstract retrofit2.Call<okhttp3.ResponseBody> obtainCall()