RelatedItemContent

sealed class RelatedItemContent

Represents the content of a particular type of related item.

Inheritors

Types

Link copied to clipboard
data class Comment(val value: CommentContent) : RelatedItemContent

Represents the content of a comment to be returned to agents.

Link copied to clipboard
data class Contact(val value: ContactContent) : RelatedItemContent

Represents the content of a contact to be returned to agents.

Link copied to clipboard
data class File(val value: FileContent) : RelatedItemContent

Represents the content of a File to be returned to agents.

Link copied to clipboard
Link copied to clipboard
data class Sla(val value: SlaContent) : RelatedItemContent

Represents the content of an SLA to be returned to agents.

Functions

Link copied to clipboard

Casts this RelatedItemContent as a Comment and retrieves its aws.sdk.kotlin.services.connectcases.model.CommentContent value. Throws an exception if the RelatedItemContent is not a Comment.

Link copied to clipboard
Link copied to clipboard

Casts this RelatedItemContent as a Contact and retrieves its aws.sdk.kotlin.services.connectcases.model.ContactContent value. Throws an exception if the RelatedItemContent is not a Contact.

Link copied to clipboard
Link copied to clipboard

Casts this RelatedItemContent as a File and retrieves its aws.sdk.kotlin.services.connectcases.model.FileContent value. Throws an exception if the RelatedItemContent is not a File.

Link copied to clipboard

Casts this RelatedItemContent as a File and retrieves its aws.sdk.kotlin.services.connectcases.model.FileContent value. Returns null if the RelatedItemContent is not a File.

Link copied to clipboard

Casts this RelatedItemContent as a Sla and retrieves its aws.sdk.kotlin.services.connectcases.model.SlaContent value. Throws an exception if the RelatedItemContent is not a Sla.

Link copied to clipboard

Casts this RelatedItemContent as a Sla and retrieves its aws.sdk.kotlin.services.connectcases.model.SlaContent value. Returns null if the RelatedItemContent is not a Sla.