Phone with Type

June 5, 2026 ยท View on GitHub

The phone information.

Structure

PhoneWithType

Fields

NameTypeTagsDescriptionGetterSetter
PhoneTypePhoneTypeOptionalThe phone type.PhoneType getPhoneType()setPhoneType(PhoneType phoneType)
PhoneNumberPhoneNumberRequiredThe phone number in its canonical international E.164 numbering plan format.PhoneNumber getPhoneNumber()setPhoneNumber(PhoneNumber phoneNumber)

Example (as JSON)

{
  "phone_type": "PAGER",
  "phone_number": {
    "national_number": "national_number6"
  }
}