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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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)


9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 9502

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