AXIAM PHP SDK

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

Methods

__construct()

Constructs the `rollback_rejected` arm.

public __construct(int $attemptedNo, int $storedNo) : mixed
Parameters
$attemptedNo : int

the server's attempted_no field

$storedNo : int

the server's stored_no field

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
self

toArray()

Renders this arm to its wire form, re-attaching `outcome: "rollback_rejected"`.

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results