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

144 lines
3.1 KiB
PHP

<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Live\V20161101\Models;
use AlibabaCloud\Tea\Model;
class DescribeMixStreamListRequest extends Model
{
/**
* @var string
*/
public $appName;
/**
* @var string
*/
public $domainName;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $mixStreamId;
/**
* @var int
*/
public $ownerId;
/**
* @var int
*/
public $pageNo;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $streamName;
protected $_name = [
'appName' => 'AppName',
'domainName' => 'DomainName',
'endTime' => 'EndTime',
'mixStreamId' => 'MixStreamId',
'ownerId' => 'OwnerId',
'pageNo' => 'PageNo',
'pageSize' => 'PageSize',
'startTime' => 'StartTime',
'streamName' => 'StreamName',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->appName) {
$res['AppName'] = $this->appName;
}
if (null !== $this->domainName) {
$res['DomainName'] = $this->domainName;
}
if (null !== $this->endTime) {
$res['EndTime'] = $this->endTime;
}
if (null !== $this->mixStreamId) {
$res['MixStreamId'] = $this->mixStreamId;
}
if (null !== $this->ownerId) {
$res['OwnerId'] = $this->ownerId;
}
if (null !== $this->pageNo) {
$res['PageNo'] = $this->pageNo;
}
if (null !== $this->pageSize) {
$res['PageSize'] = $this->pageSize;
}
if (null !== $this->startTime) {
$res['StartTime'] = $this->startTime;
}
if (null !== $this->streamName) {
$res['StreamName'] = $this->streamName;
}
return $res;
}
/**
* @param array $map
*
* @return DescribeMixStreamListRequest
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['AppName'])) {
$model->appName = $map['AppName'];
}
if (isset($map['DomainName'])) {
$model->domainName = $map['DomainName'];
}
if (isset($map['EndTime'])) {
$model->endTime = $map['EndTime'];
}
if (isset($map['MixStreamId'])) {
$model->mixStreamId = $map['MixStreamId'];
}
if (isset($map['OwnerId'])) {
$model->ownerId = $map['OwnerId'];
}
if (isset($map['PageNo'])) {
$model->pageNo = $map['PageNo'];
}
if (isset($map['PageSize'])) {
$model->pageSize = $map['PageSize'];
}
if (isset($map['StartTime'])) {
$model->startTime = $map['StartTime'];
}
if (isset($map['StreamName'])) {
$model->streamName = $map['StreamName'];
}
return $model;
}
}