// Path: app/src/main/java/com/starter/data/remote/model/ContributorJson.java
// public final class ContributorJson {
//     private static final String LOGIN = "login";
//     private static final String CONTRIBUTIONS = "contributions";
//     private static final String AVATAR_URL = "avatar_url";
// 
//     @SerializedName(LOGIN) public final String login;
//     @SerializedName(CONTRIBUTIONS) public final int contributions;
//     @SerializedName(AVATAR_URL) public final String avatarUrl;
// 
//     public ContributorJson(final String login, final int contributions, final String avatarUrl) {
//         this.login = login;
//         this.contributions = contributions;
//         this.avatarUrl = avatarUrl;
//     }
// 
//     @Override
//     public boolean equals(final Object o) {
//         if (this == o) return true;
//         if (o == null || getClass() != o.getClass()) return false;
// 
//         final ContributorJson that = (ContributorJson) o;
// 
//         if (contributions != that.contributions) return false;
//         if (login != null ? !login.equals(that.login) : that.login != null) return false;
//         return avatarUrl != null ? avatarUrl.equals(that.avatarUrl) : that.avatarUrl == null;
//     }
// 
//     @Override
//     public int hashCode() {
//         int result = login != null ? login.hashCode() : 0;
//         result = 31 * result + contributions;
//         result = 31 * result + (avatarUrl != null ? avatarUrl.hashCode() : 0);
//         return result;
//     }
// 
//     public String getLogin() {
//         return login;
//     }
// 
//     public int getContributions() {
//         return contributions;
//     }
// 
//     public String getAvatarUrl() {
//         return avatarUrl;
//     }
// }


import com.starter.data.remote.model.ContributorJson;
import java.util.List;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;
package com.starter.data.remote;


public interface GithubApi {
    @GET("/repos/{owner}/{repo}/contributors")
// Path: app/src/main/java/com/starter/data/remote/model/ContributorJson.java
// public final class ContributorJson {
//     private static final String LOGIN = "login";
//     private static final String CONTRIBUTIONS = "contributions";
//     private static final String AVATAR_URL = "avatar_url";
// 
//     @SerializedName(LOGIN) public final String login;
//     @SerializedName(CONTRIBUTIONS) public final int contributions;
//     @SerializedName(AVATAR_URL) public final String avatarUrl;
// 
//     public ContributorJson(final String login, final int contributions, final String avatarUrl) {
//         this.login = login;
//         this.contributions = contributions;
//         this.avatarUrl = avatarUrl;
//     }
// 
//     @Override
//     public boolean equals(final Object o) {
//         if (this == o) return true;
//         if (o == null || getClass() != o.getClass()) return false;
// 
//         final ContributorJson that = (ContributorJson) o;
// 
//         if (contributions != that.contributions) return false;
//         if (login != null ? !login.equals(that.login) : that.login != null) return false;
//         return avatarUrl != null ? avatarUrl.equals(that.avatarUrl) : that.avatarUrl == null;
//     }
// 
//     @Override
//     public int hashCode() {
//         int result = login != null ? login.hashCode() : 0;
//         result = 31 * result + contributions;
//         result = 31 * result + (avatarUrl != null ? avatarUrl.hashCode() : 0);
//         return result;
//     }
// 
//     public String getLogin() {
//         return login;
//     }
// 
//     public int getContributions() {
//         return contributions;
//     }
// 
//     public String getAvatarUrl() {
//         return avatarUrl;
//     }
// }


// Path: app/src/main/java/com/starter/data/remote/GithubApi.java
import com.starter.data.remote.model.ContributorJson;
import java.util.List;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;

package com.starter.data.remote;


public interface GithubApi {
    @GET("/repos/{owner}/{repo}/contributors")
    Observable<Response<List<ContributorJson>>> contributors(@Path("owner") String owner,