Class: Telnyx::Models::NotificationSetting::Parameter

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

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(id: nil, associated_record_type: nil, associated_record_type_value: nil, created_at: nil, notification_channel_id: nil, notification_event_condition_id: nil, notification_profile_id: nil, parameters: nil, status: nil, updated_at: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    A UUID.

  • associated_record_type (String) (defaults to: nil)
  • associated_record_type_value (String) (defaults to: nil)
  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • notification_channel_id (String) (defaults to: nil)

    A UUID reference to the associated Notification Channel.

  • notification_event_condition_id (String) (defaults to: nil)

    A UUID reference to the associated Notification Event Condition.

  • notification_profile_id (String) (defaults to: nil)

    A UUID reference to the associated Notification Profile.

  • parameters (Array<Telnyx::Models::NotificationSetting::Parameter>) (defaults to: nil)
  • status (Symbol, Telnyx::Models::NotificationSetting::Status) (defaults to: nil)

    Most preferences apply immediately; however, other may needs to propagate.

  • updated_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/telnyx/models/notification_setting.rb', line 87

class Parameter < Telnyx::Internal::Type::BaseModel
  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute value
  #
  #   @return [String, nil]
  optional :value, String

  # @!method initialize(name: nil, value: nil)
  #   @param name [String]
  #   @param value [String]
end

Instance Attribute Details

#nameString?

Returns:

  • (String, nil)


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

optional :name, String

#valueString?

Returns:

  • (String, nil)


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

optional :value, String