Class: Aws::ConnectCases::Types::OperandTwo

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

Overview

Note:

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

Note:

OperandTwo is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OperandTwo corresponding to the set member.

Represents the right hand operand in the condition. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

Direct Known Subclasses

BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown

Defined Under Namespace

Classes: BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

Boolean value type.

Returns:

  • (Boolean)


2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2602

class OperandTwo < Struct.new(
  :string_value,
  :boolean_value,
  :double_value,
  :empty_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < OperandTwo; end
  class BooleanValue < OperandTwo; end
  class DoubleValue < OperandTwo; end
  class EmptyValue < OperandTwo; end
  class Unknown < OperandTwo; end
end

#double_valueFloat

Double value type.

Returns:

  • (Float)


2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2602

class OperandTwo < Struct.new(
  :string_value,
  :boolean_value,
  :double_value,
  :empty_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < OperandTwo; end
  class BooleanValue < OperandTwo; end
  class DoubleValue < OperandTwo; end
  class EmptyValue < OperandTwo; end
  class Unknown < OperandTwo; end
end

#empty_valueTypes::EmptyOperandValue

Empty value type.

Returns:

  • (Types::EmptyOperandValue)


2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2602

class OperandTwo < Struct.new(
  :string_value,
  :boolean_value,
  :double_value,
  :empty_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < OperandTwo; end
  class BooleanValue < OperandTwo; end
  class DoubleValue < OperandTwo; end
  class EmptyValue < OperandTwo; end
  class Unknown < OperandTwo; end
end

#string_valueString

String value type.

Returns:

  • (String)


2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2602

class OperandTwo < Struct.new(
  :string_value,
  :boolean_value,
  :double_value,
  :empty_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < OperandTwo; end
  class BooleanValue < OperandTwo; end
  class DoubleValue < OperandTwo; end
  class EmptyValue < OperandTwo; end
  class Unknown < OperandTwo; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2602
2603
2604
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2602

def unknown
  @unknown
end