. * */ namespace Friendica\Content\Conversation\Entity; /** * @property-read string $code Channel code * @property-read string $label Channel label * @property-read string $description Channel description * @property-read string $accessKey Access key * @property-read string $path Path */ final class Timeline extends \Friendica\BaseEntity { const WHATSHOT = 'whatshot'; const FORYOU = 'foryou'; const FOLLOWERS = 'followers'; const SHARERSOFSHARERS = 'sharersofsharers'; const IMAGE = 'image'; const VIDEO = 'video'; const AUDIO = 'audio'; const LANGUAGE = 'language'; const LOCAL = 'local'; const GLOBAL = 'global'; const STAR = 'star'; const MENTION = 'mention'; const RECEIVED = 'received'; const COMMENTED = 'commented'; const CREATED = 'created'; /** @var string */ protected $code; /** @var string */ protected $label; /** @var string */ protected $description; /** @var string */ protected $accessKey; /** @var string */ protected $path; public function __construct(string $code, string $label, string $description, string $accessKey, string $path = null) { $this->code = $code; $this->label = $label; $this->description = $description; $this->accessKey = $accessKey; $this->path = $path; } }