001package com.plivo.api.models.conference; 002 003import com.plivo.api.models.base.VoiceGetter; 004import retrofit2.Call; 005 006public class ConferenceListGetter extends VoiceGetter<ConferenceList> { 007 008 public ConferenceListGetter() { 009 super(""); 010 } 011 012 @Override 013 protected Call<ConferenceList> obtainCall() { 014 return client().getVoiceApiService().conferenceListGet(client().getAuthId()); 015 } 016 017 @Override 018 protected Call<ConferenceList> obtainFallback1Call() { 019 return client().getVoiceFallback1Service().conferenceListGet(client().getAuthId()); 020 } 021 022 @Override 023 protected Call<ConferenceList> obtainFallback2Call() { 024 return client().getVoiceFallback2Service().conferenceListGet(client().getAuthId()); 025 } 026}