WorkOS PHP SDK

FlagRuleUpdatedContext
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Additional context about the event.

Table of Contents

Interfaces

JsonSerializable

Properties

$accessType  : FlagRuleUpdatedContextAccessType
The access type of the flag rule.
$actor  : FlagRuleUpdatedContextActor
The actor who performed the action.
$clientId  : string
The client ID associated with the flag event.
$configuredTargets  : FlagRuleUpdatedContextConfiguredTarget
The configured targets for the flag rule.
$previousAttributes  : FlagRuleUpdatedContextPreviousAttribute
Attributes that changed from their previous values.

Methods

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

Properties

Methods

__construct()

public __construct(string $clientId, FlagRuleUpdatedContextActor $actor, FlagRuleUpdatedContextAccessType $accessType, FlagRuleUpdatedContextConfiguredTarget $configuredTargets, FlagRuleUpdatedContextPreviousAttribute $previousAttributes) : mixed
Parameters
$clientId : string
$actor : FlagRuleUpdatedContextActor
$accessType : FlagRuleUpdatedContextAccessType
$configuredTargets : FlagRuleUpdatedContextConfiguredTarget
$previousAttributes : FlagRuleUpdatedContextPreviousAttribute

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