S

data class S(val value: String) : AttributeValue

Indicates that the attribute type value is a string. For example:

"S": "S Group"

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this AttributeValue as a Bool and retrieves its kotlin.Boolean value. Throws an exception if the AttributeValue is not a Bool.

Link copied to clipboard

Casts this AttributeValue as a Bool and retrieves its kotlin.Boolean value. Returns null if the AttributeValue is not a Bool.

Link copied to clipboard
fun asN(): Long

Casts this AttributeValue as a N and retrieves its kotlin.Long value. Throws an exception if the AttributeValue is not a N.

Link copied to clipboard
fun asNOrNull(): Long?

Casts this AttributeValue as a N and retrieves its kotlin.Long value. Returns null if the AttributeValue is not a N.

Link copied to clipboard
fun asS(): String

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

Link copied to clipboard

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

Link copied to clipboard
fun asSs(): List<String>

Casts this AttributeValue as a Ss and retrieves its kotlin.collections.List value. Throws an exception if the AttributeValue is not a Ss.

Link copied to clipboard

Casts this AttributeValue as a Ss and retrieves its kotlin.collections.List value. Returns null if the AttributeValue is not a Ss.