AuditLogConfigurationLogStream
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The Audit Log Stream currently configured for the organization, if any.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $id : string
- Unique identifier of the Audit Log Stream.
- $lastSyncedAt : string|null
- ISO-8601 timestamp of when the last event was successfully synced, or null if no events have been synced.
- $state : AuditLogConfigurationLogStreamState
- The current state of the Audit Log Stream.
- $type : AuditLogConfigurationLogStreamType
- The type of the Audit Log Stream destination.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$id
Unique identifier of the Audit Log Stream.
public
string
$id
$lastSyncedAt
ISO-8601 timestamp of when the last event was successfully synced, or null if no events have been synced.
public
string|null
$lastSyncedAt
$state
The current state of the Audit Log Stream.
public
AuditLogConfigurationLogStreamState
$state
$type
The type of the Audit Log Stream destination.
public
AuditLogConfigurationLogStreamType
$type
Methods
__construct()
public
__construct(string $id, AuditLogConfigurationLogStreamType $type, AuditLogConfigurationLogStreamState $state, string|null $lastSyncedAt, DateTimeImmutable $createdAt) : mixed
Parameters
- $id : string
- $type : AuditLogConfigurationLogStreamType
- $state : AuditLogConfigurationLogStreamState
- $lastSyncedAt : string|null
- $createdAt : DateTimeImmutable
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>