src/Api/Model/Attribute/Accessor/Permissions.php
public function getPermissions($property = null)
    {
        if (null === $property) {
            return $this->permissions;
        }

        if (!array_key_exists($property, $this->permissions)) {
            throw new OutOfRangeException('Array property does not exist.');
        }

        return $this->permissions[$property];
    }
public function getPermissions($property = null)
    {
        if (null === $property) {
            return $this->permissions;
        }

        if (!array_key_exists($property, $this->permissions)) {
            throw new OutOfRangeException('Array property does not exist.');
        }

        return $this->permissions[$property];
    }
Get permissions

@param string $property
@return array
@throws \OutOfRangeException