短信验证 composer扩展

This commit is contained in:
“wanyongkang”
2022-05-13 17:02:00 +08:00
parent ce3cc26c02
commit 7bf5866d7c
357 changed files with 42208 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
use AlibabaCloud\Tea\Model;
class DeleteShortUrlRequest extends Model
{
/**
* @var int
*/
public $ownerId;
/**
* @var string
*/
public $resourceOwnerAccount;
/**
* @var int
*/
public $resourceOwnerId;
/**
* @var string
*/
public $sourceUrl;
protected $_name = [
'ownerId' => 'OwnerId',
'resourceOwnerAccount' => 'ResourceOwnerAccount',
'resourceOwnerId' => 'ResourceOwnerId',
'sourceUrl' => 'SourceUrl',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->ownerId) {
$res['OwnerId'] = $this->ownerId;
}
if (null !== $this->resourceOwnerAccount) {
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
}
if (null !== $this->resourceOwnerId) {
$res['ResourceOwnerId'] = $this->resourceOwnerId;
}
if (null !== $this->sourceUrl) {
$res['SourceUrl'] = $this->sourceUrl;
}
return $res;
}
/**
* @param array $map
*
* @return DeleteShortUrlRequest
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['OwnerId'])) {
$model->ownerId = $map['OwnerId'];
}
if (isset($map['ResourceOwnerAccount'])) {
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
}
if (isset($map['ResourceOwnerId'])) {
$model->resourceOwnerId = $map['ResourceOwnerId'];
}
if (isset($map['SourceUrl'])) {
$model->sourceUrl = $map['SourceUrl'];
}
return $model;
}
}