blob: ab84d3afd44e1904b54c22c8a58a73595a5ff5ee [file] [log] [blame]
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace RocketMQ\Eventbridge\SDK\Models;
use AlibabaCloud\Tea\Model;
class DeleteEventBusResponseBody extends Model {
protected $_name = [
'code' => 'code',
'message' => 'message',
'requestId' => 'requestId',
];
public function validate() {}
public function toMap() {
$res = [];
if (null !== $this->code) {
$res['code'] = $this->code;
}
if (null !== $this->message) {
$res['message'] = $this->message;
}
if (null !== $this->requestId) {
$res['requestId'] = $this->requestId;
}
return $res;
}
/**
* @param array $map
* @return DeleteEventBusResponseBody
*/
public static function fromMap($map = []) {
$model = new self();
if(isset($map['code'])){
$model->code = $map['code'];
}
if(isset($map['message'])){
$model->message = $map['message'];
}
if(isset($map['requestId'])){
$model->requestId = $map['requestId'];
}
return $model;
}
/**
* @description The returned HTTP status code. The HTTP status code 200 indicates that the request is successful.
* @example 200
* @var string
*/
public $code;
/**
* @description The returned error message.
* @example EventBusNotExist
* @var string
*/
public $message;
/**
* @description The request ID.
* @example C229E140-1A5C-5D55-8904-CFC5BA4CAA98
* @var string
*/
public $requestId;
}