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().

Link
asLink()

{@inheritdoc}

string
getId()

{@inheritdoc}

string
getType()

{@inheritdoc}

getSystemProperties()

{@inheritdoc}

string
getName()

Returns the name of this space.

array
jsonSerialize()

{@inheritdoc}

Details

in BaseResource at line 26
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}

Return Value

Link

in BaseResource at line 49
string getId()

{@inheritdoc}

Return Value

string

in BaseResource at line 57
string getType()

{@inheritdoc}

Return Value

string

at line 34
Space getSystemProperties()

{@inheritdoc}

Return Value

Space

at line 44
string getName()

Returns the name of this space.

Return Value

string

at line 52
array jsonSerialize()

{@inheritdoc}

Return Value

array