Class: DatadogAPIClient::V2::NotificationChannelPhoneConfig
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::NotificationChannelPhoneConfig
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/notification_channel_phone_config.rb
Overview
Phone notification channel configuration
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#formatted_number ⇒ Object
readonly
The formatted international version of Number (e.g. +33 7 1 23 45 67).
-
#number ⇒ Object
readonly
The E-164 formatted phone number (e.g. +3371234567).
-
#region ⇒ Object
readonly
The ISO 3166-1 alpha-2 two-letter country code.
-
#sms_subscribed_at ⇒ Object
If present, the date the user subscribed this number to SMS messages.
-
#type ⇒ Object
readonly
Indicates that the notification channel is a phone.
-
#verified ⇒ Object
readonly
Indicates whether this phone has been verified by the user in Datadog On-Call.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 42 def additional_properties @additional_properties end |
#formatted_number ⇒ Object
The formatted international version of Number (e.g. +33 7 1 23 45 67).
25 26 27 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 25 def formatted_number @formatted_number end |
#number ⇒ Object
The E-164 formatted phone number (e.g. +3371234567)
28 29 30 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 28 def number @number end |
#region ⇒ Object
The ISO 3166-1 alpha-2 two-letter country code.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 31 def region @region end |
#sms_subscribed_at ⇒ Object
If present, the date the user subscribed this number to SMS messages
34 35 36 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 34 def sms_subscribed_at @sms_subscribed_at end |
#type ⇒ Object
Indicates that the notification channel is a phone
37 38 39 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 37 def type @type end |
#verified ⇒ Object
Indicates whether this phone has been verified by the user in Datadog On-Call
40 41 42 |
# File 'lib/datadog_api_client/v2/models/notification_channel_phone_config.rb', line 40 def verified @verified end |