// Path: onenotevos/src/main/java/com/microsoft/onenotevos/Page.java
// public class Page extends BaseVO {
//     public String title;
//     public String contentUrl;
// }


import com.microsoft.onenotevos.Envelope;
import com.microsoft.onenotevos.Page;
import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.Body;
import retrofit.http.DELETE;
import retrofit.http.GET;
import retrofit.http.Header;
import retrofit.http.Multipart;
import retrofit.http.PATCH;
import retrofit.http.POST;
import retrofit.http.PartMap;
import retrofit.http.Path;
import retrofit.http.Query;
import retrofit.mime.TypedString;
/*
*  Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file.
*/

package com.microsoft.onenoteapi.service;



public interface PagesService {

    /**
     * Gets the collection of a users OneNote pages
     * Allows for query parameters to filter, order, sort... etc
     *
     * @param filter
     * @param order
     * @param select
     * @param top
     * @param skip
     * @param search
     * @param callback
     */
    @GET("/{version}/me/notes/pages")
    void getPages(
            @Path("version") String version,
            @Query("filter") String filter,
            @Query("orderby") String order,
            @Query("select") String select,
            @Query("top") Integer top,
            @Query("skip") Integer skip,
            @Query("search") String search,
// Path: onenotevos/src/main/java/com/microsoft/onenotevos/Page.java
// public class Page extends BaseVO {
//     public String title;
//     public String contentUrl;
// }


// Path: onenoteapi/src/main/java/com/microsoft/onenoteapi/service/PagesService.java
import com.microsoft.onenotevos.Envelope;
import com.microsoft.onenotevos.Page;
import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.Body;
import retrofit.http.DELETE;
import retrofit.http.GET;
import retrofit.http.Header;
import retrofit.http.Multipart;
import retrofit.http.PATCH;
import retrofit.http.POST;
import retrofit.http.PartMap;
import retrofit.http.Path;
import retrofit.http.Query;
import retrofit.mime.TypedString;

/*
*  Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file.
*/

package com.microsoft.onenoteapi.service;



public interface PagesService {

    /**
     * Gets the collection of a users OneNote pages
     * Allows for query parameters to filter, order, sort... etc
     *
     * @param filter
     * @param order
     * @param select
     * @param top
     * @param skip
     * @param search
     * @param callback
     */
    @GET("/{version}/me/notes/pages")
    void getPages(
            @Path("version") String version,
            @Query("filter") String filter,
            @Query("orderby") String order,
            @Query("select") String select,
            @Query("top") Integer top,
            @Query("skip") Integer skip,
            @Query("search") String search,
            Callback<Envelope<Page>> callback