| 1 | <?php |
||
| 7 | class TakeThreadControl |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | protected $previousOwnerAppId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string|null |
||
| 16 | */ |
||
| 17 | protected $metadata; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * TakeThreadControl constructor. |
||
| 21 | */ |
||
| 22 | 1 | public function __construct(int $previousOwnerAppId, ?string $metadata) |
|
| 27 | |||
| 28 | 1 | public function getPreviousOwnerAppId(): int |
|
| 32 | |||
| 33 | 1 | public function getMetadata(): ?string |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return \Kerox\Messenger\Model\Callback\TakeThreadControl |
||
| 40 | */ |
||
| 41 | 1 | public static function create(array $callbackData): self |
|
| 45 | } |
||
| 46 |