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,76 @@
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\AddShortUrlResponseBody;
use AlibabaCloud\Dara\Model;
class data extends Model
{
/**
* @var string
*/
public $expireDate;
/**
* @var string
*/
public $shortUrl;
/**
* @var string
*/
public $sourceUrl;
protected $_name = [
'expireDate' => 'ExpireDate',
'shortUrl' => 'ShortUrl',
'sourceUrl' => 'SourceUrl',
];
public function validate()
{
parent::validate();
}
public function toArray($noStream = false)
{
$res = [];
if (null !== $this->expireDate) {
$res['ExpireDate'] = $this->expireDate;
}
if (null !== $this->shortUrl) {
$res['ShortUrl'] = $this->shortUrl;
}
if (null !== $this->sourceUrl) {
$res['SourceUrl'] = $this->sourceUrl;
}
return $res;
}
public function toMap($noStream = false)
{
return $this->toArray($noStream);
}
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['ExpireDate'])) {
$model->expireDate = $map['ExpireDate'];
}
if (isset($map['ShortUrl'])) {
$model->shortUrl = $map['ShortUrl'];
}
if (isset($map['SourceUrl'])) {
$model->sourceUrl = $map['SourceUrl'];
}
return $model;
}
}