UserUnion

sealed class UserUnion

Represents the entity that performed the action.

Inheritors

Types

Link copied to clipboard
data class CustomEntity(val value: String) : UserUnion

Any provided entity.

Link copied to clipboard
Link copied to clipboard
data class UserArn(val value: String) : UserUnion

Represents the Amazon Connect ARN of the user.

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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