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