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