Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
eventlink.php
1<?php
3
4class EventLink extends Link
5{
7 private ?int $hostId = null;
9 private ?int $ownerId = null;
11 private ?string $conferenceId = null;
13 private ?string $parentLinkHash = null;
15 private ?int $canceledTimestamp = null;
17 private ?string $externalUserName = null;
18
23 public function setOwnerId(int $ownerId): self
24 {
25 $this->ownerId = $ownerId;
26
27 return $this;
28 }
29
33 public function getOwnerId(): ?int
34 {
35 return $this->ownerId ?? null;
36 }
37
42 public function setHostId(?int $hostId): self
43 {
44 $this->hostId = $hostId;
45
46 return $this;
47 }
48
52 public function getHostId(): ?int
53 {
54 return $this->hostId ?? null;
55 }
56
61 public function setConferenceId(?string $conferenceId): self
62 {
63 $this->conferenceId = $conferenceId;
64
65 return $this;
66 }
67
71 public function getConferenceId(): ?string
72 {
73 return $this->conferenceId;
74 }
75
79 public function getParentLinkHash(): ?string
80 {
81 return $this->parentLinkHash;
82 }
83
88 public function setParentLinkHash(?string $parentLinkHash): self
89 {
90 $this->parentLinkHash = $parentLinkHash;
91
92 return $this;
93 }
94
99 public function setEventId(int $id): self
100 {
101 return $this->setObjectId($id);
102 }
103
107 public function getEventId(): int
108 {
109 return $this->getObjectId();
110 }
111
116 public function setCanceledTimestamp(?int $timestamp): self
117 {
118 $this->canceledTimestamp = $timestamp;
119
120 return $this;
121 }
122
126 public function getCanceledTimestamp(): ?int
127 {
128 return $this->canceledTimestamp;
129 }
130
135 public function setExternalUserName(?string $name)
136 {
137 $this->externalUserName = $name;
138
139 return $this;
140 }
141
145 public function getExternalUserName()
146 {
147 return $this->externalUserName;
148 }
149
153 public function getObjectType(): string
154 {
156 }
157}