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