CustomEntity

data class CustomEntity(val value: String) : UserUnion

Any provided entity.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.