Model

sealed class Model

The model of the API.

Inheritors

Types

Link copied to clipboard
object SdkUnknown : Model
Link copied to clipboard
data class Smithy(val value: String) : Model

Indicates the smithy model of the API.

Functions

Link copied to clipboard

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

Link copied to clipboard

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