Class: Aws::IdentityStore::Types::PhoneNumber

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-identitystore/types.rb

Overview

The phone number associated with the user.

Constant Summary collapse

SENSITIVE =
[:value, :type]

Instance Attribute Summary collapse

Instance Attribute Details

#primaryBoolean

A Boolean value representing whether this is the primary phone number for the associated resource.

Returns:

  • (Boolean)


1508
1509
1510
1511
1512
1513
1514
# File 'lib/aws-sdk-identitystore/types.rb', line 1508

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

#typeString

A string representing the type of a phone number. For example, “Mobile.”

Returns:

  • (String)


1508
1509
1510
1511
1512
1513
1514
# File 'lib/aws-sdk-identitystore/types.rb', line 1508

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

#valueString

A string containing a phone number. For example, “8675309” or “+1 (800) 123-4567”.

Returns:

  • (String)


1508
1509
1510
1511
1512
1513
1514
# File 'lib/aws-sdk-identitystore/types.rb', line 1508

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