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