Class StreamResponse
- java.lang.Object
-
- com.github.gpluscb.ggjava.entity.AbstractGGEntity
-
- com.github.gpluscb.ggjava.entity.object.AbstractGGObject
-
- com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
-
- com.github.gpluscb.ggjava.entity.object.response.objects.StreamResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class StreamResponse extends AbstractGGResponseObject
A Stream object
-
-
Constructor Summary
Constructors Constructor Description StreamResponse()
StreamResponse(IDResponse id, BooleanResponse isOnline, StringResponse name, StreamTypeResponse type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDResponse
getId()
BooleanResponse
getIsOnline()
Whether the stream is currently live.StringResponse
getName()
The name of the streamStreamTypeResponse
getType()
The name of the external service providing this auth i.e.-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
checkProvided, isProvided
-
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntity
getGGEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntity
getGGEntityType
-
-
-
-
Constructor Detail
-
StreamResponse
public StreamResponse()
-
StreamResponse
public StreamResponse(IDResponse id, BooleanResponse isOnline, StringResponse name, StreamTypeResponse type)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getIsOnline
public BooleanResponse getIsOnline()
Whether the stream is currently live. May be slightly delayed.
-
getName
public StringResponse getName()
The name of the stream
-
getType
public StreamTypeResponse getType()
The name of the external service providing this auth i.e. "twitch"
-
-