72 lines
1.4 KiB
PHP
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 DescribeLiveStreamWatermarksRequest extends Model
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $ownerId;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $pageNumber;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $pageSize;
|
|
protected $_name = [
|
|
'ownerId' => 'OwnerId',
|
|
'pageNumber' => 'PageNumber',
|
|
'pageSize' => 'PageSize',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->ownerId) {
|
|
$res['OwnerId'] = $this->ownerId;
|
|
}
|
|
if (null !== $this->pageNumber) {
|
|
$res['PageNumber'] = $this->pageNumber;
|
|
}
|
|
if (null !== $this->pageSize) {
|
|
$res['PageSize'] = $this->pageSize;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return DescribeLiveStreamWatermarksRequest
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['OwnerId'])) {
|
|
$model->ownerId = $map['OwnerId'];
|
|
}
|
|
if (isset($map['PageNumber'])) {
|
|
$model->pageNumber = $map['PageNumber'];
|
|
}
|
|
if (isset($map['PageSize'])) {
|
|
$model->pageSize = $map['PageSize'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|