Class PubSubResponse

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

public class PubSubResponse extends Object
  • Constructor Details

    • PubSubResponse

      public PubSubResponse()
  • Method Details

    • getType

      public PubSubType getType()
      Action Type
    • getNonce

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

      public String getError()
      Error
    • getData

      public PubSubResponsePayload getData()
      Payload
    • setType

      public void setType(PubSubType type)
      Action Type
    • setNonce

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

      public void setError(String error)
      Error
    • setData

      public void setData(PubSubResponsePayload data)
      Payload
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object