Class: Aws::ConnectCases::Types::BooleanCondition
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectCases::Types::BooleanCondition
- Defined in:
- gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb
Overview
BooleanCondition is a union - when making an API calls you must set exactly one of the members.
BooleanCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of BooleanCondition corresponding to the set member.
Boolean condition for a rule. In the Connect Customer 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.
Defined Under Namespace
Classes: AndAll, EqualTo, NotEqualTo, OrAll, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#and_all ⇒ Types::CompoundCondition
Combines multiple conditions with AND operator.
-
#equal_to ⇒ Types::BooleanOperands
Tests that operandOne is equal to operandTwo.
-
#not_equal_to ⇒ Types::BooleanOperands
Tests that operandOne is not equal to operandTwo.
-
#or_all ⇒ Types::CompoundCondition
Combines multiple conditions with OR operator.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#and_all ⇒ Types::CompoundCondition
Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 681 class BooleanCondition < Struct.new( :equal_to, :not_equal_to, :and_all, :or_all, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EqualTo < BooleanCondition; end class NotEqualTo < BooleanCondition; end class AndAll < BooleanCondition; end class OrAll < BooleanCondition; end class Unknown < BooleanCondition; end end |
#equal_to ⇒ Types::BooleanOperands
Tests that operandOne is equal to operandTwo.
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 681 class BooleanCondition < Struct.new( :equal_to, :not_equal_to, :and_all, :or_all, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EqualTo < BooleanCondition; end class NotEqualTo < BooleanCondition; end class AndAll < BooleanCondition; end class OrAll < BooleanCondition; end class Unknown < BooleanCondition; end end |
#not_equal_to ⇒ Types::BooleanOperands
Tests that operandOne is not equal to operandTwo.
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 681 class BooleanCondition < Struct.new( :equal_to, :not_equal_to, :and_all, :or_all, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EqualTo < BooleanCondition; end class NotEqualTo < BooleanCondition; end class AndAll < BooleanCondition; end class OrAll < BooleanCondition; end class Unknown < BooleanCondition; end end |
#or_all ⇒ Types::CompoundCondition
Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 681 class BooleanCondition < Struct.new( :equal_to, :not_equal_to, :and_all, :or_all, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EqualTo < BooleanCondition; end class NotEqualTo < BooleanCondition; end class AndAll < BooleanCondition; end class OrAll < BooleanCondition; end class Unknown < BooleanCondition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
681 682 683 |
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 681 def unknown @unknown end |