Ss

data class Ss(val value: List<String>) : AttributeValue

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

"SS": ["sample_service_class/host.sample.com:1234/sample_service_name_1", "sample_service_class/host.sample.com:1234/sample_service_name_2"]

Constructors

Link copied to clipboard
constructor(value: List<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.