class Space extends BaseResource

The Space class represents a single space identified by its ID and holding some metadata.

Properties

protected Space $sys
protected string $name

Methods

__construct(array $data)

Resources in this SDK should not be built using $new Class().

asLink()

{@inheritdoc}

getId()

{@inheritdoc}

getType()

{@inheritdoc}

getSystemProperties()

{@inheritdoc}

getName()

Returns the name of this space.

jsonSerialize()

{@inheritdoc}

Details

in BaseResource at line 24
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.

Parameters

array $data

{@inheritdoc}

in BaseResource at line 47
getId()

{@inheritdoc}

in BaseResource at line 55
getType()

{@inheritdoc}

at line 34
getSystemProperties()

{@inheritdoc}

at line 42
getName()

Returns the name of this space.

at line 50
jsonSerialize()

{@inheritdoc}