120 lines
2.6 KiB
PHP
120 lines
2.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 DescribeLiveStreamHistoryUserNumRequest extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $appName;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $domainName;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $endTime;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $ownerId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $securityToken;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $startTime;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $streamName;
|
|
protected $_name = [
|
|
'appName' => 'AppName',
|
|
'domainName' => 'DomainName',
|
|
'endTime' => 'EndTime',
|
|
'ownerId' => 'OwnerId',
|
|
'securityToken' => 'SecurityToken',
|
|
'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->ownerId) {
|
|
$res['OwnerId'] = $this->ownerId;
|
|
}
|
|
if (null !== $this->securityToken) {
|
|
$res['SecurityToken'] = $this->securityToken;
|
|
}
|
|
if (null !== $this->startTime) {
|
|
$res['StartTime'] = $this->startTime;
|
|
}
|
|
if (null !== $this->streamName) {
|
|
$res['StreamName'] = $this->streamName;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return DescribeLiveStreamHistoryUserNumRequest
|
|
*/
|
|
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['OwnerId'])) {
|
|
$model->ownerId = $map['OwnerId'];
|
|
}
|
|
if (isset($map['SecurityToken'])) {
|
|
$model->securityToken = $map['SecurityToken'];
|
|
}
|
|
if (isset($map['StartTime'])) {
|
|
$model->startTime = $map['StartTime'];
|
|
}
|
|
if (isset($map['StreamName'])) {
|
|
$model->streamName = $map['StreamName'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|