AgentRegistrationOrganizationSwitchedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $agentRegistrationId : string
- The agent registration that was moved.
- $fromOrganizationId : string
- The agent-created organization the registration is moving off of. Migrate its resources to `to_organization_id`, then delete it.
- $toOrganizationId : string
- The organization the registration now belongs to.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$agentRegistrationId
The agent registration that was moved.
public
string
$agentRegistrationId
$fromOrganizationId
The agent-created organization the registration is moving off of. Migrate its resources to `to_organization_id`, then delete it.
public
string
$fromOrganizationId
$toOrganizationId
The organization the registration now belongs to.
public
string
$toOrganizationId
Methods
__construct()
public
__construct(string $agentRegistrationId, string $fromOrganizationId, string $toOrganizationId) : mixed
Parameters
- $agentRegistrationId : string
- $fromOrganizationId : string
- $toOrganizationId : string
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>