Class: Aws::Connect::Types::EvaluationAnswerData
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::EvaluationAnswerData
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-connect/types.rb
Overview
EvaluationAnswerData is a union - when making an API calls you must set exactly one of the members.
EvaluationAnswerData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationAnswerData corresponding to the set member.
Information about answer data for a contact evaluation. Answer data must be either string, numeric, or not applicable.
Direct Known Subclasses
Defined Under Namespace
Classes: NotApplicable, NumericValue, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#not_applicable ⇒ Boolean
The flag to mark the question as not applicable.
-
#numeric_value ⇒ Float
The numeric value for an answer in a contact evaluation.
-
#string_value ⇒ String
The string value for an answer in a contact evaluation.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#not_applicable ⇒ Boolean
The flag to mark the question as not applicable.
8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 |
# File 'lib/aws-sdk-connect/types.rb', line 8575 class EvaluationAnswerData < Struct.new( :string_value, :numeric_value, :not_applicable, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < EvaluationAnswerData; end class NumericValue < EvaluationAnswerData; end class NotApplicable < EvaluationAnswerData; end class Unknown < EvaluationAnswerData; end end |
#numeric_value ⇒ Float
The numeric value for an answer in a contact evaluation.
8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 |
# File 'lib/aws-sdk-connect/types.rb', line 8575 class EvaluationAnswerData < Struct.new( :string_value, :numeric_value, :not_applicable, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < EvaluationAnswerData; end class NumericValue < EvaluationAnswerData; end class NotApplicable < EvaluationAnswerData; end class Unknown < EvaluationAnswerData; end end |
#string_value ⇒ String
The string value for an answer in a contact evaluation.
8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 |
# File 'lib/aws-sdk-connect/types.rb', line 8575 class EvaluationAnswerData < Struct.new( :string_value, :numeric_value, :not_applicable, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StringValue < EvaluationAnswerData; end class NumericValue < EvaluationAnswerData; end class NotApplicable < EvaluationAnswerData; end class Unknown < EvaluationAnswerData; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
8575 8576 8577 |
# File 'lib/aws-sdk-connect/types.rb', line 8575 def unknown @unknown end |