You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AlexaForBusiness::Types::PhoneNumber

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PhoneNumber as input to an Aws::Client method, you can use a vanilla Hash:

{
  number: "RawPhoneNumber", # required
  type: "MOBILE", # required, accepts MOBILE, WORK, HOME
}

The phone number for the contact containing the raw number and phone number type.

Instance Attribute Summary collapse

Instance Attribute Details

#numberString

The raw value of the phone number.

Returns:

  • (String)

    The raw value of the phone number.

#typeString

The type of the phone number.

Possible values:

  • MOBILE
  • WORK
  • HOME

Returns:

  • (String)

    The type of the phone number.