WorkOS PHP SDK

AgentBlueprintsUpdateRequest
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$description  : string|null
Human-readable description of the agent blueprint. Pass `null` to clear it.
$invocableBy  : AgentBlueprintsUpdateRequestInvocableBy|null
Who may mint sessions from this blueprint. Omitted lists are left unchanged.
$name  : string|null
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  : AgentBlueprintsUpdateRequestSessionSetting|null
Token and session lifetimes for sessions minted from this blueprint. Omitted fields are left unchanged.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$description

Human-readable description of the agent blueprint. Pass `null` to clear it.

public string|null $description = null

$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

Methods

__construct()

public __construct([string|null $name = null ][, string|null $description = null ][, array<string|int, mixed>|null $permissions = null ][, AgentBlueprintsUpdateRequestInvocableBy|null $invocableBy = null ][, AgentBlueprintsUpdateRequestSessionSetting|null $sessionSettings = null ]) : mixed
Parameters
$name : string|null = null
$description : string|null = null
$permissions : array<string|int, mixed>|null = null
$invocableBy : AgentBlueprintsUpdateRequestInvocableBy|null = null
$sessionSettings : AgentBlueprintsUpdateRequestSessionSetting|null = null

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results