// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/base/bean/State.java
// public class State implements Serializable {
//     /**
//      * ok : 1
//      */
// 
//     private int ok;
// 
//     public int getOk() {
//         return ok;
//     }
// 
//     public void setOk(int ok) {
//         this.ok = ok;
//     }
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/notifications/bean/Count.java
// public class Count implements Serializable {
// 
//     private int count;  // 数值
// 
//     public int getCount() {
//         return count;
//     }
// 
//     public void setCount(int count) {
//         this.count = count;
//     }
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/notifications/bean/Notification.java
// public class Notification implements Serializable {
//     private int id;                 // notification id
//     private String type;            // 类型
//     private Boolean read;           // 是否已读
//     private User actor;             // 相关人员
//     private String mention_type;    // 提及类型
//     private Reply mention;          // 提及详情
//     private Topic topic;            // topic
//     private Reply reply;            // 回复
//     private Node node;              // 节点变更
//     private String created_at;      // 创建时间
//     private String updated_at;      // 更新时间
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setType(String type) {
//         this.type = type;
//     }
// 
//     public String getType() {
//         return this.type;
//     }
// 
//     public void setRead(Boolean read) {
//         this.read = read;
//     }
// 
//     public Boolean getRead() {
//         return this.read;
//     }
// 
//     public void setActor(User actor) {
//         this.actor = actor;
//     }
// 
//     public User getActor() {
//         return this.actor;
//     }
// 
//     public void setMention_type(String mention_type) {
//         this.mention_type = mention_type;
//     }
// 
//     public String getMention_type() {
//         return this.mention_type;
//     }
// 
//     public void setMention(Reply mention) {
//         this.mention = mention;
//     }
// 
//     public Reply getMention() {
//         return this.mention;
//     }
// 
//     public void setTopic(Topic topic) {
//         this.topic = topic;
//     }
// 
//     public Topic getTopic() {
//         return this.topic;
//     }
// 
//     public void setReply(Reply reply) {
//         this.reply = reply;
//     }
// 
//     public Reply getReply() {
//         return this.reply;
//     }
// 
//     public void setNode(Node node) {
//         this.node = node;
//     }
// 
//     public Node getNode() {
//         return this.node;
//     }
// 
//     public void setCreated_at(String created_at) {
//         this.created_at = created_at;
//     }
// 
//     public String getCreated_at() {
//         return this.created_at;
//     }
// 
//     public void setUpdated_at(String updated_at) {
//         this.updated_at = updated_at;
//     }
// 
//     public String getUpdated_at() {
//         return this.updated_at;
//     }
// 
// }


import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import com.gcssloop.diycode_sdk.api.base.bean.State;
import com.gcssloop.diycode_sdk.api.notifications.bean.Count;
import com.gcssloop.diycode_sdk.api.notifications.bean.Notification;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.DELETE;
/*
 * 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.notifications.api;




interface NotificationsService {

    /**
     * 获取通知列表
     *
     * @param offset 偏移数值，默认值 0
     * @param limit  数量极限，默认值 20，值范围 1..150
     * @return 通知列表
     */
    @GET("notifications.json")
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/base/bean/State.java
// public class State implements Serializable {
//     /**
//      * ok : 1
//      */
// 
//     private int ok;
// 
//     public int getOk() {
//         return ok;
//     }
// 
//     public void setOk(int ok) {
//         this.ok = ok;
//     }
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/notifications/bean/Count.java
// public class Count implements Serializable {
// 
//     private int count;  // 数值
// 
//     public int getCount() {
//         return count;
//     }
// 
//     public void setCount(int count) {
//         this.count = count;
//     }
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/notifications/bean/Notification.java
// public class Notification implements Serializable {
//     private int id;                 // notification id
//     private String type;            // 类型
//     private Boolean read;           // 是否已读
//     private User actor;             // 相关人员
//     private String mention_type;    // 提及类型
//     private Reply mention;          // 提及详情
//     private Topic topic;            // topic
//     private Reply reply;            // 回复
//     private Node node;              // 节点变更
//     private String created_at;      // 创建时间
//     private String updated_at;      // 更新时间
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setType(String type) {
//         this.type = type;
//     }
// 
//     public String getType() {
//         return this.type;
//     }
// 
//     public void setRead(Boolean read) {
//         this.read = read;
//     }
// 
//     public Boolean getRead() {
//         return this.read;
//     }
// 
//     public void setActor(User actor) {
//         this.actor = actor;
//     }
// 
//     public User getActor() {
//         return this.actor;
//     }
// 
//     public void setMention_type(String mention_type) {
//         this.mention_type = mention_type;
//     }
// 
//     public String getMention_type() {
//         return this.mention_type;
//     }
// 
//     public void setMention(Reply mention) {
//         this.mention = mention;
//     }
// 
//     public Reply getMention() {
//         return this.mention;
//     }
// 
//     public void setTopic(Topic topic) {
//         this.topic = topic;
//     }
// 
//     public Topic getTopic() {
//         return this.topic;
//     }
// 
//     public void setReply(Reply reply) {
//         this.reply = reply;
//     }
// 
//     public Reply getReply() {
//         return this.reply;
//     }
// 
//     public void setNode(Node node) {
//         this.node = node;
//     }
// 
//     public Node getNode() {
//         return this.node;
//     }
// 
//     public void setCreated_at(String created_at) {
//         this.created_at = created_at;
//     }
// 
//     public String getCreated_at() {
//         return this.created_at;
//     }
// 
//     public void setUpdated_at(String updated_at) {
//         this.updated_at = updated_at;
//     }
// 
//     public String getUpdated_at() {
//         return this.updated_at;
//     }
// 
// }


// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/notifications/api/NotificationsService.java
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import com.gcssloop.diycode_sdk.api.base.bean.State;
import com.gcssloop.diycode_sdk.api.notifications.bean.Count;
import com.gcssloop.diycode_sdk.api.notifications.bean.Notification;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.DELETE;

/*
 * 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.notifications.api;




interface NotificationsService {

    /**
     * 获取通知列表
     *
     * @param offset 偏移数值，默认值 0
     * @param limit  数量极限，默认值 20，值范围 1..150
     * @return 通知列表
     */
    @GET("notifications.json")
    Call<List<Notification>> getNotificationsList(@Query("offset") Integer offset,