class DeletedResource extends BaseResource

A DeletedResource encodes metadata about a deleted resource.

Methods

__construct(array $data)

Resources in this SDK should not be built using $new Class().

asLink()

{@inheritdoc}

getId()

{@inheritdoc}

getType()

{@inheritdoc}

jsonSerialize()

{@inheritdoc}

Details

in BaseResource at line 26
protected __construct(array $data)

Resources in this SDK should not be built using $new Class().

This method is only useful in testing environments, where the resource needs to be subclasses and this method made public.

Parameters

array $data

{@inheritdoc}

in BaseResource at line 49
getId()

{@inheritdoc}

in BaseResource at line 57
getType()

{@inheritdoc}

at line 22
jsonSerialize()

{@inheritdoc}