Class: Aws::ConnectCases::Types::OperandTwo
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::OperandTwo
- Defined in:
- gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb
Overview
OperandTwo is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: BooleanValue, DoubleValue, EmptyValue, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
Boolean value type.
-
#double_value ⇒ Float
Double value type.
-
#empty_value ⇒ Types::EmptyOperandValue
Empty value type.
-
#string_value ⇒ String
String value type.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#boolean_value ⇒ Boolean
Boolean value type.
2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2480 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_value ⇒ Float
Double value type.
2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2480 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_value ⇒ Types::EmptyOperandValue
Empty value type.
2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2480 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_value ⇒ String
String value type.
2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2480 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
2480 2481 2482 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 2480 def unknown @unknown end |