class DeletedEntry extends DeletedResource

A DeletedEntry describes an entry that has been deleted.

Properties

protected Client $client from BaseResource
protected SystemProperties $sys from BaseResource

Methods

__construct(array $data)

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

asLink()

{@inheritdoc}

getId()

{@inheritdoc}

getType()

{@inheritdoc}

jsonSerialize()

{@inheritdoc}

getContentType()

This method always returns null when used with the sync API.

Details

in BaseResource at line 36
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

in BaseResource at line 50
SystemProperties getSystemProperties()

{@inheritdoc}

Return Value

SystemProperties

{@inheritdoc}

in BaseResource at line 69
getId()

{@inheritdoc}

in BaseResource at line 77
getType()

{@inheritdoc}

in DeletedResource at line 20
jsonSerialize()

{@inheritdoc}

at line 23
ContentType|null getContentType()

This method always returns null when used with the sync API.

It does return a value when parsing a webhook response.

Return Value

ContentType|null