TaskSystem/vendor/alibabacloud/live-20161101/src/Models/DescribeLiveDomainOnlineUserNumRequest.php
2023-10-17 10:24:59 +08:00

72 lines
1.4 KiB
PHP

<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Live\V20161101\Models;
use AlibabaCloud\Tea\Model;
class DescribeLiveDomainOnlineUserNumRequest extends Model
{
/**
* @var string
*/
public $domainName;
/**
* @var int
*/
public $ownerId;
/**
* @var string
*/
public $queryTime;
protected $_name = [
'domainName' => 'DomainName',
'ownerId' => 'OwnerId',
'queryTime' => 'QueryTime',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->domainName) {
$res['DomainName'] = $this->domainName;
}
if (null !== $this->ownerId) {
$res['OwnerId'] = $this->ownerId;
}
if (null !== $this->queryTime) {
$res['QueryTime'] = $this->queryTime;
}
return $res;
}
/**
* @param array $map
*
* @return DescribeLiveDomainOnlineUserNumRequest
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['DomainName'])) {
$model->domainName = $map['DomainName'];
}
if (isset($map['OwnerId'])) {
$model->ownerId = $map['OwnerId'];
}
if (isset($map['QueryTime'])) {
$model->queryTime = $map['QueryTime'];
}
return $model;
}
}