// Path: rxuploader-sample/src/main/java/com/jagsaund/rxuploader/sample/model/wire/PhotosJSONModel.java
// @AutoValue
// public abstract class PhotosJSONModel {
//     @NonNull
//     public static TypeAdapter<PhotosJSONModel> typeAdapter(Gson gson) {
//         return new AutoValue_PhotosJSONModel.GsonTypeAdapter(gson);
//     }
// 
//     @SerializedName("photos")
//     public abstract List<PhotoJSONModel> photos();
// }
// 
// Path: rxuploader-sample/src/main/java/com/jagsaund/rxuploader/sample/model/wire/UploadPhotoJSONModel.java
// @AutoValue
// public abstract class UploadPhotoJSONModel {
//     @NonNull
//     public static TypeAdapter<UploadPhotoJSONModel> typeAdapter(Gson gson) {
//         return new AutoValue_UploadPhotoJSONModel.GsonTypeAdapter(gson);
//     }
// 
//     @SerializedName("photo")
//     public abstract PhotoJSONModel photo();
// }


import android.support.annotation.NonNull;
import com.jagsaund.rxuploader.sample.model.wire.PhotosJSONModel;
import com.jagsaund.rxuploader.sample.model.wire.UploadPhotoJSONModel;
import okhttp3.MultipartBody;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;
import rx.Observable;
package com.jagsaund.rxuploader.sample.service;


public interface ApiService {
    @NonNull
    @GET("v1/photos?feature=user")
// Path: rxuploader-sample/src/main/java/com/jagsaund/rxuploader/sample/model/wire/PhotosJSONModel.java
// @AutoValue
// public abstract class PhotosJSONModel {
//     @NonNull
//     public static TypeAdapter<PhotosJSONModel> typeAdapter(Gson gson) {
//         return new AutoValue_PhotosJSONModel.GsonTypeAdapter(gson);
//     }
// 
//     @SerializedName("photos")
//     public abstract List<PhotoJSONModel> photos();
// }
// 
// Path: rxuploader-sample/src/main/java/com/jagsaund/rxuploader/sample/model/wire/UploadPhotoJSONModel.java
// @AutoValue
// public abstract class UploadPhotoJSONModel {
//     @NonNull
//     public static TypeAdapter<UploadPhotoJSONModel> typeAdapter(Gson gson) {
//         return new AutoValue_UploadPhotoJSONModel.GsonTypeAdapter(gson);
//     }
// 
//     @SerializedName("photo")
//     public abstract PhotoJSONModel photo();
// }


// Path: rxuploader-sample/src/main/java/com/jagsaund/rxuploader/sample/service/ApiService.java
import android.support.annotation.NonNull;
import com.jagsaund.rxuploader.sample.model.wire.PhotosJSONModel;
import com.jagsaund.rxuploader.sample.model.wire.UploadPhotoJSONModel;
import okhttp3.MultipartBody;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;
import rx.Observable;

package com.jagsaund.rxuploader.sample.service;


public interface ApiService {
    @NonNull
    @GET("v1/photos?feature=user")
    Observable<PhotosJSONModel> getPhotos(@Query("username") @NonNull String username);