Package com.ngrok.definitions
Class EndpointWebhookValidation
java.lang.Object
com.ngrok.definitions.EndpointWebhookValidation
A class encapsulating the
EndpointWebhookValidation
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true
if the module will be applied to traffic,false
to 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.int
hashCode()
Creates a new builder for theEndpointWebhookValidation
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointWebhookValidation
type.- Returns:
- a new
EndpointWebhookValidation.Builder
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped 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
-