Class: Telnyx::Models::NotificationChannel
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::NotificationChannel
- Defined in:
- lib/telnyx/models/notification_channel.rb
Overview
Direct Known Subclasses
NotificationChannelCreateParams, NotificationChannelUpdateParams
Defined Under Namespace
Modules: ChannelTypeID
Instance Attribute Summary collapse
-
#channel_destination ⇒ String?
The destination associated with the channel type.
-
#channel_type_id ⇒ Symbol, ...
A Channel Type ID.
-
#notification_profile_id ⇒ String?
A UUID reference to the associated Notification Profile.
Instance Method Summary collapse
-
#initialize(id: nil, channel_destination: nil, channel_type_id: nil, created_at: nil, notification_profile_id: nil, updated_at: nil) ⇒ Object
constructor
A Notification Channel.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, channel_destination: nil, channel_type_id: nil, created_at: nil, notification_profile_id: nil, updated_at: nil) ⇒ Object
A Notification Channel
|
|
# File 'lib/telnyx/models/notification_channel.rb', line 45
|
Instance Attribute Details
#channel_destination ⇒ String?
The destination associated with the channel type.
11 |
# File 'lib/telnyx/models/notification_channel.rb', line 11 optional :channel_destination, String |
#channel_type_id ⇒ Symbol, ...
A Channel Type ID
17 |
# File 'lib/telnyx/models/notification_channel.rb', line 17 optional :channel_type_id, enum: -> { Telnyx::NotificationChannel::ChannelTypeID } |
#notification_profile_id ⇒ String?
A UUID reference to the associated Notification Profile.
23 |
# File 'lib/telnyx/models/notification_channel.rb', line 23 optional :notification_profile_id, String |