CreateResponse - The type of the response.public abstract class VoiceCreator<CreateResponse extends BaseResponse> extends BaseRequest
plivoClient| Constructor and Description |
|---|
VoiceCreator() |
| Modifier and Type | Method and Description |
|---|---|
VoiceCreator<CreateResponse> |
client(PlivoClient plivoClient) |
CreateResponse |
create()
Actually create an instance of the resource.
|
protected abstract retrofit2.Call<CreateResponse> |
obtainCall() |
protected abstract retrofit2.Call<CreateResponse> |
obtainFallback1Call() |
protected abstract retrofit2.Call<CreateResponse> |
obtainFallback2Call() |
client, handleResponse, validatepublic VoiceCreator()
public CreateResponse create() throws java.io.IOException, PlivoRestException
java.io.IOExceptionPlivoRestExceptionpublic VoiceCreator<CreateResponse> client(PlivoClient plivoClient)
client in class BaseRequestprotected abstract retrofit2.Call<CreateResponse> obtainCall()
protected abstract retrofit2.Call<CreateResponse> obtainFallback1Call()
protected abstract retrofit2.Call<CreateResponse> obtainFallback2Call()