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, :primary]

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)


1498
1499
1500
1501
1502
1503
1504
# File 'lib/aws-sdk-identitystore/types.rb', line 1498

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

#typeString

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

Returns:

  • (String)


1498
1499
1500
1501
1502
1503
1504
# File 'lib/aws-sdk-identitystore/types.rb', line 1498

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

#valueString

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

Returns:

  • (String)


1498
1499
1500
1501
1502
1503
1504
# File 'lib/aws-sdk-identitystore/types.rb', line 1498

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