Class: Telnyx::Models::NotificationEventListResponse

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

Overview

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, created_at: nil, enabled: nil, name: nil, notification_category: nil, updated_at: nil) ⇒ Object

An object representing the available notifications.

Parameters:

  • id (String) (defaults to: nil)

    A UUID.

  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • enabled (Boolean) (defaults to: nil)
  • name (String) (defaults to: nil)

    A human readable name.

  • notification_category (String) (defaults to: nil)
  • updated_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



# File 'lib/telnyx/models/notification_event_list_response.rb', line 43

Instance Attribute Details

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


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

optional :created_at, Time

#enabledBoolean?

Returns:

  • (Boolean, nil)


16
# File 'lib/telnyx/models/notification_event_list_response.rb', line 16

optional :enabled, Telnyx::Internal::Type::Boolean

#nameString?

A human readable name.

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/notification_event_list_response.rb', line 22

optional :name, String

#notification_categoryString?

Returns:

  • (String, nil)


27
# File 'lib/telnyx/models/notification_event_list_response.rb', line 27

optional :notification_category, String

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.

Returns:

  • (Time, nil)


33
# File 'lib/telnyx/models/notification_event_list_response.rb', line 33

optional :updated_at, Time