-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated php 2021-09-01 for appstream-center.
- Loading branch information
Showing
76 changed files
with
8,073 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Appstreamcenter\V20210901\Models; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class AccessPageGetAclRequest extends Model | ||
{ | ||
/** | ||
* @example a-075nu7bcqim2wvxli | ||
* | ||
* @var string | ||
*/ | ||
public $accessPageId; | ||
protected $_name = [ | ||
'accessPageId' => 'AccessPageId', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->accessPageId) { | ||
$res['AccessPageId'] = $this->accessPageId; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return AccessPageGetAclRequest | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['AccessPageId'])) { | ||
$model->accessPageId = $map['AccessPageId']; | ||
} | ||
|
||
return $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Appstreamcenter\V20210901\Models; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class AccessPageGetAclResponse extends Model | ||
{ | ||
/** | ||
* @var string[] | ||
*/ | ||
public $headers; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $statusCode; | ||
|
||
/** | ||
* @var AccessPageGetAclResponseBody | ||
*/ | ||
public $body; | ||
protected $_name = [ | ||
'headers' => 'headers', | ||
'statusCode' => 'statusCode', | ||
'body' => 'body', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
Model::validateRequired('headers', $this->headers, true); | ||
Model::validateRequired('statusCode', $this->statusCode, true); | ||
Model::validateRequired('body', $this->body, true); | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->headers) { | ||
$res['headers'] = $this->headers; | ||
} | ||
if (null !== $this->statusCode) { | ||
$res['statusCode'] = $this->statusCode; | ||
} | ||
if (null !== $this->body) { | ||
$res['body'] = null !== $this->body ? $this->body->toMap() : null; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return AccessPageGetAclResponse | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['headers'])) { | ||
$model->headers = $map['headers']; | ||
} | ||
if (isset($map['statusCode'])) { | ||
$model->statusCode = $map['statusCode']; | ||
} | ||
if (isset($map['body'])) { | ||
$model->body = AccessPageGetAclResponseBody::fromMap($map['body']); | ||
} | ||
|
||
return $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Appstreamcenter\V20210901\Models; | ||
|
||
use AlibabaCloud\SDK\Appstreamcenter\V20210901\Models\AccessPageGetAclResponseBody\data; | ||
use AlibabaCloud\Tea\Model; | ||
|
||
class AccessPageGetAclResponseBody extends Model | ||
{ | ||
/** | ||
* @example 200 | ||
* | ||
* @var string | ||
*/ | ||
public $code; | ||
|
||
/** | ||
* @var data[] | ||
*/ | ||
public $data; | ||
|
||
/** | ||
* @example The parameter ProductType is invalid. | ||
* | ||
* @var string | ||
*/ | ||
public $message; | ||
|
||
/** | ||
* @description Id of the request | ||
* | ||
* @example 1CBAFFAB-B697-4049-A9B1-67E1FC5F**** | ||
* | ||
* @var string | ||
*/ | ||
public $requestId; | ||
|
||
/** | ||
* @example true | ||
* | ||
* @var string | ||
*/ | ||
public $success; | ||
protected $_name = [ | ||
'code' => 'Code', | ||
'data' => 'Data', | ||
'message' => 'Message', | ||
'requestId' => 'RequestId', | ||
'success' => 'Success', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->code) { | ||
$res['Code'] = $this->code; | ||
} | ||
if (null !== $this->data) { | ||
$res['Data'] = []; | ||
if (null !== $this->data && \is_array($this->data)) { | ||
$n = 0; | ||
foreach ($this->data as $item) { | ||
$res['Data'][$n++] = null !== $item ? $item->toMap() : $item; | ||
} | ||
} | ||
} | ||
if (null !== $this->message) { | ||
$res['Message'] = $this->message; | ||
} | ||
if (null !== $this->requestId) { | ||
$res['RequestId'] = $this->requestId; | ||
} | ||
if (null !== $this->success) { | ||
$res['Success'] = $this->success; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return AccessPageGetAclResponseBody | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['Code'])) { | ||
$model->code = $map['Code']; | ||
} | ||
if (isset($map['Data'])) { | ||
if (!empty($map['Data'])) { | ||
$model->data = []; | ||
$n = 0; | ||
foreach ($map['Data'] as $item) { | ||
$model->data[$n++] = null !== $item ? data::fromMap($item) : $item; | ||
} | ||
} | ||
} | ||
if (isset($map['Message'])) { | ||
$model->message = $map['Message']; | ||
} | ||
if (isset($map['RequestId'])) { | ||
$model->requestId = $map['RequestId']; | ||
} | ||
if (isset($map['Success'])) { | ||
$model->success = $map['Success']; | ||
} | ||
|
||
return $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\Appstreamcenter\V20210901\Models\AccessPageGetAclResponseBody; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class data extends Model | ||
{ | ||
/** | ||
* @example FREE_ACCESS | ||
* | ||
* @var string | ||
*/ | ||
public $accessMode; | ||
|
||
/** | ||
* @example https://wuying.aliyun.com/native-solution/cloud-flow/view?id=a-075nu7bcqim2wvxli&token=8141B1A674D48ACB8E5D2D6CE53FDB2F3CF8710A5F8F78578D5254BC6F****** | ||
* | ||
* @var string | ||
*/ | ||
public $accessUrl; | ||
|
||
/** | ||
* @example 2023-02-08T03:52Z | ||
* | ||
* @var int | ||
*/ | ||
public $effectTime; | ||
|
||
/** | ||
* @example hour | ||
* | ||
* @var string | ||
*/ | ||
public $unit; | ||
|
||
/** | ||
* @example 2023-12-05 14:28:20 | ||
* | ||
* @var string | ||
*/ | ||
public $urlExpireTime; | ||
protected $_name = [ | ||
'accessMode' => 'AccessMode', | ||
'accessUrl' => 'AccessUrl', | ||
'effectTime' => 'EffectTime', | ||
'unit' => 'Unit', | ||
'urlExpireTime' => 'UrlExpireTime', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->accessMode) { | ||
$res['AccessMode'] = $this->accessMode; | ||
} | ||
if (null !== $this->accessUrl) { | ||
$res['AccessUrl'] = $this->accessUrl; | ||
} | ||
if (null !== $this->effectTime) { | ||
$res['EffectTime'] = $this->effectTime; | ||
} | ||
if (null !== $this->unit) { | ||
$res['Unit'] = $this->unit; | ||
} | ||
if (null !== $this->urlExpireTime) { | ||
$res['UrlExpireTime'] = $this->urlExpireTime; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return data | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['AccessMode'])) { | ||
$model->accessMode = $map['AccessMode']; | ||
} | ||
if (isset($map['AccessUrl'])) { | ||
$model->accessUrl = $map['AccessUrl']; | ||
} | ||
if (isset($map['EffectTime'])) { | ||
$model->effectTime = $map['EffectTime']; | ||
} | ||
if (isset($map['Unit'])) { | ||
$model->unit = $map['Unit']; | ||
} | ||
if (isset($map['UrlExpireTime'])) { | ||
$model->urlExpireTime = $map['UrlExpireTime']; | ||
} | ||
|
||
return $model; | ||
} | ||
} |
Oops, something went wrong.