Class: Telnyx::Models::NotificationSetting

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/notification_setting.rb

Overview

Direct Known Subclasses

NotificationSettingCreateParams

Defined Under Namespace

Modules: Status Classes: Parameter

Instance Attribute Summary collapse

Instance Method Summary collapse

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(name: nil, value: nil) ⇒ Object

Parameters:

  • name (String) (defaults to: nil)
  • value (String) (defaults to: nil)


# File 'lib/telnyx/models/notification_setting.rb', line 98

Instance Attribute Details

#notification_channel_idString?

A UUID reference to the associated Notification Channel.

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/notification_setting.rb', line 11

optional :notification_channel_id, String

#notification_event_condition_idString?

A UUID reference to the associated Notification Event Condition.

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/notification_setting.rb', line 17

optional :notification_event_condition_id, String

#notification_profile_idString?

A UUID reference to the associated Notification Profile.

Returns:

  • (String, nil)


23
# File 'lib/telnyx/models/notification_setting.rb', line 23

optional :notification_profile_id, String

#parametersArray<Telnyx::Models::NotificationSetting::Parameter>?



28
# File 'lib/telnyx/models/notification_setting.rb', line 28

optional :parameters, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::NotificationSetting::Parameter] }