123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- // This file is auto-generated, don't edit it. Thanks.
- namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
- use AlibabaCloud\Tea\Model;
- class DescribeSdkUrlRequest extends Model
- {
- /**
- * @var int
- */
- public $id;
- /**
- * @var bool
- */
- public $debug;
- protected $_name = [
- 'id' => 'Id',
- 'debug' => 'Debug',
- ];
- public function validate()
- {
- Model::validateRequired('id', $this->id, true);
- }
- public function toMap()
- {
- $res = [];
- if (null !== $this->id) {
- $res['Id'] = $this->id;
- }
- if (null !== $this->debug) {
- $res['Debug'] = $this->debug;
- }
- return $res;
- }
- /**
- * @param array $map
- *
- * @return DescribeSdkUrlRequest
- */
- public static function fromMap($map = [])
- {
- $model = new self();
- if (isset($map['Id'])) {
- $model->id = $map['Id'];
- }
- if (isset($map['Debug'])) {
- $model->debug = $map['Debug'];
- }
- return $model;
- }
- }
|