Package com.bandwidth.sdk.model
Class WebhookSubscriptionRequestSchema
java.lang.Object
com.bandwidth.sdk.model.WebhookSubscriptionRequestSchema
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class WebhookSubscriptionRequestSchema
extends Object
WebhookSubscriptionRequestSchema
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbasicAuthentication
(TfvBasicAuthentication basicAuthentication) callbackUrl
(String callbackUrl) boolean
Create an instance of WebhookSubscriptionRequestSchema given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get basicAuthenticationCallback URL to receive status updates from Bandwidth.An ASCII string submitted by the user as a shared secret key for generating an HMAC header for callbacks.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
setBasicAuthentication
(TfvBasicAuthentication basicAuthentication) void
setCallbackUrl
(String callbackUrl) void
setSharedSecretKey
(String sharedSecretKey) sharedSecretKey
(String sharedSecretKey) toJson()
Convert an instance of WebhookSubscriptionRequestSchema to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_BASIC_AUTHENTICATION
- See Also:
-
SERIALIZED_NAME_CALLBACK_URL
- See Also:
-
SERIALIZED_NAME_SHARED_SECRET_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WebhookSubscriptionRequestSchema
public WebhookSubscriptionRequestSchema()
-
-
Method Details
-
basicAuthentication
public WebhookSubscriptionRequestSchema basicAuthentication(@Nullable TfvBasicAuthentication basicAuthentication) -
getBasicAuthentication
Get basicAuthentication- Returns:
- basicAuthentication
-
setBasicAuthentication
-
callbackUrl
-
getCallbackUrl
Callback URL to receive status updates from Bandwidth. When a webhook subscription is registered with Bandwidth under a given account ID, it will be used to send status updates for all requests submitted under that account ID.- Returns:
- callbackUrl
-
setCallbackUrl
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key
- name of the propertyvalue
- value of the property- Returns:
- the WebhookSubscriptionRequestSchema instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key
- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to WebhookSubscriptionRequestSchema
-
fromJson
Create an instance of WebhookSubscriptionRequestSchema given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of WebhookSubscriptionRequestSchema
- Throws:
IOException
- if the JSON string is invalid with respect to WebhookSubscriptionRequestSchema
-
toJson
Convert an instance of WebhookSubscriptionRequestSchema to an JSON string- Returns:
- JSON string
-