// Path: app/src/main/java/com/knight/arch/model/FirVersion.java
// public class FirVersion {
// 
//     @Expose
//     private String name;
//     @Expose
//     private Integer version;
//     @SerializedName("changelog")
//     @Expose
//     private String changeLog;
//     @Expose
//     private String versionShort;
//     @Expose
//     private String installUrl;
//     @SerializedName("update_url")
//     @Expose
//     private String updateUrl;
// 
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public Integer getVersion() {
//         return version;
//     }
// 
//     public void setVersion(Integer version) {
//         this.version = version;
//     }
// 
//     public String getChangeLog() {
//         return changeLog;
//     }
// 
//     public void setChangeLog(String changeLog) {
//         this.changeLog = changeLog;
//     }
// 
//     public String getVersionShort() {
//         return versionShort;
//     }
// 
//     public void setVersionShort(String versionShort) {
//         this.versionShort = versionShort;
//     }
// 
//     public String getInstallUrl() {
//         return installUrl;
//     }
// 
//     public void setInstallUrl(String installUrl) {
//         this.installUrl = installUrl;
//     }
// 
//     public String getUpdateUrl() {
//         return updateUrl;
//     }
// 
//     public void setUpdateUrl(String updateUrl) {
//         this.updateUrl = updateUrl;
//     }
// }


import com.knight.arch.model.FirVersion;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;
import rx.Observable;
/*
 *
 *  * Copyright (c) linroid 2015.
 *  *
 *  * 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.knight.arch.api;




public interface FirService {
    @GET("/apps/latest/{id}")
// Path: app/src/main/java/com/knight/arch/model/FirVersion.java
// public class FirVersion {
// 
//     @Expose
//     private String name;
//     @Expose
//     private Integer version;
//     @SerializedName("changelog")
//     @Expose
//     private String changeLog;
//     @Expose
//     private String versionShort;
//     @Expose
//     private String installUrl;
//     @SerializedName("update_url")
//     @Expose
//     private String updateUrl;
// 
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public Integer getVersion() {
//         return version;
//     }
// 
//     public void setVersion(Integer version) {
//         this.version = version;
//     }
// 
//     public String getChangeLog() {
//         return changeLog;
//     }
// 
//     public void setChangeLog(String changeLog) {
//         this.changeLog = changeLog;
//     }
// 
//     public String getVersionShort() {
//         return versionShort;
//     }
// 
//     public void setVersionShort(String versionShort) {
//         this.versionShort = versionShort;
//     }
// 
//     public String getInstallUrl() {
//         return installUrl;
//     }
// 
//     public void setInstallUrl(String installUrl) {
//         this.installUrl = installUrl;
//     }
// 
//     public String getUpdateUrl() {
//         return updateUrl;
//     }
// 
//     public void setUpdateUrl(String updateUrl) {
//         this.updateUrl = updateUrl;
//     }
// }


// Path: app/src/main/java/com/knight/arch/api/FirService.java
import com.knight.arch.model.FirVersion;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;
import rx.Observable;

/*
 *
 *  * Copyright (c) linroid 2015.
 *  *
 *  * 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.knight.arch.api;




public interface FirService {
    @GET("/apps/latest/{id}")
    Observable<FirVersion> checkVersion(@Path("id") String app_id, @Query(value = "api_token") String api_token);