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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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].

[1]: docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html

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)


2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'lib/aws-sdk-connectcases/types.rb', line 2433

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

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

#double_valueFloat

Double value type.

Returns:

  • (Float)


2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'lib/aws-sdk-connectcases/types.rb', line 2433

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

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

#empty_valueTypes::EmptyOperandValue

Empty value type.



2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'lib/aws-sdk-connectcases/types.rb', line 2433

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

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

#string_valueString

String value type.

Returns:

  • (String)


2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'lib/aws-sdk-connectcases/types.rb', line 2433

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2433
2434
2435
# File 'lib/aws-sdk-connectcases/types.rb', line 2433

def unknown
  @unknown
end