interface ContentTypeInterface implements ResourceInterface

Methods

getSystemProperties()

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

asLink()

Creates a Link representation of the current resource.

getId()

Shortcut for retrieving the resource ID from the system properties object.

getType()

Shortcut for retrieving the resource type from the system properties object.

Details

in ResourceInterface at line 29
SystemPropertiesInterface getSystemProperties()

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

Creates a Link representation of the current resource.

in ResourceInterface at line 40
getId()

Shortcut for retrieving the resource ID from the system properties object.

in ResourceInterface at line 46
getType()

Shortcut for retrieving the resource type from the system properties object.