// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/model/JsonAnswer.java
// public class JsonAnswer {
// 
//     @SerializedName("new_entries")
//     @Expose
//     private NewEntries newEntries;
//     @SerializedName("league")
//     @Expose
//     private League league;
//     @SerializedName("standings")
//     @Expose
//     private Standings standings;
//     @SerializedName("update_status")
//     @Expose
//     private Integer updateStatus;
// 
//     public NewEntries getNewEntries() {
//         return newEntries;
//     }
// 
//     public void setNewEntries(NewEntries newEntries) {
//         this.newEntries = newEntries;
//     }
// 
//     public League getLeague() {
//         return league;
//     }
// 
//     public void setLeague(League league) {
//         this.league = league;
//     }
// 
//     public Standings getStandings() {
//         return standings;
//     }
// 
//     public void setStandings(Standings standings) {
//         this.standings = standings;
//     }
// 
//     public Integer getUpdateStatus() {
//         return updateStatus;
//     }
// 
//     public void setUpdateStatus(Integer updateStatus) {
//         this.updateStatus = updateStatus;
//     }
// 
// }


import com.example.anas.jsonsample.model.JsonAnswer;
import retrofit2.Call;
import retrofit2.http.GET;
package com.example.anas.jsonsample.service;


/**
 * Created by anas on 10/11/2017.
 */
public interface JsonService {

    @GET("/drf/leagues-classic-standings/624264?phase=1&le-page=1&ls-page=1")
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/model/JsonAnswer.java
// public class JsonAnswer {
// 
//     @SerializedName("new_entries")
//     @Expose
//     private NewEntries newEntries;
//     @SerializedName("league")
//     @Expose
//     private League league;
//     @SerializedName("standings")
//     @Expose
//     private Standings standings;
//     @SerializedName("update_status")
//     @Expose
//     private Integer updateStatus;
// 
//     public NewEntries getNewEntries() {
//         return newEntries;
//     }
// 
//     public void setNewEntries(NewEntries newEntries) {
//         this.newEntries = newEntries;
//     }
// 
//     public League getLeague() {
//         return league;
//     }
// 
//     public void setLeague(League league) {
//         this.league = league;
//     }
// 
//     public Standings getStandings() {
//         return standings;
//     }
// 
//     public void setStandings(Standings standings) {
//         this.standings = standings;
//     }
// 
//     public Integer getUpdateStatus() {
//         return updateStatus;
//     }
// 
//     public void setUpdateStatus(Integer updateStatus) {
//         this.updateStatus = updateStatus;
//     }
// 
// }


// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/service/JsonService.java
import com.example.anas.jsonsample.model.JsonAnswer;
import retrofit2.Call;
import retrofit2.http.GET;

package com.example.anas.jsonsample.service;


/**
 * Created by anas on 10/11/2017.
 */
public interface JsonService {

    @GET("/drf/leagues-classic-standings/624264?phase=1&le-page=1&ls-page=1")
    Call<JsonAnswer> getAnswers();