class DeletedEntry extends DeletedResource

A DeletedEntry describes an entry that has been deleted.

Properties

protected SystemProperties $sys from DeletedResource

Methods

__construct(SystemProperties $sys)

DeletedResource constructor.

string
getId()

Returns the ID of the resource.

getSpace()

Returns the space the resource used to belong to.

int
getRevision()

Returns the last revision of the resource before it was deleted.

getUpdatedAt()

Returns the time when the resource was updated.

getCreatedAt()

Returns the time when the resource was created.

getDeletedAt()

Returns the time when the resource was deleted.

object
jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

getContentType()

This method always returns null when used with the sync API. It does return a value when parsing a webhook response.

Details

in DeletedResource at line 29
__construct(SystemProperties $sys)

DeletedResource constructor.

Parameters

SystemProperties $sys

in DeletedResource at line 39
string getId()

Returns the ID of the resource.

Return Value

string

in DeletedResource at line 49
Space getSpace()

Returns the space the resource used to belong to.

Return Value

Space

in DeletedResource at line 59
int getRevision()

Returns the last revision of the resource before it was deleted.

Return Value

int

in DeletedResource at line 69
DateTimeImmutable getUpdatedAt()

Returns the time when the resource was updated.

Return Value

DateTimeImmutable

in DeletedResource at line 79
DateTimeImmutable getCreatedAt()

Returns the time when the resource was created.

Return Value

DateTimeImmutable

in DeletedResource at line 89
DateTimeImmutable getDeletedAt()

Returns the time when the resource was deleted.

Return Value

DateTimeImmutable

in DeletedResource at line 101
object jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Return Value

object

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php JsonSerializable::jsonSerialize

at line 22
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