interface Updatable implements ResourceInterface

Updatable interface.

Represents a resource which can be updated.

Methods

getSystemProperties()

Returns the resource's system properties, defined in the object "sys" in Contentful's responses.

Link
asLink()

Creates a Link representation of the current resource.

mixed
asRequestBody()

Returns the resource in the form of request body.

Details

in ResourceInterface at line 29
SystemProperties getSystemProperties()

Returns the resource's system properties, defined in the object "sys" in Contentful's responses.

Return Value

SystemProperties

Creates a Link representation of the current resource.

Return Value

Link

at line 29
mixed asRequestBody()

Returns the resource in the form of request body.

This can differ from regular serialization, as some fields may not be present in the request payload.

Return Value

mixed