com.plivo.api.models.application.ApplicationGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plivo-java Show documentation
Show all versions of plivo-java Show documentation
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
package com.plivo.api.models.application;
import com.plivo.api.models.base.VoiceGetter;
import retrofit2.Call;
public class ApplicationGetter extends VoiceGetter {
public ApplicationGetter(String id) {
super(id);
}
@Override
protected Call obtainCall() {
return client().getVoiceApiService().applicationGet(client().getAuthId(), id);
}
@Override
protected Call obtainFallback1Call() {
return client().getVoiceFallback1Service().applicationGet(client().getAuthId(), id);
}
@Override
protected Call obtainFallback2Call() {
return client().getVoiceFallback2Service().applicationGet(client().getAuthId(), id);
}
}