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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb

Overview

Note:

When making an API call, you may pass PhoneNumber data as a 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.

Constant Summary collapse

SENSITIVE =
[:number, :type]

Instance Attribute Summary collapse

Instance Attribute Details

#numberString

The raw value of the phone number.

Returns:

  • (String)


3895
3896
3897
3898
3899
3900
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 3895

class PhoneNumber < Struct.new(
  :number,
  :type)
  SENSITIVE = [:number, :type]
  include Aws::Structure
end

#typeString

The type of the phone number.

Returns:

  • (String)


3895
3896
3897
3898
3899
3900
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 3895

class PhoneNumber < Struct.new(
  :number,
  :type)
  SENSITIVE = [:number, :type]
  include Aws::Structure
end