Class: Pinnacle::Types::AttachWebhookParams

Inherits:
Internal::Types::Model show all
Extended by:
Internal::Types::Union
Defined in:
lib/pinnacle/types/attach_webhook_params.rb

Overview

Use this request to connect a webhook to your phone number and receive real-time event notifications. You can either attach one of your existing webhooks by providing its ID or create a new webhook by specifying its name, URL, and event type.

Method Summary

Methods included from Internal::Types::Union

coerce, discriminant, load, member, member?, members

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Constructor Details

This class inherits a constructor from Pinnacle::Internal::Types::Model