// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/test/bean/Hello.java
// public class Hello implements Serializable {
// 
//     private int id;             // 当前用户唯一 id
//     private String login;       // 当前用户登录用户名
//     private String name;        // 当前用户昵称
//     private String avatar_url;  // 当前用户的头像链接
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setLogin(String login) {
//         this.login = login;
//     }
// 
//     public String getLogin() {
//         return this.login;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return this.name;
//     }
// 
//     public void setAvatar_url(String avatar_url) {
//         this.avatar_url = avatar_url;
//     }
// 
//     public String getAvatar_url() {
//         return this.avatar_url;
//     }
// 
//     @Override
//     public String toString() {
//         return "Hello{" +
//                 "id=" + id +
//                 ", login='" + login + '\'' +
//                 ", name='" + name + '\'' +
//                 ", avatar_url='" + avatar_url + '\'' +
//                 '}';
//     }
// }


import com.gcssloop.diycode_sdk.api.test.bean.Hello;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/*
 * Copyright 2017 GcsSloop
 *
 * 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.
 *
 * Last modified 2017-03-08 01:01:18
 *
 * GitHub:  https://github.com/GcsSloop
 * Website: http://www.gcssloop.com
 * Weibo:   http://weibo.com/GcsSloop
 */

package com.gcssloop.diycode_sdk.api.test.api;



interface TestService {

    //--- 测试接口 -------------------------------------------------------------------------------

    /**
     * 测试 token 是否正常
     *
     * @param limit 极限值
     * @return Hello 实体类
     */
    @GET("hello.json")
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/test/bean/Hello.java
// public class Hello implements Serializable {
// 
//     private int id;             // 当前用户唯一 id
//     private String login;       // 当前用户登录用户名
//     private String name;        // 当前用户昵称
//     private String avatar_url;  // 当前用户的头像链接
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setLogin(String login) {
//         this.login = login;
//     }
// 
//     public String getLogin() {
//         return this.login;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return this.name;
//     }
// 
//     public void setAvatar_url(String avatar_url) {
//         this.avatar_url = avatar_url;
//     }
// 
//     public String getAvatar_url() {
//         return this.avatar_url;
//     }
// 
//     @Override
//     public String toString() {
//         return "Hello{" +
//                 "id=" + id +
//                 ", login='" + login + '\'' +
//                 ", name='" + name + '\'' +
//                 ", avatar_url='" + avatar_url + '\'' +
//                 '}';
//     }
// }


// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/test/api/TestService.java
import com.gcssloop.diycode_sdk.api.test.bean.Hello;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/*
 * Copyright 2017 GcsSloop
 *
 * 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.
 *
 * Last modified 2017-03-08 01:01:18
 *
 * GitHub:  https://github.com/GcsSloop
 * Website: http://www.gcssloop.com
 * Weibo:   http://weibo.com/GcsSloop
 */

package com.gcssloop.diycode_sdk.api.test.api;



interface TestService {

    //--- 测试接口 -------------------------------------------------------------------------------

    /**
     * 测试 token 是否正常
     *
     * @param limit 极限值
     * @return Hello 实体类
     */
    @GET("hello.json")
    Call<Hello> hello(@Query("limit") Integer limit);