EntityList

data class EntityList(val value: List<EntityItem>) : EntitiesDefinition

An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.

If you include multiple entities with the same identifier, only the last one is processed in the request.

Constructors

Link copied to clipboard
constructor(value: List<EntityItem>)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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