File

data class File(val value: FileContent) : RelatedItemContent

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

Constructors

Link copied to clipboard
constructor(value: FileContent)

Properties

Link copied to clipboard

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