DeletedAsset
class DeletedAsset extends DeletedResource
A DeletedAsset describes an asset that has been deleted.
Properties
protected Client | $client | from BaseResource | |
protected SystemProperties | $sys | from BaseResource |
Methods
Resources in this SDK should not be built using $new Class()
.
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.
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.
in BaseResource at line 50
SystemProperties
getSystemProperties()
{@inheritdoc}
in BaseResource at line 58
asLink()
{@inheritdoc}
in BaseResource at line 69
getId()
{@inheritdoc}
in BaseResource at line 77
getType()
{@inheritdoc}
in DeletedResource at line 24
int|null
getRevision()
Returns the last revision of the resource before it was deleted.
in DeletedResource at line 34
DateTimeImmutable|null
getUpdatedAt()
Returns the time when the resource was updated.
in DeletedResource at line 44
DateTimeImmutable|null
getCreatedAt()
Returns the time when the resource was created.
in DeletedResource at line 54
DateTimeImmutable|null
getDeletedAt()
Returns the time when the resource was deleted.
in DeletedResource at line 62
jsonSerialize()
{@inheritdoc}