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

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 AddCasterEpisodeGroupContentRequest extends Model
{
/**
* @var string
*/
public $clientToken;
/**
* @var string
*/
public $content;
/**
* @var int
*/
public $ownerId;
protected $_name = [
'clientToken' => 'ClientToken',
'content' => 'Content',
'ownerId' => 'OwnerId',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->clientToken) {
$res['ClientToken'] = $this->clientToken;
}
if (null !== $this->content) {
$res['Content'] = $this->content;
}
if (null !== $this->ownerId) {
$res['OwnerId'] = $this->ownerId;
}
return $res;
}
/**
* @param array $map
*
* @return AddCasterEpisodeGroupContentRequest
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['ClientToken'])) {
$model->clientToken = $map['ClientToken'];
}
if (isset($map['Content'])) {
$model->content = $map['Content'];
}
if (isset($map['OwnerId'])) {
$model->ownerId = $map['OwnerId'];
}
return $model;
}
}