WorkOS PHP SDK

FlagUpdatedContextPreviousAttributeData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The previous data attributes of the flag.

Table of Contents

Interfaces

JsonSerializable

Properties

$defaultValue  : bool|null
The previous default value of the flag.
$description  : string|null
The previous description of the flag.
$enabled  : bool|null
Whether the flag was previously enabled.
$name  : string|null
The previous name of the flag.
$owner  : FlagUpdatedContextPreviousAttributeDataOwner|null
The previous owner of the flag, or `null` if it had none.
$tags  : array<string|int, string>|null
The previous tags of the flag.

Methods

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

Properties

Methods

__construct()

public __construct([string|null $name = null ][, string|null $description = null ][, array<string|int, mixed>|null $tags = null ][, FlagUpdatedContextPreviousAttributeDataOwner|null $owner = null ][, bool|null $enabled = null ][, bool|null $defaultValue = null ]) : mixed
Parameters
$name : string|null = null
$description : string|null = null
$tags : array<string|int, mixed>|null = null
$owner : FlagUpdatedContextPreviousAttributeDataOwner|null = null
$enabled : bool|null = null
$defaultValue : bool|null = null

jsonSerialize()

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

Search results