'AppId', 'endTime' => 'EndTime', 'ownerId' => 'OwnerId', 'roomId' => 'RoomId', 'userData' => 'UserData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['AppId'] = $this->appId; } if (null !== $this->endTime) { $res['EndTime'] = $this->endTime; } if (null !== $this->ownerId) { $res['OwnerId'] = $this->ownerId; } if (null !== $this->roomId) { $res['RoomId'] = $this->roomId; } if (null !== $this->userData) { $res['UserData'] = $this->userData; } return $res; } /** * @param array $map * * @return ForbidPushStreamRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['AppId'])) { $model->appId = $map['AppId']; } if (isset($map['EndTime'])) { $model->endTime = $map['EndTime']; } if (isset($map['OwnerId'])) { $model->ownerId = $map['OwnerId']; } if (isset($map['RoomId'])) { $model->roomId = $map['RoomId']; } if (isset($map['UserData'])) { $model->userData = $map['UserData']; } return $model; } }