提交服务端基础框架
This commit is contained in:
1807
Server/vendor/alibabacloud/dysmsapi-20170525/src/Dysmsapi.php
vendored
Executable file
1807
Server/vendor/alibabacloud/dysmsapi-20170525/src/Dysmsapi.php
vendored
Executable file
File diff suppressed because it is too large
Load Diff
107
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlRequest.php
vendored
Executable file
107
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlRequest.php
vendored
Executable file
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddShortUrlRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $effectiveDays;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $shortUrlName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sourceUrl;
|
||||
protected $_name = [
|
||||
'effectiveDays' => 'EffectiveDays',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'shortUrlName' => 'ShortUrlName',
|
||||
'sourceUrl' => 'SourceUrl',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->effectiveDays) {
|
||||
$res['EffectiveDays'] = $this->effectiveDays;
|
||||
}
|
||||
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->shortUrlName) {
|
||||
$res['ShortUrlName'] = $this->shortUrlName;
|
||||
}
|
||||
if (null !== $this->sourceUrl) {
|
||||
$res['SourceUrl'] = $this->sourceUrl;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddShortUrlRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['EffectiveDays'])) {
|
||||
$model->effectiveDays = $map['EffectiveDays'];
|
||||
}
|
||||
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['ShortUrlName'])) {
|
||||
$model->shortUrlName = $map['ShortUrlName'];
|
||||
}
|
||||
if (isset($map['SourceUrl'])) {
|
||||
$model->sourceUrl = $map['SourceUrl'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddShortUrlResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var AddShortUrlResponseBody
|
||||
*/
|
||||
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 AddShortUrlResponse
|
||||
*/
|
||||
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 = AddShortUrlResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\AddShortUrlResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddShortUrlResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddShortUrlResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponseBody/data.php
vendored
Executable file
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddShortUrlResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\AddShortUrlResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\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()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignRequest.php
vendored
Executable file
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignRequest.php
vendored
Executable file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\AddSmsSignRequest\signFileList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddSmsSignRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $remark;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var signFileList[]
|
||||
*/
|
||||
public $signFileList;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $signSource;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $signType;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'remark' => 'Remark',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'signFileList' => 'SignFileList',
|
||||
'signName' => 'SignName',
|
||||
'signSource' => 'SignSource',
|
||||
'signType' => 'SignType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->remark) {
|
||||
$res['Remark'] = $this->remark;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->signFileList) {
|
||||
$res['SignFileList'] = [];
|
||||
if (null !== $this->signFileList && \is_array($this->signFileList)) {
|
||||
$n = 0;
|
||||
foreach ($this->signFileList as $item) {
|
||||
$res['SignFileList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->signSource) {
|
||||
$res['SignSource'] = $this->signSource;
|
||||
}
|
||||
if (null !== $this->signType) {
|
||||
$res['SignType'] = $this->signType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddSmsSignRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['Remark'])) {
|
||||
$model->remark = $map['Remark'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SignFileList'])) {
|
||||
if (!empty($map['SignFileList'])) {
|
||||
$model->signFileList = [];
|
||||
$n = 0;
|
||||
foreach ($map['SignFileList'] as $item) {
|
||||
$model->signFileList[$n++] = null !== $item ? signFileList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SignSource'])) {
|
||||
$model->signSource = $map['SignSource'];
|
||||
}
|
||||
if (isset($map['SignType'])) {
|
||||
$model->signType = $map['SignType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignRequest/signFileList.php
vendored
Executable file
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignRequest/signFileList.php
vendored
Executable file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\AddSmsSignRequest;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class signFileList extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fileContents;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fileSuffix;
|
||||
protected $_name = [
|
||||
'fileContents' => 'FileContents',
|
||||
'fileSuffix' => 'FileSuffix',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->fileContents) {
|
||||
$res['FileContents'] = $this->fileContents;
|
||||
}
|
||||
if (null !== $this->fileSuffix) {
|
||||
$res['FileSuffix'] = $this->fileSuffix;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return signFileList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['FileContents'])) {
|
||||
$model->fileContents = $map['FileContents'];
|
||||
}
|
||||
if (isset($map['FileSuffix'])) {
|
||||
$model->fileSuffix = $map['FileSuffix'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddSmsSignResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var AddSmsSignResponseBody
|
||||
*/
|
||||
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 AddSmsSignResponse
|
||||
*/
|
||||
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 = AddSmsSignResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsSignResponseBody.php
vendored
Executable 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 AddSmsSignResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddSmsSignResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
119
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateRequest.php
vendored
Executable file
119
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateRequest.php
vendored
Executable file
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddSmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $remark;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateContent;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $templateType;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'remark' => 'Remark',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'templateContent' => 'TemplateContent',
|
||||
'templateName' => 'TemplateName',
|
||||
'templateType' => 'TemplateType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->remark) {
|
||||
$res['Remark'] = $this->remark;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->templateContent) {
|
||||
$res['TemplateContent'] = $this->templateContent;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
if (null !== $this->templateType) {
|
||||
$res['TemplateType'] = $this->templateType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddSmsTemplateRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['Remark'])) {
|
||||
$model->remark = $map['Remark'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['TemplateContent'])) {
|
||||
$model->templateContent = $map['TemplateContent'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
if (isset($map['TemplateType'])) {
|
||||
$model->templateType = $map['TemplateType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class AddSmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var AddSmsTemplateResponseBody
|
||||
*/
|
||||
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 AddSmsTemplateResponse
|
||||
*/
|
||||
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 = AddSmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/AddSmsTemplateResponseBody.php
vendored
Executable 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 AddSmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return AddSmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
61
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportRequest.php
vendored
Executable file
61
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportRequest.php
vendored
Executable file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckMobilesCardSupportRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var mixed[][]
|
||||
*/
|
||||
public $mobiles;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'mobiles' => 'Mobiles',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->mobiles) {
|
||||
$res['Mobiles'] = $this->mobiles;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CheckMobilesCardSupportRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Mobiles'])) {
|
||||
if (!empty($map['Mobiles'])) {
|
||||
$model->mobiles = $map['Mobiles'];
|
||||
}
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckMobilesCardSupportResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var CheckMobilesCardSupportResponseBody
|
||||
*/
|
||||
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 CheckMobilesCardSupportResponse
|
||||
*/
|
||||
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 = CheckMobilesCardSupportResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
85
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportResponseBody.php
vendored
Executable file
85
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CheckMobilesCardSupportResponseBody.php
vendored
Executable file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckMobilesCardSupportResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var mixed[][]
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = $this->data;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CheckMobilesCardSupportResponseBody
|
||||
*/
|
||||
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 = $map['Data'];
|
||||
}
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateRequest.php
vendored
Executable 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 CreateCardSmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $factorys;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $memo;
|
||||
|
||||
/**
|
||||
* @var mixed[]
|
||||
*/
|
||||
public $template;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
protected $_name = [
|
||||
'factorys' => 'Factorys',
|
||||
'memo' => 'Memo',
|
||||
'template' => 'Template',
|
||||
'templateName' => 'TemplateName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->factorys) {
|
||||
$res['Factorys'] = $this->factorys;
|
||||
}
|
||||
if (null !== $this->memo) {
|
||||
$res['Memo'] = $this->memo;
|
||||
}
|
||||
if (null !== $this->template) {
|
||||
$res['Template'] = $this->template;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateCardSmsTemplateRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Factorys'])) {
|
||||
$model->factorys = $map['Factorys'];
|
||||
}
|
||||
if (isset($map['Memo'])) {
|
||||
$model->memo = $map['Memo'];
|
||||
}
|
||||
if (isset($map['Template'])) {
|
||||
$model->template = $map['Template'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateCardSmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var CreateCardSmsTemplateResponseBody
|
||||
*/
|
||||
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 CreateCardSmsTemplateResponse
|
||||
*/
|
||||
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 = CreateCardSmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\CreateCardSmsTemplateResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateCardSmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateCardSmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponseBody/data.php
vendored
Executable file
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\CreateCardSmsTemplateResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateShrinkRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/CreateCardSmsTemplateShrinkRequest.php
vendored
Executable 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 CreateCardSmsTemplateShrinkRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $factorys;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $memo;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateShrink;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
protected $_name = [
|
||||
'factorys' => 'Factorys',
|
||||
'memo' => 'Memo',
|
||||
'templateShrink' => 'Template',
|
||||
'templateName' => 'TemplateName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->factorys) {
|
||||
$res['Factorys'] = $this->factorys;
|
||||
}
|
||||
if (null !== $this->memo) {
|
||||
$res['Memo'] = $this->memo;
|
||||
}
|
||||
if (null !== $this->templateShrink) {
|
||||
$res['Template'] = $this->templateShrink;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateCardSmsTemplateShrinkRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Factorys'])) {
|
||||
$model->factorys = $map['Factorys'];
|
||||
}
|
||||
if (isset($map['Memo'])) {
|
||||
$model->memo = $map['Memo'];
|
||||
}
|
||||
if (isset($map['Template'])) {
|
||||
$model->templateShrink = $map['Template'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlRequest.php
vendored
Executable 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;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteShortUrlResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var DeleteShortUrlResponseBody
|
||||
*/
|
||||
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 DeleteShortUrlResponse
|
||||
*/
|
||||
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 = DeleteShortUrlResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlResponseBody.php
vendored
Executable file
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteShortUrlResponseBody.php
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteShortUrlResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteShortUrlResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignRequest.php
vendored
Executable 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 DeleteSmsSignRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
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->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteSmsSignRequest
|
||||
*/
|
||||
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['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteSmsSignResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var DeleteSmsSignResponseBody
|
||||
*/
|
||||
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 DeleteSmsSignResponse
|
||||
*/
|
||||
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 = DeleteSmsSignResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsSignResponseBody.php
vendored
Executable 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 DeleteSmsSignResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteSmsSignResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateRequest.php
vendored
Executable 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 DeleteSmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
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->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteSmsTemplateRequest
|
||||
*/
|
||||
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['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteSmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var DeleteSmsTemplateResponseBody
|
||||
*/
|
||||
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 DeleteSmsTemplateResponse
|
||||
*/
|
||||
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 = DeleteSmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/DeleteSmsTemplateResponseBody.php
vendored
Executable 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 DeleteSmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteSmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
143
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkRequest.php
vendored
Executable file
143
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkRequest.php
vendored
Executable file
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetCardSmsLinkRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cardCodeType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cardLinkType;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardTemplateParamJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $customShortCodeJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $domain;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumberJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signNameJson;
|
||||
protected $_name = [
|
||||
'cardCodeType' => 'CardCodeType',
|
||||
'cardLinkType' => 'CardLinkType',
|
||||
'cardTemplateCode' => 'CardTemplateCode',
|
||||
'cardTemplateParamJson' => 'CardTemplateParamJson',
|
||||
'customShortCodeJson' => 'CustomShortCodeJson',
|
||||
'domain' => 'Domain',
|
||||
'outId' => 'OutId',
|
||||
'phoneNumberJson' => 'PhoneNumberJson',
|
||||
'signNameJson' => 'SignNameJson',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->cardCodeType) {
|
||||
$res['CardCodeType'] = $this->cardCodeType;
|
||||
}
|
||||
if (null !== $this->cardLinkType) {
|
||||
$res['CardLinkType'] = $this->cardLinkType;
|
||||
}
|
||||
if (null !== $this->cardTemplateCode) {
|
||||
$res['CardTemplateCode'] = $this->cardTemplateCode;
|
||||
}
|
||||
if (null !== $this->cardTemplateParamJson) {
|
||||
$res['CardTemplateParamJson'] = $this->cardTemplateParamJson;
|
||||
}
|
||||
if (null !== $this->customShortCodeJson) {
|
||||
$res['CustomShortCodeJson'] = $this->customShortCodeJson;
|
||||
}
|
||||
if (null !== $this->domain) {
|
||||
$res['Domain'] = $this->domain;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->phoneNumberJson) {
|
||||
$res['PhoneNumberJson'] = $this->phoneNumberJson;
|
||||
}
|
||||
if (null !== $this->signNameJson) {
|
||||
$res['SignNameJson'] = $this->signNameJson;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetCardSmsLinkRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CardCodeType'])) {
|
||||
$model->cardCodeType = $map['CardCodeType'];
|
||||
}
|
||||
if (isset($map['CardLinkType'])) {
|
||||
$model->cardLinkType = $map['CardLinkType'];
|
||||
}
|
||||
if (isset($map['CardTemplateCode'])) {
|
||||
$model->cardTemplateCode = $map['CardTemplateCode'];
|
||||
}
|
||||
if (isset($map['CardTemplateParamJson'])) {
|
||||
$model->cardTemplateParamJson = $map['CardTemplateParamJson'];
|
||||
}
|
||||
if (isset($map['CustomShortCodeJson'])) {
|
||||
$model->customShortCodeJson = $map['CustomShortCodeJson'];
|
||||
}
|
||||
if (isset($map['Domain'])) {
|
||||
$model->domain = $map['Domain'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['PhoneNumberJson'])) {
|
||||
$model->phoneNumberJson = $map['PhoneNumberJson'];
|
||||
}
|
||||
if (isset($map['SignNameJson'])) {
|
||||
$model->signNameJson = $map['SignNameJson'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetCardSmsLinkResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetCardSmsLinkResponseBody
|
||||
*/
|
||||
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 GetCardSmsLinkResponse
|
||||
*/
|
||||
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 = GetCardSmsLinkResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetCardSmsLinkResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetCardSmsLinkResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetCardSmsLinkResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponseBody/data.php
vendored
Executable file
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetCardSmsLinkResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetCardSmsLinkResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardPhoneNumbers;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardSignNames;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardSmsLinks;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cardTmpState;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $notMediaMobiles;
|
||||
protected $_name = [
|
||||
'cardPhoneNumbers' => 'CardPhoneNumbers',
|
||||
'cardSignNames' => 'CardSignNames',
|
||||
'cardSmsLinks' => 'CardSmsLinks',
|
||||
'cardTmpState' => 'CardTmpState',
|
||||
'notMediaMobiles' => 'NotMediaMobiles',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->cardPhoneNumbers) {
|
||||
$res['CardPhoneNumbers'] = $this->cardPhoneNumbers;
|
||||
}
|
||||
if (null !== $this->cardSignNames) {
|
||||
$res['CardSignNames'] = $this->cardSignNames;
|
||||
}
|
||||
if (null !== $this->cardSmsLinks) {
|
||||
$res['CardSmsLinks'] = $this->cardSmsLinks;
|
||||
}
|
||||
if (null !== $this->cardTmpState) {
|
||||
$res['CardTmpState'] = $this->cardTmpState;
|
||||
}
|
||||
if (null !== $this->notMediaMobiles) {
|
||||
$res['NotMediaMobiles'] = $this->notMediaMobiles;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CardPhoneNumbers'])) {
|
||||
$model->cardPhoneNumbers = $map['CardPhoneNumbers'];
|
||||
}
|
||||
if (isset($map['CardSignNames'])) {
|
||||
$model->cardSignNames = $map['CardSignNames'];
|
||||
}
|
||||
if (isset($map['CardSmsLinks'])) {
|
||||
$model->cardSmsLinks = $map['CardSmsLinks'];
|
||||
}
|
||||
if (isset($map['CardTmpState'])) {
|
||||
$model->cardTmpState = $map['CardTmpState'];
|
||||
}
|
||||
if (isset($map['NotMediaMobiles'])) {
|
||||
$model->notMediaMobiles = $map['NotMediaMobiles'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdRequest.php
vendored
Executable file
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdRequest.php
vendored
Executable file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMediaResourceIdRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $extendInfo;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $fileSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $memo;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ossKey;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceType;
|
||||
protected $_name = [
|
||||
'extendInfo' => 'ExtendInfo',
|
||||
'fileSize' => 'FileSize',
|
||||
'memo' => 'Memo',
|
||||
'ossKey' => 'OssKey',
|
||||
'resourceType' => 'ResourceType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->extendInfo) {
|
||||
$res['ExtendInfo'] = $this->extendInfo;
|
||||
}
|
||||
if (null !== $this->fileSize) {
|
||||
$res['FileSize'] = $this->fileSize;
|
||||
}
|
||||
if (null !== $this->memo) {
|
||||
$res['Memo'] = $this->memo;
|
||||
}
|
||||
if (null !== $this->ossKey) {
|
||||
$res['OssKey'] = $this->ossKey;
|
||||
}
|
||||
if (null !== $this->resourceType) {
|
||||
$res['ResourceType'] = $this->resourceType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetMediaResourceIdRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['ExtendInfo'])) {
|
||||
$model->extendInfo = $map['ExtendInfo'];
|
||||
}
|
||||
if (isset($map['FileSize'])) {
|
||||
$model->fileSize = $map['FileSize'];
|
||||
}
|
||||
if (isset($map['Memo'])) {
|
||||
$model->memo = $map['Memo'];
|
||||
}
|
||||
if (isset($map['OssKey'])) {
|
||||
$model->ossKey = $map['OssKey'];
|
||||
}
|
||||
if (isset($map['ResourceType'])) {
|
||||
$model->resourceType = $map['ResourceType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMediaResourceIdResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetMediaResourceIdResponseBody
|
||||
*/
|
||||
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 GetMediaResourceIdResponse
|
||||
*/
|
||||
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 = GetMediaResourceIdResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetMediaResourceIdResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMediaResourceIdResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetMediaResourceIdResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponseBody/data.php
vendored
Executable file
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetMediaResourceIdResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetMediaResourceIdResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceId;
|
||||
protected $_name = [
|
||||
'resourceId' => 'ResourceId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->resourceId) {
|
||||
$res['ResourceId'] = $this->resourceId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['ResourceId'])) {
|
||||
$model->resourceId = $map['ResourceId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetOSSInfoForCardTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetOSSInfoForCardTemplateResponseBody
|
||||
*/
|
||||
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 GetOSSInfoForCardTemplateResponse
|
||||
*/
|
||||
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 = GetOSSInfoForCardTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetOSSInfoForCardTemplateResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetOSSInfoForCardTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetOSSInfoForCardTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponseBody/data.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/GetOSSInfoForCardTemplateResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\GetOSSInfoForCardTemplateResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $accessKeyId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $aliUid;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bucket;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $expireTime;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $host;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $policy;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signature;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startPath;
|
||||
protected $_name = [
|
||||
'accessKeyId' => 'AccessKeyId',
|
||||
'aliUid' => 'AliUid',
|
||||
'bucket' => 'Bucket',
|
||||
'expireTime' => 'ExpireTime',
|
||||
'host' => 'Host',
|
||||
'policy' => 'Policy',
|
||||
'signature' => 'Signature',
|
||||
'startPath' => 'StartPath',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessKeyId) {
|
||||
$res['AccessKeyId'] = $this->accessKeyId;
|
||||
}
|
||||
if (null !== $this->aliUid) {
|
||||
$res['AliUid'] = $this->aliUid;
|
||||
}
|
||||
if (null !== $this->bucket) {
|
||||
$res['Bucket'] = $this->bucket;
|
||||
}
|
||||
if (null !== $this->expireTime) {
|
||||
$res['ExpireTime'] = $this->expireTime;
|
||||
}
|
||||
if (null !== $this->host) {
|
||||
$res['Host'] = $this->host;
|
||||
}
|
||||
if (null !== $this->policy) {
|
||||
$res['Policy'] = $this->policy;
|
||||
}
|
||||
if (null !== $this->signature) {
|
||||
$res['Signature'] = $this->signature;
|
||||
}
|
||||
if (null !== $this->startPath) {
|
||||
$res['StartPath'] = $this->startPath;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessKeyId'])) {
|
||||
$model->accessKeyId = $map['AccessKeyId'];
|
||||
}
|
||||
if (isset($map['AliUid'])) {
|
||||
$model->aliUid = $map['AliUid'];
|
||||
}
|
||||
if (isset($map['Bucket'])) {
|
||||
$model->bucket = $map['Bucket'];
|
||||
}
|
||||
if (isset($map['ExpireTime'])) {
|
||||
$model->expireTime = $map['ExpireTime'];
|
||||
}
|
||||
if (isset($map['Host'])) {
|
||||
$model->host = $map['Host'];
|
||||
}
|
||||
if (isset($map['Policy'])) {
|
||||
$model->policy = $map['Policy'];
|
||||
}
|
||||
if (isset($map['Signature'])) {
|
||||
$model->signature = $map['Signature'];
|
||||
}
|
||||
if (isset($map['StartPath'])) {
|
||||
$model->startPath = $map['StartPath'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
170
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesRequest.php
vendored
Executable file
170
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesRequest.php
vendored
Executable file
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesRequest\tag;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ListTagResourcesRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextToken;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $prodCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $regionId;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $resourceId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceType;
|
||||
|
||||
/**
|
||||
* @var tag[]
|
||||
*/
|
||||
public $tag;
|
||||
protected $_name = [
|
||||
'nextToken' => 'NextToken',
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageSize' => 'PageSize',
|
||||
'prodCode' => 'ProdCode',
|
||||
'regionId' => 'RegionId',
|
||||
'resourceId' => 'ResourceId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'resourceType' => 'ResourceType',
|
||||
'tag' => 'Tag',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->nextToken) {
|
||||
$res['NextToken'] = $this->nextToken;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->prodCode) {
|
||||
$res['ProdCode'] = $this->prodCode;
|
||||
}
|
||||
if (null !== $this->regionId) {
|
||||
$res['RegionId'] = $this->regionId;
|
||||
}
|
||||
if (null !== $this->resourceId) {
|
||||
$res['ResourceId'] = $this->resourceId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->resourceType) {
|
||||
$res['ResourceType'] = $this->resourceType;
|
||||
}
|
||||
if (null !== $this->tag) {
|
||||
$res['Tag'] = [];
|
||||
if (null !== $this->tag && \is_array($this->tag)) {
|
||||
$n = 0;
|
||||
foreach ($this->tag as $item) {
|
||||
$res['Tag'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ListTagResourcesRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['NextToken'])) {
|
||||
$model->nextToken = $map['NextToken'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['ProdCode'])) {
|
||||
$model->prodCode = $map['ProdCode'];
|
||||
}
|
||||
if (isset($map['RegionId'])) {
|
||||
$model->regionId = $map['RegionId'];
|
||||
}
|
||||
if (isset($map['ResourceId'])) {
|
||||
if (!empty($map['ResourceId'])) {
|
||||
$model->resourceId = $map['ResourceId'];
|
||||
}
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceType'])) {
|
||||
$model->resourceType = $map['ResourceType'];
|
||||
}
|
||||
if (isset($map['Tag'])) {
|
||||
if (!empty($map['Tag'])) {
|
||||
$model->tag = [];
|
||||
$n = 0;
|
||||
foreach ($map['Tag'] as $item) {
|
||||
$model->tag[$n++] = null !== $item ? tag::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesRequest/tag.php
vendored
Executable file
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesRequest/tag.php
vendored
Executable file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesRequest;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class tag extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $key;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $value;
|
||||
protected $_name = [
|
||||
'key' => 'Key',
|
||||
'value' => 'Value',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->key) {
|
||||
$res['Key'] = $this->key;
|
||||
}
|
||||
if (null !== $this->value) {
|
||||
$res['Value'] = $this->value;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return tag
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Key'])) {
|
||||
$model->key = $map['Key'];
|
||||
}
|
||||
if (isset($map['Value'])) {
|
||||
$model->value = $map['Value'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ListTagResourcesResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var ListTagResourcesResponseBody
|
||||
*/
|
||||
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 ListTagResourcesResponse
|
||||
*/
|
||||
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 = ListTagResourcesResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesResponseBody\tagResources;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ListTagResourcesResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $nextToken;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var tagResources
|
||||
*/
|
||||
public $tagResources;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'nextToken' => 'NextToken',
|
||||
'requestId' => 'RequestId',
|
||||
'tagResources' => 'TagResources',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->nextToken) {
|
||||
$res['NextToken'] = $this->nextToken;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->tagResources) {
|
||||
$res['TagResources'] = null !== $this->tagResources ? $this->tagResources->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ListTagResourcesResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['NextToken'])) {
|
||||
$model->nextToken = $map['NextToken'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TagResources'])) {
|
||||
$model->tagResources = tagResources::fromMap($map['TagResources']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
60
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponseBody/tagResources.php
vendored
Executable file
60
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ListTagResourcesResponseBody/tagResources.php
vendored
Executable file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesResponseBody\tagResources\tagResource;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class tagResources extends Model
|
||||
{
|
||||
/**
|
||||
* @var tagResource[]
|
||||
*/
|
||||
public $tagResource;
|
||||
protected $_name = [
|
||||
'tagResource' => 'TagResource',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->tagResource) {
|
||||
$res['TagResource'] = [];
|
||||
if (null !== $this->tagResource && \is_array($this->tagResource)) {
|
||||
$n = 0;
|
||||
foreach ($this->tagResource as $item) {
|
||||
$res['TagResource'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return tagResources
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['TagResource'])) {
|
||||
if (!empty($map['TagResource'])) {
|
||||
$model->tagResource = [];
|
||||
$n = 0;
|
||||
foreach ($map['TagResource'] as $item) {
|
||||
$model->tagResource[$n++] = null !== $item ? tagResource::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ListTagResourcesResponseBody\tagResources;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class tagResource extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceType;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tagKey;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $tagValue;
|
||||
protected $_name = [
|
||||
'resourceId' => 'ResourceId',
|
||||
'resourceType' => 'ResourceType',
|
||||
'tagKey' => 'TagKey',
|
||||
'tagValue' => 'TagValue',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->resourceId) {
|
||||
$res['ResourceId'] = $this->resourceId;
|
||||
}
|
||||
if (null !== $this->resourceType) {
|
||||
$res['ResourceType'] = $this->resourceType;
|
||||
}
|
||||
if (null !== $this->tagKey) {
|
||||
$res['TagKey'] = $this->tagKey;
|
||||
}
|
||||
if (null !== $this->tagValue) {
|
||||
$res['TagValue'] = $this->tagValue;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return tagResource
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['ResourceId'])) {
|
||||
$model->resourceId = $map['ResourceId'];
|
||||
}
|
||||
if (isset($map['ResourceType'])) {
|
||||
$model->resourceType = $map['ResourceType'];
|
||||
}
|
||||
if (isset($map['TagKey'])) {
|
||||
$model->tagKey = $map['TagKey'];
|
||||
}
|
||||
if (isset($map['TagValue'])) {
|
||||
$model->tagValue = $map['TagValue'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignRequest.php
vendored
Executable file
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignRequest.php
vendored
Executable file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ModifySmsSignRequest\signFileList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ModifySmsSignRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $remark;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var signFileList[]
|
||||
*/
|
||||
public $signFileList;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $signSource;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $signType;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'remark' => 'Remark',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'signFileList' => 'SignFileList',
|
||||
'signName' => 'SignName',
|
||||
'signSource' => 'SignSource',
|
||||
'signType' => 'SignType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->remark) {
|
||||
$res['Remark'] = $this->remark;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->signFileList) {
|
||||
$res['SignFileList'] = [];
|
||||
if (null !== $this->signFileList && \is_array($this->signFileList)) {
|
||||
$n = 0;
|
||||
foreach ($this->signFileList as $item) {
|
||||
$res['SignFileList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->signSource) {
|
||||
$res['SignSource'] = $this->signSource;
|
||||
}
|
||||
if (null !== $this->signType) {
|
||||
$res['SignType'] = $this->signType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ModifySmsSignRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['Remark'])) {
|
||||
$model->remark = $map['Remark'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SignFileList'])) {
|
||||
if (!empty($map['SignFileList'])) {
|
||||
$model->signFileList = [];
|
||||
$n = 0;
|
||||
foreach ($map['SignFileList'] as $item) {
|
||||
$model->signFileList[$n++] = null !== $item ? signFileList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SignSource'])) {
|
||||
$model->signSource = $map['SignSource'];
|
||||
}
|
||||
if (isset($map['SignType'])) {
|
||||
$model->signType = $map['SignType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignRequest/signFileList.php
vendored
Executable file
59
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignRequest/signFileList.php
vendored
Executable file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\ModifySmsSignRequest;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class signFileList extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fileContents;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fileSuffix;
|
||||
protected $_name = [
|
||||
'fileContents' => 'FileContents',
|
||||
'fileSuffix' => 'FileSuffix',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->fileContents) {
|
||||
$res['FileContents'] = $this->fileContents;
|
||||
}
|
||||
if (null !== $this->fileSuffix) {
|
||||
$res['FileSuffix'] = $this->fileSuffix;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return signFileList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['FileContents'])) {
|
||||
$model->fileContents = $map['FileContents'];
|
||||
}
|
||||
if (isset($map['FileSuffix'])) {
|
||||
$model->fileSuffix = $map['FileSuffix'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ModifySmsSignResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var ModifySmsSignResponseBody
|
||||
*/
|
||||
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 ModifySmsSignResponse
|
||||
*/
|
||||
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 = ModifySmsSignResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsSignResponseBody.php
vendored
Executable 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 ModifySmsSignResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ModifySmsSignResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateRequest.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateRequest.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ModifySmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $remark;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateContent;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $templateType;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'remark' => 'Remark',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
'templateContent' => 'TemplateContent',
|
||||
'templateName' => 'TemplateName',
|
||||
'templateType' => 'TemplateType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->remark) {
|
||||
$res['Remark'] = $this->remark;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
if (null !== $this->templateContent) {
|
||||
$res['TemplateContent'] = $this->templateContent;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
if (null !== $this->templateType) {
|
||||
$res['TemplateType'] = $this->templateType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ModifySmsTemplateRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['Remark'])) {
|
||||
$model->remark = $map['Remark'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
if (isset($map['TemplateContent'])) {
|
||||
$model->templateContent = $map['TemplateContent'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
if (isset($map['TemplateType'])) {
|
||||
$model->templateType = $map['TemplateType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class ModifySmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var ModifySmsTemplateResponseBody
|
||||
*/
|
||||
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 ModifySmsTemplateResponse
|
||||
*/
|
||||
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 = ModifySmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/ModifySmsTemplateResponseBody.php
vendored
Executable 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 ModifySmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return ModifySmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
73
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportRequest.php
vendored
Executable file
73
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportRequest.php
vendored
Executable file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateReportRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startDate;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $templateCodes;
|
||||
protected $_name = [
|
||||
'endDate' => 'EndDate',
|
||||
'startDate' => 'StartDate',
|
||||
'templateCodes' => 'TemplateCodes',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->endDate) {
|
||||
$res['EndDate'] = $this->endDate;
|
||||
}
|
||||
if (null !== $this->startDate) {
|
||||
$res['StartDate'] = $this->startDate;
|
||||
}
|
||||
if (null !== $this->templateCodes) {
|
||||
$res['TemplateCodes'] = $this->templateCodes;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryCardSmsTemplateReportRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['EndDate'])) {
|
||||
$model->endDate = $map['EndDate'];
|
||||
}
|
||||
if (isset($map['StartDate'])) {
|
||||
$model->startDate = $map['StartDate'];
|
||||
}
|
||||
if (isset($map['TemplateCodes'])) {
|
||||
if (!empty($map['TemplateCodes'])) {
|
||||
$model->templateCodes = $map['TemplateCodes'];
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateReportResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QueryCardSmsTemplateReportResponseBody
|
||||
*/
|
||||
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 QueryCardSmsTemplateReportResponse
|
||||
*/
|
||||
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 = QueryCardSmsTemplateReportResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
85
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportResponseBody.php
vendored
Executable file
85
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateReportResponseBody.php
vendored
Executable file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateReportResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var mixed[][]
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = $this->data;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryCardSmsTemplateReportResponseBody
|
||||
*/
|
||||
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 = $map['Data'];
|
||||
}
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateRequest.php
vendored
Executable file
47
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateRequest.php
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryCardSmsTemplateRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QueryCardSmsTemplateResponseBody
|
||||
*/
|
||||
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 QueryCardSmsTemplateResponse
|
||||
*/
|
||||
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 = QueryCardSmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QueryCardSmsTemplateResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryCardSmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryCardSmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
49
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponseBody/data.php
vendored
Executable file
49
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryCardSmsTemplateResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QueryCardSmsTemplateResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var mixed[][]
|
||||
*/
|
||||
public $templates;
|
||||
protected $_name = [
|
||||
'templates' => 'Templates',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->templates) {
|
||||
$res['Templates'] = $this->templates;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Templates'])) {
|
||||
if (!empty($map['Templates'])) {
|
||||
$model->templates = $map['Templates'];
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsRequest.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsRequest.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bizId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $currentPage;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sendDate;
|
||||
protected $_name = [
|
||||
'bizId' => 'BizId',
|
||||
'currentPage' => 'CurrentPage',
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageSize' => 'PageSize',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sendDate' => 'SendDate',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizId) {
|
||||
$res['BizId'] = $this->bizId;
|
||||
}
|
||||
if (null !== $this->currentPage) {
|
||||
$res['CurrentPage'] = $this->currentPage;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sendDate) {
|
||||
$res['SendDate'] = $this->sendDate;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendDetailsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizId'])) {
|
||||
$model->bizId = $map['BizId'];
|
||||
}
|
||||
if (isset($map['CurrentPage'])) {
|
||||
$model->currentPage = $map['CurrentPage'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SendDate'])) {
|
||||
$model->sendDate = $map['SendDate'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySendDetailsResponseBody
|
||||
*/
|
||||
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 QuerySendDetailsResponse
|
||||
*/
|
||||
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 = QuerySendDetailsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
96
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponseBody.php
vendored
Executable file
96
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponseBody.php
vendored
Executable file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendDetailsResponseBody\smsSendDetailDTOs;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var smsSendDetailDTOs
|
||||
*/
|
||||
public $smsSendDetailDTOs;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $totalCount;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'smsSendDetailDTOs' => 'SmsSendDetailDTOs',
|
||||
'totalCount' => 'TotalCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->smsSendDetailDTOs) {
|
||||
$res['SmsSendDetailDTOs'] = null !== $this->smsSendDetailDTOs ? $this->smsSendDetailDTOs->toMap() : null;
|
||||
}
|
||||
if (null !== $this->totalCount) {
|
||||
$res['TotalCount'] = $this->totalCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendDetailsResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SmsSendDetailDTOs'])) {
|
||||
$model->smsSendDetailDTOs = smsSendDetailDTOs::fromMap($map['SmsSendDetailDTOs']);
|
||||
}
|
||||
if (isset($map['TotalCount'])) {
|
||||
$model->totalCount = $map['TotalCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
60
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponseBody/smsSendDetailDTOs.php
vendored
Executable file
60
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsResponseBody/smsSendDetailDTOs.php
vendored
Executable file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendDetailsResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendDetailsResponseBody\smsSendDetailDTOs\smsSendDetailDTO;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class smsSendDetailDTOs extends Model
|
||||
{
|
||||
/**
|
||||
* @var smsSendDetailDTO[]
|
||||
*/
|
||||
public $smsSendDetailDTO;
|
||||
protected $_name = [
|
||||
'smsSendDetailDTO' => 'SmsSendDetailDTO',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->smsSendDetailDTO) {
|
||||
$res['SmsSendDetailDTO'] = [];
|
||||
if (null !== $this->smsSendDetailDTO && \is_array($this->smsSendDetailDTO)) {
|
||||
$n = 0;
|
||||
foreach ($this->smsSendDetailDTO as $item) {
|
||||
$res['SmsSendDetailDTO'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return smsSendDetailDTOs
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['SmsSendDetailDTO'])) {
|
||||
if (!empty($map['SmsSendDetailDTO'])) {
|
||||
$model->smsSendDetailDTO = [];
|
||||
$n = 0;
|
||||
foreach ($map['SmsSendDetailDTO'] as $item) {
|
||||
$model->smsSendDetailDTO[$n++] = null !== $item ? smsSendDetailDTO::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendDetailsResponseBody\smsSendDetailDTOs;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class smsSendDetailDTO extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $content;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $errCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNum;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $receiveDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sendDate;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $sendStatus;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'content' => 'Content',
|
||||
'errCode' => 'ErrCode',
|
||||
'outId' => 'OutId',
|
||||
'phoneNum' => 'PhoneNum',
|
||||
'receiveDate' => 'ReceiveDate',
|
||||
'sendDate' => 'SendDate',
|
||||
'sendStatus' => 'SendStatus',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->content) {
|
||||
$res['Content'] = $this->content;
|
||||
}
|
||||
if (null !== $this->errCode) {
|
||||
$res['ErrCode'] = $this->errCode;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->phoneNum) {
|
||||
$res['PhoneNum'] = $this->phoneNum;
|
||||
}
|
||||
if (null !== $this->receiveDate) {
|
||||
$res['ReceiveDate'] = $this->receiveDate;
|
||||
}
|
||||
if (null !== $this->sendDate) {
|
||||
$res['SendDate'] = $this->sendDate;
|
||||
}
|
||||
if (null !== $this->sendStatus) {
|
||||
$res['SendStatus'] = $this->sendStatus;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return smsSendDetailDTO
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Content'])) {
|
||||
$model->content = $map['Content'];
|
||||
}
|
||||
if (isset($map['ErrCode'])) {
|
||||
$model->errCode = $map['ErrCode'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['PhoneNum'])) {
|
||||
$model->phoneNum = $map['PhoneNum'];
|
||||
}
|
||||
if (isset($map['ReceiveDate'])) {
|
||||
$model->receiveDate = $map['ReceiveDate'];
|
||||
}
|
||||
if (isset($map['SendDate'])) {
|
||||
$model->sendDate = $map['SendDate'];
|
||||
}
|
||||
if (isset($map['SendStatus'])) {
|
||||
$model->sendStatus = $map['SendStatus'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsRequest.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsRequest.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendStatisticsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $isGlobe;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageIndex;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $startDate;
|
||||
protected $_name = [
|
||||
'endDate' => 'EndDate',
|
||||
'isGlobe' => 'IsGlobe',
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageIndex' => 'PageIndex',
|
||||
'pageSize' => 'PageSize',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'startDate' => 'StartDate',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->endDate) {
|
||||
$res['EndDate'] = $this->endDate;
|
||||
}
|
||||
if (null !== $this->isGlobe) {
|
||||
$res['IsGlobe'] = $this->isGlobe;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageIndex) {
|
||||
$res['PageIndex'] = $this->pageIndex;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->startDate) {
|
||||
$res['StartDate'] = $this->startDate;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendStatisticsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['EndDate'])) {
|
||||
$model->endDate = $map['EndDate'];
|
||||
}
|
||||
if (isset($map['IsGlobe'])) {
|
||||
$model->isGlobe = $map['IsGlobe'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageIndex'])) {
|
||||
$model->pageIndex = $map['PageIndex'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['StartDate'])) {
|
||||
$model->startDate = $map['StartDate'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendStatisticsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySendStatisticsResponseBody
|
||||
*/
|
||||
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 QuerySendStatisticsResponse
|
||||
*/
|
||||
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 = QuerySendStatisticsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendStatisticsResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendStatisticsResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendStatisticsResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
72
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody/data.php
vendored
Executable file
72
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendStatisticsResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendStatisticsResponseBody\data\targetList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var targetList[]
|
||||
*/
|
||||
public $targetList;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalSize;
|
||||
protected $_name = [
|
||||
'targetList' => 'TargetList',
|
||||
'totalSize' => 'TotalSize',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->targetList) {
|
||||
$res['TargetList'] = [];
|
||||
if (null !== $this->targetList && \is_array($this->targetList)) {
|
||||
$n = 0;
|
||||
foreach ($this->targetList as $item) {
|
||||
$res['TargetList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->totalSize) {
|
||||
$res['TotalSize'] = $this->totalSize;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['TargetList'])) {
|
||||
if (!empty($map['TargetList'])) {
|
||||
$model->targetList = [];
|
||||
$n = 0;
|
||||
foreach ($map['TargetList'] as $item) {
|
||||
$model->targetList[$n++] = null !== $item ? targetList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['TotalSize'])) {
|
||||
$model->totalSize = $map['TotalSize'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody/data/targetList.php
vendored
Executable file
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendStatisticsResponseBody/data/targetList.php
vendored
Executable file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySendStatisticsResponseBody\data;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class targetList extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $noRespondedCount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $respondedFailCount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $respondedSuccessCount;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sendDate;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalCount;
|
||||
protected $_name = [
|
||||
'noRespondedCount' => 'NoRespondedCount',
|
||||
'respondedFailCount' => 'RespondedFailCount',
|
||||
'respondedSuccessCount' => 'RespondedSuccessCount',
|
||||
'sendDate' => 'SendDate',
|
||||
'totalCount' => 'TotalCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->noRespondedCount) {
|
||||
$res['NoRespondedCount'] = $this->noRespondedCount;
|
||||
}
|
||||
if (null !== $this->respondedFailCount) {
|
||||
$res['RespondedFailCount'] = $this->respondedFailCount;
|
||||
}
|
||||
if (null !== $this->respondedSuccessCount) {
|
||||
$res['RespondedSuccessCount'] = $this->respondedSuccessCount;
|
||||
}
|
||||
if (null !== $this->sendDate) {
|
||||
$res['SendDate'] = $this->sendDate;
|
||||
}
|
||||
if (null !== $this->totalCount) {
|
||||
$res['TotalCount'] = $this->totalCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return targetList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['NoRespondedCount'])) {
|
||||
$model->noRespondedCount = $map['NoRespondedCount'];
|
||||
}
|
||||
if (isset($map['RespondedFailCount'])) {
|
||||
$model->respondedFailCount = $map['RespondedFailCount'];
|
||||
}
|
||||
if (isset($map['RespondedSuccessCount'])) {
|
||||
$model->respondedSuccessCount = $map['RespondedSuccessCount'];
|
||||
}
|
||||
if (isset($map['SendDate'])) {
|
||||
$model->sendDate = $map['SendDate'];
|
||||
}
|
||||
if (isset($map['TotalCount'])) {
|
||||
$model->totalCount = $map['TotalCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlRequest.php
vendored
Executable 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 QueryShortUrlRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $shortUrl;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'shortUrl' => 'ShortUrl',
|
||||
];
|
||||
|
||||
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->shortUrl) {
|
||||
$res['ShortUrl'] = $this->shortUrl;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryShortUrlRequest
|
||||
*/
|
||||
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['ShortUrl'])) {
|
||||
$model->shortUrl = $map['ShortUrl'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryShortUrlResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QueryShortUrlResponseBody
|
||||
*/
|
||||
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 QueryShortUrlResponse
|
||||
*/
|
||||
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 = QueryShortUrlResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QueryShortUrlResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryShortUrlResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryShortUrlResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponseBody/data.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QueryShortUrlResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QueryShortUrlResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $expireDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $pageViewCount;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $shortUrl;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $shortUrlName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $shortUrlStatus;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sourceUrl;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $uniqueVisitorCount;
|
||||
protected $_name = [
|
||||
'createDate' => 'CreateDate',
|
||||
'expireDate' => 'ExpireDate',
|
||||
'pageViewCount' => 'PageViewCount',
|
||||
'shortUrl' => 'ShortUrl',
|
||||
'shortUrlName' => 'ShortUrlName',
|
||||
'shortUrlStatus' => 'ShortUrlStatus',
|
||||
'sourceUrl' => 'SourceUrl',
|
||||
'uniqueVisitorCount' => 'UniqueVisitorCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->createDate) {
|
||||
$res['CreateDate'] = $this->createDate;
|
||||
}
|
||||
if (null !== $this->expireDate) {
|
||||
$res['ExpireDate'] = $this->expireDate;
|
||||
}
|
||||
if (null !== $this->pageViewCount) {
|
||||
$res['PageViewCount'] = $this->pageViewCount;
|
||||
}
|
||||
if (null !== $this->shortUrl) {
|
||||
$res['ShortUrl'] = $this->shortUrl;
|
||||
}
|
||||
if (null !== $this->shortUrlName) {
|
||||
$res['ShortUrlName'] = $this->shortUrlName;
|
||||
}
|
||||
if (null !== $this->shortUrlStatus) {
|
||||
$res['ShortUrlStatus'] = $this->shortUrlStatus;
|
||||
}
|
||||
if (null !== $this->sourceUrl) {
|
||||
$res['SourceUrl'] = $this->sourceUrl;
|
||||
}
|
||||
if (null !== $this->uniqueVisitorCount) {
|
||||
$res['UniqueVisitorCount'] = $this->uniqueVisitorCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CreateDate'])) {
|
||||
$model->createDate = $map['CreateDate'];
|
||||
}
|
||||
if (isset($map['ExpireDate'])) {
|
||||
$model->expireDate = $map['ExpireDate'];
|
||||
}
|
||||
if (isset($map['PageViewCount'])) {
|
||||
$model->pageViewCount = $map['PageViewCount'];
|
||||
}
|
||||
if (isset($map['ShortUrl'])) {
|
||||
$model->shortUrl = $map['ShortUrl'];
|
||||
}
|
||||
if (isset($map['ShortUrlName'])) {
|
||||
$model->shortUrlName = $map['ShortUrlName'];
|
||||
}
|
||||
if (isset($map['ShortUrlStatus'])) {
|
||||
$model->shortUrlStatus = $map['ShortUrlStatus'];
|
||||
}
|
||||
if (isset($map['SourceUrl'])) {
|
||||
$model->sourceUrl = $map['SourceUrl'];
|
||||
}
|
||||
if (isset($map['UniqueVisitorCount'])) {
|
||||
$model->uniqueVisitorCount = $map['UniqueVisitorCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListRequest.php
vendored
Executable file
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListRequest.php
vendored
Executable file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsSignListRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageIndex;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageIndex' => 'PageIndex',
|
||||
'pageSize' => 'PageSize',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageIndex) {
|
||||
$res['PageIndex'] = $this->pageIndex;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsSignListRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageIndex'])) {
|
||||
$model->pageIndex = $map['PageIndex'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsSignListResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySmsSignListResponseBody
|
||||
*/
|
||||
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 QuerySmsSignListResponse
|
||||
*/
|
||||
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 = QuerySmsSignListResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
132
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody.php
vendored
Executable file
132
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody.php
vendored
Executable file
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsSignListResponseBody\smsSignList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsSignListResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $currentPage;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var smsSignList[]
|
||||
*/
|
||||
public $smsSignList;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalCount;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'currentPage' => 'CurrentPage',
|
||||
'message' => 'Message',
|
||||
'pageSize' => 'PageSize',
|
||||
'requestId' => 'RequestId',
|
||||
'smsSignList' => 'SmsSignList',
|
||||
'totalCount' => 'TotalCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->currentPage) {
|
||||
$res['CurrentPage'] = $this->currentPage;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->smsSignList) {
|
||||
$res['SmsSignList'] = [];
|
||||
if (null !== $this->smsSignList && \is_array($this->smsSignList)) {
|
||||
$n = 0;
|
||||
foreach ($this->smsSignList as $item) {
|
||||
$res['SmsSignList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->totalCount) {
|
||||
$res['TotalCount'] = $this->totalCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsSignListResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['CurrentPage'])) {
|
||||
$model->currentPage = $map['CurrentPage'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SmsSignList'])) {
|
||||
if (!empty($map['SmsSignList'])) {
|
||||
$model->smsSignList = [];
|
||||
$n = 0;
|
||||
foreach ($map['SmsSignList'] as $item) {
|
||||
$model->smsSignList[$n++] = null !== $item ? smsSignList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['TotalCount'])) {
|
||||
$model->totalCount = $map['TotalCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
108
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody/smsSignList.php
vendored
Executable file
108
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody/smsSignList.php
vendored
Executable file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsSignListResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsSignListResponseBody\smsSignList\reason;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class smsSignList extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $auditStatus;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $businessType;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $orderId;
|
||||
|
||||
/**
|
||||
* @var reason
|
||||
*/
|
||||
public $reason;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'auditStatus' => 'AuditStatus',
|
||||
'businessType' => 'BusinessType',
|
||||
'createDate' => 'CreateDate',
|
||||
'orderId' => 'OrderId',
|
||||
'reason' => 'Reason',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->auditStatus) {
|
||||
$res['AuditStatus'] = $this->auditStatus;
|
||||
}
|
||||
if (null !== $this->businessType) {
|
||||
$res['BusinessType'] = $this->businessType;
|
||||
}
|
||||
if (null !== $this->createDate) {
|
||||
$res['CreateDate'] = $this->createDate;
|
||||
}
|
||||
if (null !== $this->orderId) {
|
||||
$res['OrderId'] = $this->orderId;
|
||||
}
|
||||
if (null !== $this->reason) {
|
||||
$res['Reason'] = null !== $this->reason ? $this->reason->toMap() : null;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return smsSignList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AuditStatus'])) {
|
||||
$model->auditStatus = $map['AuditStatus'];
|
||||
}
|
||||
if (isset($map['BusinessType'])) {
|
||||
$model->businessType = $map['BusinessType'];
|
||||
}
|
||||
if (isset($map['CreateDate'])) {
|
||||
$model->createDate = $map['CreateDate'];
|
||||
}
|
||||
if (isset($map['OrderId'])) {
|
||||
$model->orderId = $map['OrderId'];
|
||||
}
|
||||
if (isset($map['Reason'])) {
|
||||
$model->reason = reason::fromMap($map['Reason']);
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody/smsSignList/reason.php
vendored
Executable file
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignListResponseBody/smsSignList/reason.php
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsSignListResponseBody\smsSignList;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class reason extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectInfo;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectSubInfo;
|
||||
protected $_name = [
|
||||
'rejectDate' => 'RejectDate',
|
||||
'rejectInfo' => 'RejectInfo',
|
||||
'rejectSubInfo' => 'RejectSubInfo',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->rejectDate) {
|
||||
$res['RejectDate'] = $this->rejectDate;
|
||||
}
|
||||
if (null !== $this->rejectInfo) {
|
||||
$res['RejectInfo'] = $this->rejectInfo;
|
||||
}
|
||||
if (null !== $this->rejectSubInfo) {
|
||||
$res['RejectSubInfo'] = $this->rejectSubInfo;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return reason
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['RejectDate'])) {
|
||||
$model->rejectDate = $map['RejectDate'];
|
||||
}
|
||||
if (isset($map['RejectInfo'])) {
|
||||
$model->rejectInfo = $map['RejectInfo'];
|
||||
}
|
||||
if (isset($map['RejectSubInfo'])) {
|
||||
$model->rejectSubInfo = $map['RejectSubInfo'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignRequest.php
vendored
Executable 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 QuerySmsSignRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'signName' => 'SignName',
|
||||
];
|
||||
|
||||
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->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsSignRequest
|
||||
*/
|
||||
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['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsSignResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySmsSignResponseBody
|
||||
*/
|
||||
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 QuerySmsSignResponse
|
||||
*/
|
||||
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 = QuerySmsSignResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
119
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignResponseBody.php
vendored
Executable file
119
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsSignResponseBody.php
vendored
Executable file
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsSignResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $reason;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $signStatus;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'createDate' => 'CreateDate',
|
||||
'message' => 'Message',
|
||||
'reason' => 'Reason',
|
||||
'requestId' => 'RequestId',
|
||||
'signName' => 'SignName',
|
||||
'signStatus' => 'SignStatus',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->createDate) {
|
||||
$res['CreateDate'] = $this->createDate;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->reason) {
|
||||
$res['Reason'] = $this->reason;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->signStatus) {
|
||||
$res['SignStatus'] = $this->signStatus;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsSignResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['CreateDate'])) {
|
||||
$model->createDate = $map['CreateDate'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Reason'])) {
|
||||
$model->reason = $map['Reason'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SignStatus'])) {
|
||||
$model->signStatus = $map['SignStatus'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListRequest.php
vendored
Executable file
95
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListRequest.php
vendored
Executable file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsTemplateListRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageIndex;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageIndex' => 'PageIndex',
|
||||
'pageSize' => 'PageSize',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageIndex) {
|
||||
$res['PageIndex'] = $this->pageIndex;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsTemplateListRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageIndex'])) {
|
||||
$model->pageIndex = $map['PageIndex'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsTemplateListResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySmsTemplateListResponseBody
|
||||
*/
|
||||
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 QuerySmsTemplateListResponse
|
||||
*/
|
||||
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 = QuerySmsTemplateListResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
132
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponseBody.php
vendored
Executable file
132
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponseBody.php
vendored
Executable file
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsTemplateListResponseBody\smsTemplateList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsTemplateListResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $currentPage;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var smsTemplateList[]
|
||||
*/
|
||||
public $smsTemplateList;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $totalCount;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'currentPage' => 'CurrentPage',
|
||||
'message' => 'Message',
|
||||
'pageSize' => 'PageSize',
|
||||
'requestId' => 'RequestId',
|
||||
'smsTemplateList' => 'SmsTemplateList',
|
||||
'totalCount' => 'TotalCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->currentPage) {
|
||||
$res['CurrentPage'] = $this->currentPage;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->smsTemplateList) {
|
||||
$res['SmsTemplateList'] = [];
|
||||
if (null !== $this->smsTemplateList && \is_array($this->smsTemplateList)) {
|
||||
$n = 0;
|
||||
foreach ($this->smsTemplateList as $item) {
|
||||
$res['SmsTemplateList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->totalCount) {
|
||||
$res['TotalCount'] = $this->totalCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsTemplateListResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['CurrentPage'])) {
|
||||
$model->currentPage = $map['CurrentPage'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SmsTemplateList'])) {
|
||||
if (!empty($map['SmsTemplateList'])) {
|
||||
$model->smsTemplateList = [];
|
||||
$n = 0;
|
||||
foreach ($map['SmsTemplateList'] as $item) {
|
||||
$model->smsTemplateList[$n++] = null !== $item ? smsTemplateList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['TotalCount'])) {
|
||||
$model->totalCount = $map['TotalCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponseBody/smsTemplateList.php
vendored
Executable file
144
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateListResponseBody/smsTemplateList.php
vendored
Executable file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsTemplateListResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsTemplateListResponseBody\smsTemplateList\reason;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class smsTemplateList extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $auditStatus;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $orderId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $outerTemplateType;
|
||||
|
||||
/**
|
||||
* @var reason
|
||||
*/
|
||||
public $reason;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateContent;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $templateType;
|
||||
protected $_name = [
|
||||
'auditStatus' => 'AuditStatus',
|
||||
'createDate' => 'CreateDate',
|
||||
'orderId' => 'OrderId',
|
||||
'outerTemplateType' => 'OuterTemplateType',
|
||||
'reason' => 'Reason',
|
||||
'templateCode' => 'TemplateCode',
|
||||
'templateContent' => 'TemplateContent',
|
||||
'templateName' => 'TemplateName',
|
||||
'templateType' => 'TemplateType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->auditStatus) {
|
||||
$res['AuditStatus'] = $this->auditStatus;
|
||||
}
|
||||
if (null !== $this->createDate) {
|
||||
$res['CreateDate'] = $this->createDate;
|
||||
}
|
||||
if (null !== $this->orderId) {
|
||||
$res['OrderId'] = $this->orderId;
|
||||
}
|
||||
if (null !== $this->outerTemplateType) {
|
||||
$res['OuterTemplateType'] = $this->outerTemplateType;
|
||||
}
|
||||
if (null !== $this->reason) {
|
||||
$res['Reason'] = null !== $this->reason ? $this->reason->toMap() : null;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
if (null !== $this->templateContent) {
|
||||
$res['TemplateContent'] = $this->templateContent;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
if (null !== $this->templateType) {
|
||||
$res['TemplateType'] = $this->templateType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return smsTemplateList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AuditStatus'])) {
|
||||
$model->auditStatus = $map['AuditStatus'];
|
||||
}
|
||||
if (isset($map['CreateDate'])) {
|
||||
$model->createDate = $map['CreateDate'];
|
||||
}
|
||||
if (isset($map['OrderId'])) {
|
||||
$model->orderId = $map['OrderId'];
|
||||
}
|
||||
if (isset($map['OuterTemplateType'])) {
|
||||
$model->outerTemplateType = $map['OuterTemplateType'];
|
||||
}
|
||||
if (isset($map['Reason'])) {
|
||||
$model->reason = reason::fromMap($map['Reason']);
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
if (isset($map['TemplateContent'])) {
|
||||
$model->templateContent = $map['TemplateContent'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
if (isset($map['TemplateType'])) {
|
||||
$model->templateType = $map['TemplateType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\QuerySmsTemplateListResponseBody\smsTemplateList;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class reason extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectInfo;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rejectSubInfo;
|
||||
protected $_name = [
|
||||
'rejectDate' => 'RejectDate',
|
||||
'rejectInfo' => 'RejectInfo',
|
||||
'rejectSubInfo' => 'RejectSubInfo',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->rejectDate) {
|
||||
$res['RejectDate'] = $this->rejectDate;
|
||||
}
|
||||
if (null !== $this->rejectInfo) {
|
||||
$res['RejectInfo'] = $this->rejectInfo;
|
||||
}
|
||||
if (null !== $this->rejectSubInfo) {
|
||||
$res['RejectSubInfo'] = $this->rejectSubInfo;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return reason
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['RejectDate'])) {
|
||||
$model->rejectDate = $map['RejectDate'];
|
||||
}
|
||||
if (isset($map['RejectInfo'])) {
|
||||
$model->rejectInfo = $map['RejectInfo'];
|
||||
}
|
||||
if (isset($map['RejectSubInfo'])) {
|
||||
$model->rejectSubInfo = $map['RejectSubInfo'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateRequest.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateRequest.php
vendored
Executable 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 QuerySmsTemplateRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
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->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsTemplateRequest
|
||||
*/
|
||||
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['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsTemplateResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySmsTemplateResponseBody
|
||||
*/
|
||||
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 QuerySmsTemplateResponse
|
||||
*/
|
||||
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 = QuerySmsTemplateResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
155
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateResponseBody.php
vendored
Executable file
155
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySmsTemplateResponseBody.php
vendored
Executable file
@@ -0,0 +1,155 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySmsTemplateResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $createDate;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $reason;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateContent;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateName;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $templateStatus;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $templateType;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'createDate' => 'CreateDate',
|
||||
'message' => 'Message',
|
||||
'reason' => 'Reason',
|
||||
'requestId' => 'RequestId',
|
||||
'templateCode' => 'TemplateCode',
|
||||
'templateContent' => 'TemplateContent',
|
||||
'templateName' => 'TemplateName',
|
||||
'templateStatus' => 'TemplateStatus',
|
||||
'templateType' => 'TemplateType',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->createDate) {
|
||||
$res['CreateDate'] = $this->createDate;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->reason) {
|
||||
$res['Reason'] = $this->reason;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
if (null !== $this->templateContent) {
|
||||
$res['TemplateContent'] = $this->templateContent;
|
||||
}
|
||||
if (null !== $this->templateName) {
|
||||
$res['TemplateName'] = $this->templateName;
|
||||
}
|
||||
if (null !== $this->templateStatus) {
|
||||
$res['TemplateStatus'] = $this->templateStatus;
|
||||
}
|
||||
if (null !== $this->templateType) {
|
||||
$res['TemplateType'] = $this->templateType;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySmsTemplateResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['CreateDate'])) {
|
||||
$model->createDate = $map['CreateDate'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Reason'])) {
|
||||
$model->reason = $map['Reason'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
if (isset($map['TemplateContent'])) {
|
||||
$model->templateContent = $map['TemplateContent'];
|
||||
}
|
||||
if (isset($map['TemplateName'])) {
|
||||
$model->templateName = $map['TemplateName'];
|
||||
}
|
||||
if (isset($map['TemplateStatus'])) {
|
||||
$model->templateStatus = $map['TemplateStatus'];
|
||||
}
|
||||
if (isset($map['TemplateType'])) {
|
||||
$model->templateType = $map['TemplateType'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
167
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsRequest.php
vendored
Executable file
167
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsRequest.php
vendored
Executable file
@@ -0,0 +1,167 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendBatchCardSmsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardTemplateParamJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $digitalTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $digitalTemplateParamJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fallbackType;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumberJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signNameJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsTemplateParamJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsUpExtendCodeJson;
|
||||
protected $_name = [
|
||||
'cardTemplateCode' => 'CardTemplateCode',
|
||||
'cardTemplateParamJson' => 'CardTemplateParamJson',
|
||||
'digitalTemplateCode' => 'DigitalTemplateCode',
|
||||
'digitalTemplateParamJson' => 'DigitalTemplateParamJson',
|
||||
'fallbackType' => 'FallbackType',
|
||||
'outId' => 'OutId',
|
||||
'phoneNumberJson' => 'PhoneNumberJson',
|
||||
'signNameJson' => 'SignNameJson',
|
||||
'smsTemplateCode' => 'SmsTemplateCode',
|
||||
'smsTemplateParamJson' => 'SmsTemplateParamJson',
|
||||
'smsUpExtendCodeJson' => 'SmsUpExtendCodeJson',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->cardTemplateCode) {
|
||||
$res['CardTemplateCode'] = $this->cardTemplateCode;
|
||||
}
|
||||
if (null !== $this->cardTemplateParamJson) {
|
||||
$res['CardTemplateParamJson'] = $this->cardTemplateParamJson;
|
||||
}
|
||||
if (null !== $this->digitalTemplateCode) {
|
||||
$res['DigitalTemplateCode'] = $this->digitalTemplateCode;
|
||||
}
|
||||
if (null !== $this->digitalTemplateParamJson) {
|
||||
$res['DigitalTemplateParamJson'] = $this->digitalTemplateParamJson;
|
||||
}
|
||||
if (null !== $this->fallbackType) {
|
||||
$res['FallbackType'] = $this->fallbackType;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->phoneNumberJson) {
|
||||
$res['PhoneNumberJson'] = $this->phoneNumberJson;
|
||||
}
|
||||
if (null !== $this->signNameJson) {
|
||||
$res['SignNameJson'] = $this->signNameJson;
|
||||
}
|
||||
if (null !== $this->smsTemplateCode) {
|
||||
$res['SmsTemplateCode'] = $this->smsTemplateCode;
|
||||
}
|
||||
if (null !== $this->smsTemplateParamJson) {
|
||||
$res['SmsTemplateParamJson'] = $this->smsTemplateParamJson;
|
||||
}
|
||||
if (null !== $this->smsUpExtendCodeJson) {
|
||||
$res['SmsUpExtendCodeJson'] = $this->smsUpExtendCodeJson;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendBatchCardSmsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CardTemplateCode'])) {
|
||||
$model->cardTemplateCode = $map['CardTemplateCode'];
|
||||
}
|
||||
if (isset($map['CardTemplateParamJson'])) {
|
||||
$model->cardTemplateParamJson = $map['CardTemplateParamJson'];
|
||||
}
|
||||
if (isset($map['DigitalTemplateCode'])) {
|
||||
$model->digitalTemplateCode = $map['DigitalTemplateCode'];
|
||||
}
|
||||
if (isset($map['DigitalTemplateParamJson'])) {
|
||||
$model->digitalTemplateParamJson = $map['DigitalTemplateParamJson'];
|
||||
}
|
||||
if (isset($map['FallbackType'])) {
|
||||
$model->fallbackType = $map['FallbackType'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['PhoneNumberJson'])) {
|
||||
$model->phoneNumberJson = $map['PhoneNumberJson'];
|
||||
}
|
||||
if (isset($map['SignNameJson'])) {
|
||||
$model->signNameJson = $map['SignNameJson'];
|
||||
}
|
||||
if (isset($map['SmsTemplateCode'])) {
|
||||
$model->smsTemplateCode = $map['SmsTemplateCode'];
|
||||
}
|
||||
if (isset($map['SmsTemplateParamJson'])) {
|
||||
$model->smsTemplateParamJson = $map['SmsTemplateParamJson'];
|
||||
}
|
||||
if (isset($map['SmsUpExtendCodeJson'])) {
|
||||
$model->smsUpExtendCodeJson = $map['SmsUpExtendCodeJson'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendBatchCardSmsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var SendBatchCardSmsResponseBody
|
||||
*/
|
||||
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 SendBatchCardSmsResponse
|
||||
*/
|
||||
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 = SendBatchCardSmsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponseBody.php
vendored
Executable file
84
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponseBody.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\SendBatchCardSmsResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendBatchCardSmsResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'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'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendBatchCardSmsResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
107
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponseBody/data.php
vendored
Executable file
107
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchCardSmsResponseBody/data.php
vendored
Executable file
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\SendBatchCardSmsResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bizCardId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bizDigitalId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bizSmsId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cardTmpState;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $mediaMobiles;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $notMediaMobiles;
|
||||
protected $_name = [
|
||||
'bizCardId' => 'BizCardId',
|
||||
'bizDigitalId' => 'BizDigitalId',
|
||||
'bizSmsId' => 'BizSmsId',
|
||||
'cardTmpState' => 'CardTmpState',
|
||||
'mediaMobiles' => 'MediaMobiles',
|
||||
'notMediaMobiles' => 'NotMediaMobiles',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizCardId) {
|
||||
$res['BizCardId'] = $this->bizCardId;
|
||||
}
|
||||
if (null !== $this->bizDigitalId) {
|
||||
$res['BizDigitalId'] = $this->bizDigitalId;
|
||||
}
|
||||
if (null !== $this->bizSmsId) {
|
||||
$res['BizSmsId'] = $this->bizSmsId;
|
||||
}
|
||||
if (null !== $this->cardTmpState) {
|
||||
$res['CardTmpState'] = $this->cardTmpState;
|
||||
}
|
||||
if (null !== $this->mediaMobiles) {
|
||||
$res['MediaMobiles'] = $this->mediaMobiles;
|
||||
}
|
||||
if (null !== $this->notMediaMobiles) {
|
||||
$res['NotMediaMobiles'] = $this->notMediaMobiles;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizCardId'])) {
|
||||
$model->bizCardId = $map['BizCardId'];
|
||||
}
|
||||
if (isset($map['BizDigitalId'])) {
|
||||
$model->bizDigitalId = $map['BizDigitalId'];
|
||||
}
|
||||
if (isset($map['BizSmsId'])) {
|
||||
$model->bizSmsId = $map['BizSmsId'];
|
||||
}
|
||||
if (isset($map['CardTmpState'])) {
|
||||
$model->cardTmpState = $map['CardTmpState'];
|
||||
}
|
||||
if (isset($map['MediaMobiles'])) {
|
||||
$model->mediaMobiles = $map['MediaMobiles'];
|
||||
}
|
||||
if (isset($map['NotMediaMobiles'])) {
|
||||
$model->notMediaMobiles = $map['NotMediaMobiles'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsRequest.php
vendored
Executable file
131
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsRequest.php
vendored
Executable file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendBatchSmsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumberJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signNameJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsUpExtendCodeJson;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $templateParamJson;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNumberJson' => 'PhoneNumberJson',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'signNameJson' => 'SignNameJson',
|
||||
'smsUpExtendCodeJson' => 'SmsUpExtendCodeJson',
|
||||
'templateCode' => 'TemplateCode',
|
||||
'templateParamJson' => 'TemplateParamJson',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNumberJson) {
|
||||
$res['PhoneNumberJson'] = $this->phoneNumberJson;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->signNameJson) {
|
||||
$res['SignNameJson'] = $this->signNameJson;
|
||||
}
|
||||
if (null !== $this->smsUpExtendCodeJson) {
|
||||
$res['SmsUpExtendCodeJson'] = $this->smsUpExtendCodeJson;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
if (null !== $this->templateParamJson) {
|
||||
$res['TemplateParamJson'] = $this->templateParamJson;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendBatchSmsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNumberJson'])) {
|
||||
$model->phoneNumberJson = $map['PhoneNumberJson'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SignNameJson'])) {
|
||||
$model->signNameJson = $map['SignNameJson'];
|
||||
}
|
||||
if (isset($map['SmsUpExtendCodeJson'])) {
|
||||
$model->smsUpExtendCodeJson = $map['SmsUpExtendCodeJson'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
if (isset($map['TemplateParamJson'])) {
|
||||
$model->templateParamJson = $map['TemplateParamJson'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendBatchSmsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var SendBatchSmsResponseBody
|
||||
*/
|
||||
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 SendBatchSmsResponse
|
||||
*/
|
||||
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 = SendBatchSmsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsResponseBody.php
vendored
Executable file
83
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendBatchSmsResponseBody.php
vendored
Executable 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 SendBatchSmsResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bizId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'bizId' => 'BizId',
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizId) {
|
||||
$res['BizId'] = $this->bizId;
|
||||
}
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendBatchSmsResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizId'])) {
|
||||
$model->bizId = $map['BizId'];
|
||||
}
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
168
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsRequest.php
vendored
Executable file
168
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsRequest.php
vendored
Executable file
@@ -0,0 +1,168 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dysmsapi\V20170525\Models\SendCardSmsRequest\cardObjects;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendCardSmsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var cardObjects[]
|
||||
*/
|
||||
public $cardObjects;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cardTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $digitalTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $digitalTemplateParam;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $fallbackType;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsTemplateCode;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsTemplateParam;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $smsUpExtendCode;
|
||||
protected $_name = [
|
||||
'cardObjects' => 'CardObjects',
|
||||
'cardTemplateCode' => 'CardTemplateCode',
|
||||
'digitalTemplateCode' => 'DigitalTemplateCode',
|
||||
'digitalTemplateParam' => 'DigitalTemplateParam',
|
||||
'fallbackType' => 'FallbackType',
|
||||
'outId' => 'OutId',
|
||||
'signName' => 'SignName',
|
||||
'smsTemplateCode' => 'SmsTemplateCode',
|
||||
'smsTemplateParam' => 'SmsTemplateParam',
|
||||
'smsUpExtendCode' => 'SmsUpExtendCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->cardObjects) {
|
||||
$res['CardObjects'] = [];
|
||||
if (null !== $this->cardObjects && \is_array($this->cardObjects)) {
|
||||
$n = 0;
|
||||
foreach ($this->cardObjects as $item) {
|
||||
$res['CardObjects'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->cardTemplateCode) {
|
||||
$res['CardTemplateCode'] = $this->cardTemplateCode;
|
||||
}
|
||||
if (null !== $this->digitalTemplateCode) {
|
||||
$res['DigitalTemplateCode'] = $this->digitalTemplateCode;
|
||||
}
|
||||
if (null !== $this->digitalTemplateParam) {
|
||||
$res['DigitalTemplateParam'] = $this->digitalTemplateParam;
|
||||
}
|
||||
if (null !== $this->fallbackType) {
|
||||
$res['FallbackType'] = $this->fallbackType;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->smsTemplateCode) {
|
||||
$res['SmsTemplateCode'] = $this->smsTemplateCode;
|
||||
}
|
||||
if (null !== $this->smsTemplateParam) {
|
||||
$res['SmsTemplateParam'] = $this->smsTemplateParam;
|
||||
}
|
||||
if (null !== $this->smsUpExtendCode) {
|
||||
$res['SmsUpExtendCode'] = $this->smsUpExtendCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendCardSmsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CardObjects'])) {
|
||||
if (!empty($map['CardObjects'])) {
|
||||
$model->cardObjects = [];
|
||||
$n = 0;
|
||||
foreach ($map['CardObjects'] as $item) {
|
||||
$model->cardObjects[$n++] = null !== $item ? cardObjects::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['CardTemplateCode'])) {
|
||||
$model->cardTemplateCode = $map['CardTemplateCode'];
|
||||
}
|
||||
if (isset($map['DigitalTemplateCode'])) {
|
||||
$model->digitalTemplateCode = $map['DigitalTemplateCode'];
|
||||
}
|
||||
if (isset($map['DigitalTemplateParam'])) {
|
||||
$model->digitalTemplateParam = $map['DigitalTemplateParam'];
|
||||
}
|
||||
if (isset($map['FallbackType'])) {
|
||||
$model->fallbackType = $map['FallbackType'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SmsTemplateCode'])) {
|
||||
$model->smsTemplateCode = $map['SmsTemplateCode'];
|
||||
}
|
||||
if (isset($map['SmsTemplateParam'])) {
|
||||
$model->smsTemplateParam = $map['SmsTemplateParam'];
|
||||
}
|
||||
if (isset($map['SmsUpExtendCode'])) {
|
||||
$model->smsUpExtendCode = $map['SmsUpExtendCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsRequest/cardObjects.php
vendored
Executable file
71
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsRequest/cardObjects.php
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\SendCardSmsRequest;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class cardObjects extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $customUrl;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dyncParams;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
protected $_name = [
|
||||
'customUrl' => 'customUrl',
|
||||
'dyncParams' => 'dyncParams',
|
||||
'mobile' => 'mobile',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->customUrl) {
|
||||
$res['customUrl'] = $this->customUrl;
|
||||
}
|
||||
if (null !== $this->dyncParams) {
|
||||
$res['dyncParams'] = $this->dyncParams;
|
||||
}
|
||||
if (null !== $this->mobile) {
|
||||
$res['mobile'] = $this->mobile;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return cardObjects
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['customUrl'])) {
|
||||
$model->customUrl = $map['customUrl'];
|
||||
}
|
||||
if (isset($map['dyncParams'])) {
|
||||
$model->dyncParams = $map['dyncParams'];
|
||||
}
|
||||
if (isset($map['mobile'])) {
|
||||
$model->mobile = $map['mobile'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsResponse.php
vendored
Executable file
74
Server/vendor/alibabacloud/dysmsapi-20170525/src/Models/SendCardSmsResponse.php
vendored
Executable file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendCardSmsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var SendCardSmsResponseBody
|
||||
*/
|
||||
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 SendCardSmsResponse
|
||||
*/
|
||||
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 = SendCardSmsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user