package info.metadude.java.library.halfnarp;

import info.metadude.java.library.halfnarp.model.PostSuccessResponse;
import info.metadude.java.library.halfnarp.model.TalkIds;
import info.metadude.java.library.halfnarp.model.TalkPreferencesResponse;
import retrofit.Callback;
import retrofit.http.Body;
import retrofit.http.GET;
import retrofit.http.POST;

import java.util.List;

public interface TalkPreferencesService {

    @GET("/-/talkpreferences")
    public void getTalkPreferencesResponse(
            Callback<List<TalkPreferencesResponse>> talkPreferencesResponseCallback);

    // TODO: Handle post error response

    @POST("/-/talkpreferences")
    public void postTalkPreferences(@Body TalkIds talkIds, Callback<PostSuccessResponse> postResponseCallback);

    // TODO: Add PUT to update talk preferences

}

@@ -686,16 +686,29 @@
 erences(
+%0A            
 @Body Ta
@@ -721,16 +721,28 @@
 talkIds,
+%0A           
  Callbac

Improve formatting.