init commit

This commit is contained in:
2026-03-17 09:56:00 +08:00
commit e2c8ae752d
6827 changed files with 1211784 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\CheckMobilesCardSupportResponseBody;
use AlibabaCloud\Dara\Model;
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\CheckMobilesCardSupportResponseBody\data\queryResult;
class data extends Model
{
/**
* @var queryResult[]
*/
public $queryResult;
protected $_name = [
'queryResult' => 'queryResult',
];
public function validate()
{
if (\is_array($this->queryResult)) {
Model::validateArray($this->queryResult);
}
parent::validate();
}
public function toArray($noStream = false)
{
$res = [];
if (null !== $this->queryResult) {
if (\is_array($this->queryResult)) {
$res['queryResult'] = [];
$n1 = 0;
foreach ($this->queryResult as $item1) {
$res['queryResult'][$n1++] = null !== $item1 ? $item1->toArray($noStream) : $item1;
}
}
}
return $res;
}
public function toMap($noStream = false)
{
return $this->toArray($noStream);
}
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['queryResult'])) {
if (!empty($map['queryResult'])) {
$model->queryResult = [];
$n1 = 0;
foreach ($map['queryResult'] as $item1) {
$model->queryResult[$n1++] = queryResult::fromMap($item1);
}
}
}
return $model;
}
}

View File

@@ -0,0 +1,62 @@
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\CheckMobilesCardSupportResponseBody\data;
use AlibabaCloud\Dara\Model;
class queryResult extends Model
{
/**
* @var string
*/
public $mobile;
/**
* @var bool
*/
public $support;
protected $_name = [
'mobile' => 'mobile',
'support' => 'support',
];
public function validate()
{
parent::validate();
}
public function toArray($noStream = false)
{
$res = [];
if (null !== $this->mobile) {
$res['mobile'] = $this->mobile;
}
if (null !== $this->support) {
$res['support'] = $this->support;
}
return $res;
}
public function toMap($noStream = false)
{
return $this->toArray($noStream);
}
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['mobile'])) {
$model->mobile = $map['mobile'];
}
if (isset($map['support'])) {
$model->support = $map['support'];
}
return $model;
}
}