Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 2.58 KB

File metadata and controls

40 lines (34 loc) · 2.58 KB

Bandwidth::LookupResult

Properties

Name Type Description Notes
phone_number String The telephone number in E.164 format. [optional]
line_type LineTypeEnum [optional]
messaging_provider String The messaging service provider of the telephone number. [optional]
voice_provider String The voice service provider of the telephone number. [optional]
country_code_a3 String The country code of the telephone number in ISO 3166-1 alpha-3 format. [optional]
deactivation_reporter String DNI-Only. The carrier that reported a deactivation event for this phone number. [optional]
deactivation_date String DNI-Only. The datetime the carrier reported a deactivation event. [optional]
deactivation_event DeactivationEventEnum [optional]
latest_message_delivery_status LatestMessageDeliveryStatusEnum [optional]
initial_message_delivery_status_date Date DNI-Only. The date the phone number entered the status described in `latestMessageDeliveryStatus`. Think of this as the "start time" for that status. Value resets every time the `latestMessageDeliveryStatus` changes. [optional]
latest_message_delivery_status_date Date DNI-Only. The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the `latestMessageDeliveryStatus` is. Value resets every time the `latestMessageDeliveryStatus` changes. [optional]
rcs_enabled Boolean RCS-Only. Indicates whether the phone number is capable of receiving RCS messages. Value will be null if account has RCS, but no value was returned. Absent when account does not have RCS. [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::LookupResult.new(
  phone_number: +10072904498,
  line_type: null,
  messaging_provider: Verizon Wireless,
  voice_provider: Verizon Wireless,
  country_code_a3: USA,
  deactivation_reporter: null,
  deactivation_date: 2025-06-20 18:35,
  deactivation_event: null,
  latest_message_delivery_status: null,
  initial_message_delivery_status_date: Fri Jun 20 00:00:00 UTC 2025,
  latest_message_delivery_status_date: Sat Jun 21 00:00:00 UTC 2025,
  rcs_enabled: true
)