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

97 lines
2.3 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\DescribeLiveUserBillPredictionResponseBody\billPredictionData;
use AlibabaCloud\Tea\Model;
class DescribeLiveUserBillPredictionResponseBody extends Model
{
/**
* @var billPredictionData
*/
public $billPredictionData;
/**
* @var string
*/
public $billType;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $startTime;
protected $_name = [
'billPredictionData' => 'BillPredictionData',
'billType' => 'BillType',
'endTime' => 'EndTime',
'requestId' => 'RequestId',
'startTime' => 'StartTime',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->billPredictionData) {
$res['BillPredictionData'] = null !== $this->billPredictionData ? $this->billPredictionData->toMap() : null;
}
if (null !== $this->billType) {
$res['BillType'] = $this->billType;
}
if (null !== $this->endTime) {
$res['EndTime'] = $this->endTime;
}
if (null !== $this->requestId) {
$res['RequestId'] = $this->requestId;
}
if (null !== $this->startTime) {
$res['StartTime'] = $this->startTime;
}
return $res;
}
/**
* @param array $map
*
* @return DescribeLiveUserBillPredictionResponseBody
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['BillPredictionData'])) {
$model->billPredictionData = billPredictionData::fromMap($map['BillPredictionData']);
}
if (isset($map['BillType'])) {
$model->billType = $map['BillType'];
}
if (isset($map['EndTime'])) {
$model->endTime = $map['EndTime'];
}
if (isset($map['RequestId'])) {
$model->requestId = $map['RequestId'];
}
if (isset($map['StartTime'])) {
$model->startTime = $map['StartTime'];
}
return $model;
}
}