DeletedEntry
class DeletedEntry extends DeletedResource
A DeletedEntry describes an entry that has been deleted.
Properties
protected SystemProperties | $sys | from DeletedResource |
Methods
Returns the last revision of the resource before it was deleted.
Returns the time when the resource was updated.
Returns the time when the resource was created.
Returns the time when the resource was deleted.
Returns an object to be used by json_encode
to serialize objects of this class.
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 26
__construct(SystemProperties $sys)
DeletedResource constructor.
in DeletedResource at line 38
string
getId()
Returns the ID of the resource.
in DeletedResource at line 50
Space
getSpace()
Returns the space the resource used to belong to.
in DeletedResource at line 62
int
getRevision()
Returns the last revision of the resource before it was deleted.
in DeletedResource at line 74
DateTimeImmutable
getUpdatedAt()
Returns the time when the resource was updated.
in DeletedResource at line 86
DateTimeImmutable
getCreatedAt()
Returns the time when the resource was created.
in DeletedResource at line 98
DateTimeImmutable
getDeletedAt()
Returns the time when the resource was deleted.
in DeletedResource at line 111
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.
at line 21
ContentType|null
getContentType()
This method always returns null when used with the sync API. It does return a value when parsing a webhook response.