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 DescribeLiveTopDomainsByFlowRequest extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $endTime;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $limit;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $ownerId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $startTime;
|
|
protected $_name = [
|
|
'endTime' => 'EndTime',
|
|
'limit' => 'Limit',
|
|
'ownerId' => 'OwnerId',
|
|
'startTime' => 'StartTime',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->endTime) {
|
|
$res['EndTime'] = $this->endTime;
|
|
}
|
|
if (null !== $this->limit) {
|
|
$res['Limit'] = $this->limit;
|
|
}
|
|
if (null !== $this->ownerId) {
|
|
$res['OwnerId'] = $this->ownerId;
|
|
}
|
|
if (null !== $this->startTime) {
|
|
$res['StartTime'] = $this->startTime;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return DescribeLiveTopDomainsByFlowRequest
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['EndTime'])) {
|
|
$model->endTime = $map['EndTime'];
|
|
}
|
|
if (isset($map['Limit'])) {
|
|
$model->limit = $map['Limit'];
|
|
}
|
|
if (isset($map['OwnerId'])) {
|
|
$model->ownerId = $map['OwnerId'];
|
|
}
|
|
if (isset($map['StartTime'])) {
|
|
$model->startTime = $map['StartTime'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|