Class PubSubRequest
java.lang.Object
com.github.twitch4j.pubsub.domain.PubSubRequest
PubSub Request
Will ignore null values when serializing the request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.github.philippheuer.credentialmanager.domain.OAuth2Credential
Credential forPubSubType.LISTEN
requests.getData()
Data (Body)getNonce()
Random string to identify the response associated with this request.getType()
Action Typeint
hashCode()
void
setCredential
(com.github.philippheuer.credentialmanager.domain.OAuth2Credential credential) Credential forPubSubType.LISTEN
requests.void
Data (Body)void
Random string to identify the response associated with this request.void
setType
(PubSubType type) Action TypetoString()
-
Constructor Details
-
PubSubRequest
public PubSubRequest()
-
-
Method Details
-
getType
Action Type -
getNonce
Random string to identify the response associated with this request. -
getData
Data (Body) -
getCredential
public com.github.philippheuer.credentialmanager.domain.OAuth2Credential getCredential()Credential forPubSubType.LISTEN
requests. -
setType
Action Type -
setNonce
Random string to identify the response associated with this request. -
setData
Data (Body) -
setCredential
public void setCredential(com.github.philippheuer.credentialmanager.domain.OAuth2Credential credential) Credential forPubSubType.LISTEN
requests. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-