Class: Aws::PinpointSMSVoiceV2::Types::TemplateVariableMetadata

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

Overview

Contains metadata about a template variable.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_valueString

The default value for the variable.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the variable.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#max_lengthInteger

The maximum length for string variables.

Returns:

  • (Integer)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#max_valueInteger

The maximum value for numeric variables.

Returns:

  • (Integer)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#min_valueInteger

The minimum value for numeric variables.

Returns:

  • (Integer)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#patternString

The regex pattern the variable value must match.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#requiredBoolean

Whether the variable is required.

Returns:

  • (Boolean)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#sampleString

A sample value for the variable.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The source of the variable, either CUSTOMER or SYSTEM.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the variable.

Returns:

  • (String)


8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 8462

class TemplateVariableMetadata < Struct.new(
  :type,
  :required,
  :description,
  :max_length,
  :min_value,
  :max_value,
  :default_value,
  :pattern,
  :sample,
  :source)
  SENSITIVE = []
  include Aws::Structure
end