Class PatreonWebhookV2

java.lang.Object
com.patreonshout.beans.patreon_api.PatreonWebhookV2

public class PatreonWebhookV2
extends java.lang.Object
POJO that holds webhook information needed for debugging when using the Patreon api to send post information to our endpoint on post publish
  • Field Summary

    Fields
    Modifier and Type Field Description
    (package private) java.lang.String lastAttemptedAt
    lastAttemptedAt is the last date that the webhook was attempted or used
    (package private) java.lang.String numConsecutiveTimesFailed
    numConsecutiveTimesFailed is the number of times the webhook has failed consecutively, when in an error state
    (package private) java.lang.Boolean paused
    paused is true of the webhook is paused as a result of repeated failed attempts to post to the set uri, false to attempt to re-enable a previously failing webhook
    (package private) java.lang.String secret
    secret is the secret used to sign your webhook message body so you can validate authenticity upon receipt
    (package private) java.lang.String[] triggers
    triggers is a list of events that will triger the webhook
    (package private) java.lang.String uri
    uri is the fullly qualified uri where webhook will be sent
  • Constructor Summary

    Constructors
    Constructor Description
    PatreonWebhookV2()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • lastAttemptedAt

      java.lang.String lastAttemptedAt
      lastAttemptedAt is the last date that the webhook was attempted or used
    • numConsecutiveTimesFailed

      java.lang.String numConsecutiveTimesFailed
      numConsecutiveTimesFailed is the number of times the webhook has failed consecutively, when in an error state
    • paused

      java.lang.Boolean paused
      paused is true of the webhook is paused as a result of repeated failed attempts to post to the set uri, false to attempt to re-enable a previously failing webhook
    • secret

      java.lang.String secret
      secret is the secret used to sign your webhook message body so you can validate authenticity upon receipt
    • triggers

      java.lang.String[] triggers
      triggers is a list of events that will triger the webhook
    • uri

      java.lang.String uri
      uri is the fullly qualified uri where webhook will be sent
  • Constructor Details

    • PatreonWebhookV2

      public PatreonWebhookV2()