Current section
Files
Jump to
Current section
Files
lib/twilio/resources/api/v2010/outgoing_caller_id.ex
# File generated from Twilio's OpenAPI spec — do not edit manually
defmodule Twilio.Resources.Api.V2010.OutgoingCallerId do
@moduledoc """
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
An OutgoingCallerId resource represents a single verified number that may be used as a caller ID when making outgoing calls via the REST API and within the TwiML `<Dial>` verb.
SID prefix: `PN`
Parent: `/Accounts/{Sid}.json`
## Properties
| Field | Description |
|-------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `account_sid` | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OutgoingCallerId resource. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_created` | The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.. Format: date-time-rfc-2822 |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_updated` | The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.. Format: date-time-rfc-2822 |
| `friendly_name` | The string that you assigned to describe the resource.. PII: standard |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `phone_number` | The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.. Format: phone-number. PII: standard |
| `sid` | The unique string that that we created to identify the OutgoingCallerId resource. |
| `uri` | The URI of the resource, relative to `https://api.twilio.com`. |
"""
@type t :: %__MODULE__{
account_sid: String.t() | nil,
date_created: String.t() | nil,
date_updated: String.t() | nil,
friendly_name: String.t() | nil,
phone_number: String.t() | nil,
sid: String.t() | nil,
uri: String.t() | nil
}
defstruct [
:account_sid,
:date_created,
:date_updated,
:friendly_name,
:phone_number,
:sid,
:uri
]
@object_name "api.v2010.account.outgoing_caller_id"
def object_name, do: @object_name
@sid_prefix "PN"
def sid_prefix, do: @sid_prefix
end