fix: restriction property types

pull/75/head
sualko 2020-09-02 10:54:51 +02:00
parent 46ac4d1102
commit a24f8a1f96
1 changed files with 3 additions and 3 deletions

View File

@ -27,9 +27,9 @@ class Restriction extends Entity implements JsonSerializable {
protected $allowRecording = true;
public function __construct() {
$this->addType('max_rooms', 'integer');
$this->addType('max_participants', 'integer');
$this->addType('allow_recording', 'boolean');
$this->addType('maxRooms', 'integer');
$this->addType('maxParticipants', 'integer');
$this->addType('allowRecording', 'boolean');
}
public function jsonSerialize(): array {