B

data class B(val value: ByteArray) : AttributeValue

An attribute of type Binary. For example:

"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"

Constructors

Link copied to clipboard
constructor(value: ByteArray)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Inherited functions

Link copied to clipboard
fun asB(): ByteArray

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

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

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun asN(): String

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

Link copied to clipboard

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

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

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

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.