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

108 lines
2.3 KiB
PHP

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