96 lines
2.0 KiB
PHP
96 lines
2.0 KiB
PHP
<?php
|
|
|
|
// This file is auto-generated, don't edit it. Thanks.
|
|
|
|
namespace AlibabaCloud\SDK\Live\V20161101\Models;
|
|
|
|
use AlibabaCloud\Tea\Model;
|
|
|
|
class DescribeLiveDomainRealtimeLogDeliveryResponseBody extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $logstore;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $project;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $region;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $requestId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $status;
|
|
protected $_name = [
|
|
'logstore' => 'Logstore',
|
|
'project' => 'Project',
|
|
'region' => 'Region',
|
|
'requestId' => 'RequestId',
|
|
'status' => 'Status',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->logstore) {
|
|
$res['Logstore'] = $this->logstore;
|
|
}
|
|
if (null !== $this->project) {
|
|
$res['Project'] = $this->project;
|
|
}
|
|
if (null !== $this->region) {
|
|
$res['Region'] = $this->region;
|
|
}
|
|
if (null !== $this->requestId) {
|
|
$res['RequestId'] = $this->requestId;
|
|
}
|
|
if (null !== $this->status) {
|
|
$res['Status'] = $this->status;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return DescribeLiveDomainRealtimeLogDeliveryResponseBody
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['Logstore'])) {
|
|
$model->logstore = $map['Logstore'];
|
|
}
|
|
if (isset($map['Project'])) {
|
|
$model->project = $map['Project'];
|
|
}
|
|
if (isset($map['Region'])) {
|
|
$model->region = $map['Region'];
|
|
}
|
|
if (isset($map['RequestId'])) {
|
|
$model->requestId = $map['RequestId'];
|
|
}
|
|
if (isset($map['Status'])) {
|
|
$model->status = $map['Status'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|