class Space extends BaseResource

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

Properties

protected Client $client from BaseResource
protected SystemProperties $sys from BaseResource
protected string $name

Methods

__construct(array $data)

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

asLink()

{@inheritdoc}

getId()

{@inheritdoc}

getType()

{@inheritdoc}

string
getName()

Returns the name of this space.

jsonSerialize()

{@inheritdoc}

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.

Parameters

array $data

in BaseResource at line 50
SystemProperties getSystemProperties()

{@inheritdoc}

Return Value

SystemProperties

{@inheritdoc}

in BaseResource at line 69
getId()

{@inheritdoc}

in BaseResource at line 77
getType()

{@inheritdoc}

at line 27
string getName()

Returns the name of this space.

Return Value

string

at line 35
jsonSerialize()

{@inheritdoc}