GuardrailImageSource

The image source (image bytes) of the guardrail image source. Object used in independent api.

Inheritors

Types

Link copied to clipboard
data class Bytes(val value: ByteArray) : GuardrailImageSource

The bytes details of the guardrail image source. Object used in independent api.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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