Package com.ngrok.definitions
Class EndpointWebhookValidation
java.lang.Object
com.ngrok.definitions.EndpointWebhookValidation
A class encapsulating the
EndpointWebhookValidation resource.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleantrueif the module will be applied to traffic,falseto disable.a string indicating which webhook provider will be sending webhooks to this endpoint.a string secret used to validate requests from the given provider.inthashCode()Creates a new builder for theEndpointWebhookValidationtype.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointWebhookValidationtype.- Returns:
- a new
EndpointWebhookValidation.Builder
-
getEnabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Returns:
- the value of the property as a
booleanwrapped in anOptional
-
getProvider
a string indicating which webhook provider will be sending webhooks to this endpoint. Value must be one of the supported providers:SLACK,SNS,STRIPE,GITHUB,TWILIO,SHOPIFY,GITLAB,INTERCOM,SENDGRID,XERO,PAGERDUTY.- Returns:
- the value of the property as a
String
-
getSecret
a string secret used to validate requests from the given provider. All providers except AWS SNS require a secret- Returns:
- the value of the property as a
String
-
equals
-
hashCode
public int hashCode() -
toString
-