$json input */ public function fromJson($json) : bool { if (array_key_exists('isLiveBroadcast', $json)) { $this->isLiveBroadcast = $json['isLiveBroadcast']; } return parent::fromJson($json); } /** * convert internal state to php array * @return array */ public function toObject() { $return = parent::toObject(); if ($this->isLiveBroadcast !== null ) { $return['isLiveBroadcast'] = $this->isLiveBroadcast; } return $return; } }