RawText

data class RawText(val value: String) : Content

The raw text content containing natural language descriptions of desired policy behavior. This text is processed by AI to generate corresponding Cedar policy statements that match the described intent.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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