96 lines
2.1 KiB
PHP
96 lines
2.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 UpdateLiveSnapshotNotifyConfigRequest extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $domainName;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $notifyAuthKey;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $notifyReqAuth;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $notifyUrl;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $ownerId;
|
|
protected $_name = [
|
|
'domainName' => 'DomainName',
|
|
'notifyAuthKey' => 'NotifyAuthKey',
|
|
'notifyReqAuth' => 'NotifyReqAuth',
|
|
'notifyUrl' => 'NotifyUrl',
|
|
'ownerId' => 'OwnerId',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->domainName) {
|
|
$res['DomainName'] = $this->domainName;
|
|
}
|
|
if (null !== $this->notifyAuthKey) {
|
|
$res['NotifyAuthKey'] = $this->notifyAuthKey;
|
|
}
|
|
if (null !== $this->notifyReqAuth) {
|
|
$res['NotifyReqAuth'] = $this->notifyReqAuth;
|
|
}
|
|
if (null !== $this->notifyUrl) {
|
|
$res['NotifyUrl'] = $this->notifyUrl;
|
|
}
|
|
if (null !== $this->ownerId) {
|
|
$res['OwnerId'] = $this->ownerId;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return UpdateLiveSnapshotNotifyConfigRequest
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['DomainName'])) {
|
|
$model->domainName = $map['DomainName'];
|
|
}
|
|
if (isset($map['NotifyAuthKey'])) {
|
|
$model->notifyAuthKey = $map['NotifyAuthKey'];
|
|
}
|
|
if (isset($map['NotifyReqAuth'])) {
|
|
$model->notifyReqAuth = $map['NotifyReqAuth'];
|
|
}
|
|
if (isset($map['NotifyUrl'])) {
|
|
$model->notifyUrl = $map['NotifyUrl'];
|
|
}
|
|
if (isset($map['OwnerId'])) {
|
|
$model->ownerId = $map['OwnerId'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|