Class ProfileAuthorizationResponse
- 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.ProfileAuthorizationResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class ProfileAuthorizationResponse extends AbstractGGResponseObject
An OAuth ProfileAuthorization object
-
-
Constructor Summary
Constructors Constructor Description ProfileAuthorizationResponse()
ProfileAuthorizationResponse(IDResponse id, StringResponse externalId, StringResponse externalUsername, StreamResponse stream, AuthorizationTypeResponse type, StringResponse url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringResponse
getExternalId()
The id given by the external serviceStringResponse
getExternalUsername()
The username given by the external service (including discriminator if discord)IDResponse
getId()
StreamResponse
getStream()
AuthorizationTypeResponse
getType()
The name of the external service providing this auth i.e.StringResponse
getUrl()
-
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
-
ProfileAuthorizationResponse
public ProfileAuthorizationResponse()
-
ProfileAuthorizationResponse
public ProfileAuthorizationResponse(IDResponse id, StringResponse externalId, StringResponse externalUsername, StreamResponse stream, AuthorizationTypeResponse type, StringResponse url)
-
-
Method Detail
-
getId
public IDResponse getId()
-
getExternalId
public StringResponse getExternalId()
The id given by the external service
-
getExternalUsername
public StringResponse getExternalUsername()
The username given by the external service (including discriminator if discord)
-
getStream
public StreamResponse getStream()
-
getType
public AuthorizationTypeResponse getType()
The name of the external service providing this auth i.e. "twitch"
-
getUrl
public StringResponse getUrl()
-
-