001package com.plivo.api.models.verify;
002
003import com.plivo.api.exceptions.PlivoValidationException;
004import com.plivo.api.models.base.VoiceDeleter;
005import okhttp3.ResponseBody;
006
007public class VerifiedCallerIdDeleter extends VoiceDeleter<Verify> {
008
009  public VerifiedCallerIdDeleter(String id) {
010    super(id);
011  }
012
013  @Override
014  protected retrofit2.Call<ResponseBody> obtainCall() throws PlivoValidationException {
015    return client().getVoiceApiService().deleteVerifiedCallerID(client().getAuthId(), id);
016  }
017
018  @Override
019  protected retrofit2.Call<ResponseBody> obtainFallback1Call() throws PlivoValidationException {
020    return client().getVoiceFallback1Service().deleteVerifiedCallerID(client().getAuthId(), id);
021  }
022
023  @Override
024  protected retrofit2.Call<ResponseBody> obtainFallback2Call() throws PlivoValidationException {
025    return client().getVoiceFallback2Service().deleteVerifiedCallerID(client().getAuthId(), id);
026  }
027
028}