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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#numberString

The raw value of the phone number.

Returns:

  • (String)


3457
3458
3459
3460
3461
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 3457

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

#typeString

The type of the phone number.

Returns:

  • (String)


3457
3458
3459
3460
3461
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 3457

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