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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-identitystore/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)


1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

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)


1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

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)


1316
1317
1318
1319
1320
1321
1322
# File 'gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/types.rb', line 1316

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