OperandTwo

sealed class OperandTwo

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.

Inheritors

Types

Link copied to clipboard
data class BooleanValue(val value: Boolean) : OperandTwo

Boolean value type.

Link copied to clipboard
data class DoubleValue(val value: Double) : OperandTwo

Double value type.

Link copied to clipboard
data class EmptyValue(val value: EmptyOperandValue) : OperandTwo

Empty value type.

Link copied to clipboard
Link copied to clipboard
data class StringValue(val value: String) : OperandTwo

String value type.

Functions

Link copied to clipboard

Casts this OperandTwo as a BooleanValue and retrieves its kotlin.Boolean value. Throws an exception if the OperandTwo is not a BooleanValue.

Link copied to clipboard

Casts this OperandTwo as a BooleanValue and retrieves its kotlin.Boolean value. Returns null if the OperandTwo is not a BooleanValue.

Link copied to clipboard

Casts this OperandTwo as a DoubleValue and retrieves its kotlin.Double value. Throws an exception if the OperandTwo is not a DoubleValue.

Link copied to clipboard

Casts this OperandTwo as a DoubleValue and retrieves its kotlin.Double value. Returns null if the OperandTwo is not a DoubleValue.

Link copied to clipboard

Casts this OperandTwo as a EmptyValue and retrieves its aws.sdk.kotlin.services.connectcases.model.EmptyOperandValue value. Throws an exception if the OperandTwo is not a EmptyValue.

Link copied to clipboard
Link copied to clipboard

Casts this OperandTwo as a StringValue and retrieves its kotlin.String value. Throws an exception if the OperandTwo is not a StringValue.

Link copied to clipboard

Casts this OperandTwo as a StringValue and retrieves its kotlin.String value. Returns null if the OperandTwo is not a StringValue.