// Path: src/main/java/com/deswaef/twitch/api/streams/domain/StreamCheck.java
// public class StreamCheck {
// 
//     private TwitchStream stream;
// 
//     public boolean isOnline() {
//         return stream != null;
//     }
// 
//     public TwitchStream getStream() {
//         return stream;
//     }
// 
//     public void setStream(TwitchStream stream) {
//         this.stream = stream;
//     }
// }
// 
// Path: src/main/java/com/deswaef/twitch/api/streams/domain/Streams.java
// public class Streams {
//     private TwitchStream[] streams;
// 
//     public TwitchStream[] getStreams() {
//         return streams;
//     }
// 
//     public void setStreams(TwitchStream[] streams) {
//         this.streams = streams;
//     }
// 
//     @Override
//     public String toString() {
//         return "Streams{" +
//                 "streams=" + Arrays.toString(streams) +
//                 '}';
//     }
// }


import com.deswaef.twitch.api.streams.domain.StreamCheck;
import com.deswaef.twitch.api.streams.domain.Streams;
import retrofit.http.GET;
import retrofit.http.Path;
package com.deswaef.twitch.api.streams;


/**
 * User: Quinten
 * Date: 5-7-2015
 * Time: 00:58
 *
 * @author Quinten De Swaef
 */
public interface StreamService {

    @GET("/streams")
    Streams streams();

    @GET("/streams/{stream}")
// Path: src/main/java/com/deswaef/twitch/api/streams/domain/StreamCheck.java
// public class StreamCheck {
// 
//     private TwitchStream stream;
// 
//     public boolean isOnline() {
//         return stream != null;
//     }
// 
//     public TwitchStream getStream() {
//         return stream;
//     }
// 
//     public void setStream(TwitchStream stream) {
//         this.stream = stream;
//     }
// }
// 
// Path: src/main/java/com/deswaef/twitch/api/streams/domain/Streams.java
// public class Streams {
//     private TwitchStream[] streams;
// 
//     public TwitchStream[] getStreams() {
//         return streams;
//     }
// 
//     public void setStreams(TwitchStream[] streams) {
//         this.streams = streams;
//     }
// 
//     @Override
//     public String toString() {
//         return "Streams{" +
//                 "streams=" + Arrays.toString(streams) +
//                 '}';
//     }
// }


// Path: src/main/java/com/deswaef/twitch/api/streams/StreamService.java
import com.deswaef.twitch.api.streams.domain.StreamCheck;
import com.deswaef.twitch.api.streams.domain.Streams;
import retrofit.http.GET;
import retrofit.http.Path;

package com.deswaef.twitch.api.streams;


/**
 * User: Quinten
 * Date: 5-7-2015
 * Time: 00:58
 *
 * @author Quinten De Swaef
 */
public interface StreamService {

    @GET("/streams")
    Streams streams();

    @GET("/streams/{stream}")
    StreamCheck stream(@Path("stream") String stream);