AgentBlueprintsCreateRequest
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $description : string|null
- Human-readable description of the agent blueprint.
- $invocableBy : AgentBlueprintsCreateRequestInvocableBy|null
- Who may mint sessions from this blueprint.
- $name : string
- Human-readable name of the agent blueprint.
- $permissions : array<string|int, string>|null
- Permission slugs forming the ceiling on what sessions minted from this blueprint may do. Each slug must exist in the environment.
- $sessionSettings : AgentBlueprintsCreateRequestSessionSetting|null
- Token and session lifetimes for sessions minted from this blueprint.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$description
Human-readable description of the agent blueprint.
public
string|null
$description
= null
$invocableBy
Who may mint sessions from this blueprint.
public
AgentBlueprintsCreateRequestInvocableBy|null
$invocableBy
= null
$name
Human-readable name of the agent blueprint.
public
string
$name
$permissions
Permission slugs forming the ceiling on what sessions minted from this blueprint may do. Each slug must exist in the environment.
public
array<string|int, string>|null
$permissions
= null
$sessionSettings
Token and session lifetimes for sessions minted from this blueprint.
public
AgentBlueprintsCreateRequestSessionSetting|null
$sessionSettings
= null
Methods
__construct()
public
__construct(string $name[, string|null $description = null ][, array<string|int, mixed>|null $permissions = null ][, AgentBlueprintsCreateRequestInvocableBy|null $invocableBy = null ][, AgentBlueprintsCreateRequestSessionSetting|null $sessionSettings = null ]) : mixed
Parameters
- $name : string
- $description : string|null = null
- $permissions : array<string|int, mixed>|null = null
- $invocableBy : AgentBlueprintsCreateRequestInvocableBy|null = null
- $sessionSettings : AgentBlueprintsCreateRequestSessionSetting|null = null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>