Class: Aws::Connect::Types::EvaluationAnswerData

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

Overview

Note:

EvaluationAnswerData is a union - when making an API calls you must set exactly one of the members.

Note:

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

NotApplicable, NumericValue, StringValue, Unknown

Defined Under Namespace

Classes: NotApplicable, NumericValue, StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#not_applicableBoolean

The flag to mark the question as not applicable.

Returns:

  • (Boolean)


8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8098

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_valueFloat

The numeric value for an answer in a contact evaluation.

Returns:

  • (Float)


8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8098

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_valueString

The string value for an answer in a contact evaluation.

Returns:

  • (String)


8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8098

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



8098
8099
8100
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 8098

def unknown
  @unknown
end