84 lines
1.6 KiB
PHP
84 lines
1.6 KiB
PHP
<?php
|
|
|
|
// This file is auto-generated, don't edit it. Thanks.
|
|
|
|
namespace AlibabaCloud\SDK\Live\V20161101\Models;
|
|
|
|
use AlibabaCloud\Tea\Model;
|
|
|
|
class CreateRoomResponseBody extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $requestId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $appId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $anchorId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $roomId;
|
|
protected $_name = [
|
|
'requestId' => 'RequestId',
|
|
'appId' => 'AppId',
|
|
'anchorId' => 'AnchorId',
|
|
'roomId' => 'RoomId',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->requestId) {
|
|
$res['RequestId'] = $this->requestId;
|
|
}
|
|
if (null !== $this->appId) {
|
|
$res['AppId'] = $this->appId;
|
|
}
|
|
if (null !== $this->anchorId) {
|
|
$res['AnchorId'] = $this->anchorId;
|
|
}
|
|
if (null !== $this->roomId) {
|
|
$res['RoomId'] = $this->roomId;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return CreateRoomResponseBody
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['RequestId'])) {
|
|
$model->requestId = $map['RequestId'];
|
|
}
|
|
if (isset($map['AppId'])) {
|
|
$model->appId = $map['AppId'];
|
|
}
|
|
if (isset($map['AnchorId'])) {
|
|
$model->anchorId = $map['AnchorId'];
|
|
}
|
|
if (isset($map['RoomId'])) {
|
|
$model->roomId = $map['RoomId'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|