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

61 lines
1.5 KiB
PHP

<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Live\V20161101\Models;
use AlibabaCloud\SDK\Live\V20161101\Models\DescribeLiveCertificateListResponseBody\certificateListModel;
use AlibabaCloud\Tea\Model;
class DescribeLiveCertificateListResponseBody extends Model
{
/**
* @var certificateListModel
*/
public $certificateListModel;
/**
* @var string
*/
public $requestId;
protected $_name = [
'certificateListModel' => 'CertificateListModel',
'requestId' => 'RequestId',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->certificateListModel) {
$res['CertificateListModel'] = null !== $this->certificateListModel ? $this->certificateListModel->toMap() : null;
}
if (null !== $this->requestId) {
$res['RequestId'] = $this->requestId;
}
return $res;
}
/**
* @param array $map
*
* @return DescribeLiveCertificateListResponseBody
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['CertificateListModel'])) {
$model->certificateListModel = certificateListModel::fromMap($map['CertificateListModel']);
}
if (isset($map['RequestId'])) {
$model->requestId = $map['RequestId'];
}
return $model;
}
}