Class PubSubResponse

java.lang.Object
com.github.twitch4j.pubsub.domain.PubSubResponse

public class PubSubResponse
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PubSubResponse()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    PubSubResponsePayload getData()
    Payload
    java.lang.String getError()
    Error
    java.lang.String getNonce()
    Random string to identify the response associated with this request.
    PubSubType getType()
    Action Type
    int hashCode()  
    void setData​(PubSubResponsePayload data)
    Payload
    void setError​(java.lang.String error)
    Error
    void setNonce​(java.lang.String nonce)
    Random string to identify the response associated with this request.
    void setType​(PubSubType type)
    Action Type
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PubSubResponse

      public PubSubResponse()
  • Method Details

    • getType

      public PubSubType getType()
      Action Type
    • getNonce

      public java.lang.String getNonce()
      Random string to identify the response associated with this request.
    • getError

      public java.lang.String getError()
      Error
    • getData

      public PubSubResponsePayload getData()
      Payload
    • setType

      public void setType​(PubSubType type)
      Action Type
    • setNonce

      public void setNonce​(java.lang.String nonce)
      Random string to identify the response associated with this request.
    • setError

      public void setError​(java.lang.String error)
      Error
    • setData

      public void setData​(PubSubResponsePayload data)
      Payload
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object