// Path: app/src/main/java/com/ge/protein/data/model/Followee.java
// @AutoValue
// public abstract class Followee implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract User followee();
// 
//     public static TypeAdapter<Followee> typeAdapter(Gson gson) {
//         return new AutoValue_Followee.GsonTypeAdapter(gson).nullSafe();
//     }
// 
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/Follower.java
// @AutoValue
// public abstract class Follower implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract User follower();
// 
//     public static TypeAdapter<Follower> typeAdapter(Gson gson) {
//         return new AutoValue_Follower.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/Shot.java
// @AutoValue
// public abstract class Shot implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String title();
// 
//     @Nullable
//     public abstract String description();
// 
//     public abstract int width();
// 
//     public abstract int height();
// 
//     public abstract Images images();
// 
//     public abstract long views_count();
// 
//     public abstract long likes_count();
// 
//     public abstract long comments_count();
// 
//     public abstract long attachments_count();
// 
//     public abstract long rebounds_count();
// 
//     public abstract long buckets_count();
// 
//     public abstract Date created_at();
// 
//     public abstract Date updated_at();
// 
//     public abstract String html_url();
// 
//     public abstract String attachments_url();
// 
//     public abstract String buckets_url();
// 
//     public abstract String comments_url();
// 
//     public abstract String likes_url();
// 
//     public abstract String projects_url();
// 
//     public abstract String rebounds_url();
// 
//     public abstract boolean animated();
// 
//     public abstract List<String> tags();
// 
//     @Nullable
//     public abstract User user();
// 
//     @Nullable
//     public abstract Team team();
// 
//     public abstract Shot withUser(User user);
// 
//     public abstract Shot withLikesCount(long likes_count);
// 
//     public static TypeAdapter<Shot> typeAdapter(Gson gson) {
//         return new AutoValue_Shot.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/ShotLike.java
// @AutoValue
// public abstract class ShotLike implements Parcelable {
// 
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract Shot shot();
// 
//     public static TypeAdapter<ShotLike> typeAdapter(Gson gson) {
//         return new AutoValue_ShotLike.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/User.java
// @AutoValue
// public abstract class User implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String name();
// 
//     public abstract String username();
// 
//     public abstract String html_url();
// 
//     public abstract String avatar_url();
// 
//     public abstract String bio();
// 
//     @Nullable
//     public abstract String location();
// 
//     public abstract Links links();
// 
//     public abstract long buckets_count();
// 
//     public abstract long comments_received_count();
// 
//     public abstract long followers_count();
// 
//     public abstract long followings_count();
// 
//     public abstract long likes_count();
// 
//     public abstract long likes_received_count();
// 
//     public abstract long projects_count();
// 
//     public abstract long rebounds_received_count();
// 
//     public abstract long shots_count();
// 
//     public abstract long teams_count();
// 
//     public abstract boolean can_upload_shot();
// 
//     public abstract String type();
// 
//     public abstract boolean pro();
// 
//     public abstract String buckets_url();
// 
//     public abstract String followers_url();
// 
//     public abstract String following_url();
// 
//     public abstract String likes_url();
// 
//     public abstract String shots_url();
// 
//     @Nullable
//     public abstract String teams_url();
// 
//     public abstract String created_at();
// 
//     public abstract String updated_at();
// 
//     public static TypeAdapter<User> typeAdapter(Gson gson) {
//         return new AutoValue_User.GsonTypeAdapter(gson).nullSafe();
//     }
// }


import retrofit2.http.Query;
import retrofit2.http.Url;
import com.ge.protein.data.model.Followee;
import com.ge.protein.data.model.Follower;
import com.ge.protein.data.model.Shot;
import com.ge.protein.data.model.ShotLike;
import com.ge.protein.data.model.User;
import java.util.List;
import io.reactivex.Observable;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.PUT;
import retrofit2.http.Path;
/*
 * Copyright 2017 Jiaheng Ge
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.ge.protein.data.api.service;




public interface UserService {

    @GET("/v1/user")
    Observable<Response<User>> getMe();

    @GET("/v1/users/{user_id}/shots")
// Path: app/src/main/java/com/ge/protein/data/model/Followee.java
// @AutoValue
// public abstract class Followee implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract User followee();
// 
//     public static TypeAdapter<Followee> typeAdapter(Gson gson) {
//         return new AutoValue_Followee.GsonTypeAdapter(gson).nullSafe();
//     }
// 
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/Follower.java
// @AutoValue
// public abstract class Follower implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract User follower();
// 
//     public static TypeAdapter<Follower> typeAdapter(Gson gson) {
//         return new AutoValue_Follower.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/Shot.java
// @AutoValue
// public abstract class Shot implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String title();
// 
//     @Nullable
//     public abstract String description();
// 
//     public abstract int width();
// 
//     public abstract int height();
// 
//     public abstract Images images();
// 
//     public abstract long views_count();
// 
//     public abstract long likes_count();
// 
//     public abstract long comments_count();
// 
//     public abstract long attachments_count();
// 
//     public abstract long rebounds_count();
// 
//     public abstract long buckets_count();
// 
//     public abstract Date created_at();
// 
//     public abstract Date updated_at();
// 
//     public abstract String html_url();
// 
//     public abstract String attachments_url();
// 
//     public abstract String buckets_url();
// 
//     public abstract String comments_url();
// 
//     public abstract String likes_url();
// 
//     public abstract String projects_url();
// 
//     public abstract String rebounds_url();
// 
//     public abstract boolean animated();
// 
//     public abstract List<String> tags();
// 
//     @Nullable
//     public abstract User user();
// 
//     @Nullable
//     public abstract Team team();
// 
//     public abstract Shot withUser(User user);
// 
//     public abstract Shot withLikesCount(long likes_count);
// 
//     public static TypeAdapter<Shot> typeAdapter(Gson gson) {
//         return new AutoValue_Shot.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/ShotLike.java
// @AutoValue
// public abstract class ShotLike implements Parcelable {
// 
// 
//     public abstract long id();
// 
//     public abstract String created_at();
// 
//     public abstract Shot shot();
// 
//     public static TypeAdapter<ShotLike> typeAdapter(Gson gson) {
//         return new AutoValue_ShotLike.GsonTypeAdapter(gson).nullSafe();
//     }
// }
// 
// Path: app/src/main/java/com/ge/protein/data/model/User.java
// @AutoValue
// public abstract class User implements Parcelable {
// 
//     public abstract long id();
// 
//     public abstract String name();
// 
//     public abstract String username();
// 
//     public abstract String html_url();
// 
//     public abstract String avatar_url();
// 
//     public abstract String bio();
// 
//     @Nullable
//     public abstract String location();
// 
//     public abstract Links links();
// 
//     public abstract long buckets_count();
// 
//     public abstract long comments_received_count();
// 
//     public abstract long followers_count();
// 
//     public abstract long followings_count();
// 
//     public abstract long likes_count();
// 
//     public abstract long likes_received_count();
// 
//     public abstract long projects_count();
// 
//     public abstract long rebounds_received_count();
// 
//     public abstract long shots_count();
// 
//     public abstract long teams_count();
// 
//     public abstract boolean can_upload_shot();
// 
//     public abstract String type();
// 
//     public abstract boolean pro();
// 
//     public abstract String buckets_url();
// 
//     public abstract String followers_url();
// 
//     public abstract String following_url();
// 
//     public abstract String likes_url();
// 
//     public abstract String shots_url();
// 
//     @Nullable
//     public abstract String teams_url();
// 
//     public abstract String created_at();
// 
//     public abstract String updated_at();
// 
//     public static TypeAdapter<User> typeAdapter(Gson gson) {
//         return new AutoValue_User.GsonTypeAdapter(gson).nullSafe();
//     }
// }


// Path: app/src/main/java/com/ge/protein/data/api/service/UserService.java
import retrofit2.http.Query;
import retrofit2.http.Url;
import com.ge.protein.data.model.Followee;
import com.ge.protein.data.model.Follower;
import com.ge.protein.data.model.Shot;
import com.ge.protein.data.model.ShotLike;
import com.ge.protein.data.model.User;
import java.util.List;
import io.reactivex.Observable;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.PUT;
import retrofit2.http.Path;

/*
 * Copyright 2017 Jiaheng Ge
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.ge.protein.data.api.service;




public interface UserService {

    @GET("/v1/user")
    Observable<Response<User>> getMe();

    @GET("/v1/users/{user_id}/shots")
    Observable<Response<List<Shot>>> listShotsForUser(@Path("user_id") long userId,