MdsRefreshOutcomeRollbackRejected
in package
implements
MdsRefreshOutcomeVariant
FinalYes
The `rollback_rejected` arm of {@see MdsRefreshOutcome} (`outcome: "rollback_rejected"`).
Table of Contents
Interfaces
- MdsRefreshOutcomeVariant
- `POST /api/v1/mds/refresh` response — the outcome of one ingestion attempt (mirrors `axiam_db::mds_ingest::MdsIngestOutcome`).
Properties
- $attemptedNo : int
- $storedNo : int
Methods
- __construct() : mixed
- Constructs the `rollback_rejected` arm.
- fromArray() : self
- Rebuilds the `rollback_rejected` arm from one decoded JSON object.
- jsonSerialize() : array<string, mixed>
- Renders this arm for `json_encode()`.
- toArray() : array<string, mixed>
- Renders this arm to its wire form, re-attaching `outcome: "rollback_rejected"`.
Properties
$attemptedNo read-only
public
int
$attemptedNo
$storedNo read-only
public
int
$storedNo
Methods
__construct()
Constructs the `rollback_rejected` arm.
public
__construct(int $attemptedNo, int $storedNo) : mixed
Parameters
- $attemptedNo : int
-
the server's
attempted_nofield - $storedNo : int
-
the server's
stored_nofield
fromArray()
Rebuilds the `rollback_rejected` arm from one decoded JSON object.
public
static fromArray(array<string, mixed> $data) : self
Parameters
- $data : array<string, mixed>
-
The raw wire object.
Return values
selfjsonSerialize()
Renders this arm for `json_encode()`.
public
jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>toArray()
Renders this arm to its wire form, re-attaching `outcome: "rollback_rejected"`.
public
toArray() : array<string, mixed>