first commit
This commit is contained in:
201
vendor/tencentcloud/sms/LICENSE
vendored
Normal file
201
vendor/tencentcloud/sms/LICENSE
vendored
Normal file
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
20
vendor/tencentcloud/sms/README.MD
vendored
Normal file
20
vendor/tencentcloud/sms/README.MD
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# 简介
|
||||
欢迎使用腾讯云开发者工具套件(SDK)3.0,SDK3.0是云 API3.0 平台的配套工具。新版SDK实现了统一化,具有各个语言版本的SDK使用方法相同,接口调用方式相同,统一的错误码和返回包格式这些优点。
|
||||
# 依赖环境
|
||||
1. PHP 5.6.0 版本及以上
|
||||
2. 从腾讯云控制台 开通相应产品
|
||||
3. 获取 SecretID、SecretKey 以及调用地址(endpoint),endpoint 为 sms.tencentcloudapi.com,具体参考各产品说明。
|
||||
|
||||
# 获取安装
|
||||
## 通过 Composer 安装
|
||||
通过 Composer 获取安装是使用 PHP SDK 的推荐方法,Composer 是 PHP 的依赖管理工具,支持您项目所需的依赖项,并将其安装到项目中。关于 Composer 详细可参考 Composer 官网 。
|
||||
1. 安装Composer:
|
||||
windows环境请访问[Composer官网](https://getcomposer.org/download/)下载安装包安装。
|
||||
|
||||
unix环境在命令行中执行以下命令安装。
|
||||
> curl -sS https://getcomposer.org/installer | php
|
||||
> sudo mv composer.phar /usr/local/bin/composer
|
||||
|
||||
2. 建议中国大陆地区的用户设置腾讯云镜像源:`composer config -g repos.packagist composer https://mirrors.tencent.com/composer/`
|
||||
3. 执行命令 `composer require tencentcloud/sms` 添加依赖。
|
||||
|
||||
23
vendor/tencentcloud/sms/composer.json
vendored
Normal file
23
vendor/tencentcloud/sms/composer.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "tencentcloud/sms",
|
||||
"description": "TencentCloudApi php sdk sms",
|
||||
"type": "library",
|
||||
"homepage": "https://github.com/tencentcloud-sdk-php/sms",
|
||||
"license": "Apache-2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "tencentcloudapi",
|
||||
"email": "tencentcloudapi@tencent.com",
|
||||
"homepage": "https://github.com/tencentcloud-sdk-php/sms",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"tencentcloud/common": "3.0.990"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"TencentCloud\\": "./src/TencentCloud"
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSignStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSignStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 添加签名响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名Id。
|
||||
* @method void setSignId(integer $SignId) 设置签名Id。
|
||||
* @method integer getSignApplyId() 获取签名申请Id。
|
||||
* @method void setSignApplyId(integer $SignApplyId) 设置签名申请Id。
|
||||
*/
|
||||
class AddSignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名Id。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var integer 签名申请Id。
|
||||
*/
|
||||
public $SignApplyId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名Id。
|
||||
* @param integer $SignApplyId 签名申请Id。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignApplyId",$param) and $param["SignApplyId"] !== null) {
|
||||
$this->SignApplyId = $param["SignApplyId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
233
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsSignRequest.php
vendored
Normal file
233
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,233 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsSign请求参数结构体
|
||||
*
|
||||
* @method string getSignName() 获取签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @method integer getSignType() 获取签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method void setSignType(integer $SignType) 设置签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method integer getDocumentType() 获取证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method void setDocumentType(integer $DocumentType) 设置证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method integer getUsedMethod() 获取签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method void setUsedMethod(integer $UsedMethod) 设置签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method string getProofImage() 获取签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method void setProofImage(string $ProofImage) 设置签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method string getCommissionImage() 获取委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method void setCommissionImage(string $CommissionImage) 设置委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method string getRemark() 获取签名的申请备注。
|
||||
* @method void setRemark(string $Remark) 设置签名的申请备注。
|
||||
*/
|
||||
class AddSmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
*/
|
||||
public $SignType;
|
||||
|
||||
/**
|
||||
* @var integer 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
*/
|
||||
public $DocumentType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
*/
|
||||
public $UsedMethod;
|
||||
|
||||
/**
|
||||
* @var string 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
*/
|
||||
public $ProofImage;
|
||||
|
||||
/**
|
||||
* @var string 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
*/
|
||||
public $CommissionImage;
|
||||
|
||||
/**
|
||||
* @var string 签名的申请备注。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param string $SignName 签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @param integer $SignType 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @param integer $DocumentType 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param integer $UsedMethod 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @param string $ProofImage 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @param string $CommissionImage 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @param string $Remark 签名的申请备注。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignType",$param) and $param["SignType"] !== null) {
|
||||
$this->SignType = $param["SignType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DocumentType",$param) and $param["DocumentType"] !== null) {
|
||||
$this->DocumentType = $param["DocumentType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("UsedMethod",$param) and $param["UsedMethod"] !== null) {
|
||||
$this->UsedMethod = $param["UsedMethod"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ProofImage",$param) and $param["ProofImage"] !== null) {
|
||||
$this->ProofImage = $param["ProofImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CommissionImage",$param) and $param["CommissionImage"] !== null) {
|
||||
$this->CommissionImage = $param["CommissionImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsSign返回参数结构体
|
||||
*
|
||||
* @method AddSignStatus getAddSignStatus() 获取添加签名响应
|
||||
* @method void setAddSignStatus(AddSignStatus $AddSignStatus) 设置添加签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class AddSmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var AddSignStatus 添加签名响应
|
||||
*/
|
||||
public $AddSignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param AddSignStatus $AddSignStatus 添加签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("AddSignStatus",$param) and $param["AddSignStatus"] !== null) {
|
||||
$this->AddSignStatus = new AddSignStatus();
|
||||
$this->AddSignStatus->deserialize($param["AddSignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsTemplateRequest.php
vendored
Normal file
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsTemplate请求参数结构体
|
||||
*
|
||||
* @method string getTemplateName() 获取模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置模板名称。
|
||||
* @method string getTemplateContent() 获取模板内容。
|
||||
* @method void setTemplateContent(string $TemplateContent) 设置模板内容。
|
||||
* @method integer getSmsType() 获取短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method void setSmsType(integer $SmsType) 设置短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method string getRemark() 获取模板备注,例如申请原因,使用场景等。
|
||||
* @method void setRemark(string $Remark) 设置模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
class AddSmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var string 模板内容。
|
||||
*/
|
||||
public $TemplateContent;
|
||||
|
||||
/**
|
||||
* @var integer 短信类型,0表示普通短信, 1表示营销短信。
|
||||
*/
|
||||
public $SmsType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var string 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param string $TemplateName 模板名称。
|
||||
* @param string $TemplateContent 模板内容。
|
||||
* @param integer $SmsType 短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param string $Remark 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateContent",$param) and $param["TemplateContent"] !== null) {
|
||||
$this->TemplateContent = $param["TemplateContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsType",$param) and $param["SmsType"] !== null) {
|
||||
$this->SmsType = $param["SmsType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddSmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsTemplate返回参数结构体
|
||||
*
|
||||
* @method AddTemplateStatus getAddTemplateStatus() 获取添加短信模板响应包体
|
||||
* @method void setAddTemplateStatus(AddTemplateStatus $AddTemplateStatus) 设置添加短信模板响应包体
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class AddSmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var AddTemplateStatus 添加短信模板响应包体
|
||||
*/
|
||||
public $AddTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param AddTemplateStatus $AddTemplateStatus 添加短信模板响应包体
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("AddTemplateStatus",$param) and $param["AddTemplateStatus"] !== null) {
|
||||
$this->AddTemplateStatus = new AddTemplateStatus();
|
||||
$this->AddTemplateStatus->deserialize($param["AddTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddTemplateStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/AddTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 添加模板参数响应
|
||||
*
|
||||
* @method string getTemplateId() 获取模板参数
|
||||
* @method void setTemplateId(string $TemplateId) 设置模板参数
|
||||
*/
|
||||
class AddTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 模板参数
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param string $TemplateId 模板参数
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
149
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/CallbackStatusStatistics.php
vendored
Normal file
149
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/CallbackStatusStatistics.php
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 回执数据统计响应包体
|
||||
*
|
||||
* @method integer getCallbackCount() 获取短信回执量统计。
|
||||
* @method void setCallbackCount(integer $CallbackCount) 设置短信回执量统计。
|
||||
* @method integer getRequestSuccessCount() 获取短信提交成功量统计。
|
||||
* @method void setRequestSuccessCount(integer $RequestSuccessCount) 设置短信提交成功量统计。
|
||||
* @method integer getCallbackFailCount() 获取短信回执失败量统计。
|
||||
* @method void setCallbackFailCount(integer $CallbackFailCount) 设置短信回执失败量统计。
|
||||
* @method integer getCallbackSuccessCount() 获取短信回执成功量统计。
|
||||
* @method void setCallbackSuccessCount(integer $CallbackSuccessCount) 设置短信回执成功量统计。
|
||||
* @method integer getInternalErrorCount() 获取运营商内部错误统计。
|
||||
* @method void setInternalErrorCount(integer $InternalErrorCount) 设置运营商内部错误统计。
|
||||
* @method integer getInvalidNumberCount() 获取号码无效或空号统计。
|
||||
* @method void setInvalidNumberCount(integer $InvalidNumberCount) 设置号码无效或空号统计。
|
||||
* @method integer getShutdownErrorCount() 获取停机、关机等错误统计。
|
||||
* @method void setShutdownErrorCount(integer $ShutdownErrorCount) 设置停机、关机等错误统计。
|
||||
* @method integer getBlackListCount() 获取号码拉入黑名单统计。
|
||||
* @method void setBlackListCount(integer $BlackListCount) 设置号码拉入黑名单统计。
|
||||
* @method integer getFrequencyLimitCount() 获取运营商频率限制统计。
|
||||
* @method void setFrequencyLimitCount(integer $FrequencyLimitCount) 设置运营商频率限制统计。
|
||||
*/
|
||||
class CallbackStatusStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 短信回执量统计。
|
||||
*/
|
||||
public $CallbackCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交成功量统计。
|
||||
*/
|
||||
public $RequestSuccessCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信回执失败量统计。
|
||||
*/
|
||||
public $CallbackFailCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信回执成功量统计。
|
||||
*/
|
||||
public $CallbackSuccessCount;
|
||||
|
||||
/**
|
||||
* @var integer 运营商内部错误统计。
|
||||
*/
|
||||
public $InternalErrorCount;
|
||||
|
||||
/**
|
||||
* @var integer 号码无效或空号统计。
|
||||
*/
|
||||
public $InvalidNumberCount;
|
||||
|
||||
/**
|
||||
* @var integer 停机、关机等错误统计。
|
||||
*/
|
||||
public $ShutdownErrorCount;
|
||||
|
||||
/**
|
||||
* @var integer 号码拉入黑名单统计。
|
||||
*/
|
||||
public $BlackListCount;
|
||||
|
||||
/**
|
||||
* @var integer 运营商频率限制统计。
|
||||
*/
|
||||
public $FrequencyLimitCount;
|
||||
|
||||
/**
|
||||
* @param integer $CallbackCount 短信回执量统计。
|
||||
* @param integer $RequestSuccessCount 短信提交成功量统计。
|
||||
* @param integer $CallbackFailCount 短信回执失败量统计。
|
||||
* @param integer $CallbackSuccessCount 短信回执成功量统计。
|
||||
* @param integer $InternalErrorCount 运营商内部错误统计。
|
||||
* @param integer $InvalidNumberCount 号码无效或空号统计。
|
||||
* @param integer $ShutdownErrorCount 停机、关机等错误统计。
|
||||
* @param integer $BlackListCount 号码拉入黑名单统计。
|
||||
* @param integer $FrequencyLimitCount 运营商频率限制统计。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("CallbackCount",$param) and $param["CallbackCount"] !== null) {
|
||||
$this->CallbackCount = $param["CallbackCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestSuccessCount",$param) and $param["RequestSuccessCount"] !== null) {
|
||||
$this->RequestSuccessCount = $param["RequestSuccessCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CallbackFailCount",$param) and $param["CallbackFailCount"] !== null) {
|
||||
$this->CallbackFailCount = $param["CallbackFailCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CallbackSuccessCount",$param) and $param["CallbackSuccessCount"] !== null) {
|
||||
$this->CallbackSuccessCount = $param["CallbackSuccessCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("InternalErrorCount",$param) and $param["InternalErrorCount"] !== null) {
|
||||
$this->InternalErrorCount = $param["InternalErrorCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("InvalidNumberCount",$param) and $param["InvalidNumberCount"] !== null) {
|
||||
$this->InvalidNumberCount = $param["InvalidNumberCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ShutdownErrorCount",$param) and $param["ShutdownErrorCount"] !== null) {
|
||||
$this->ShutdownErrorCount = $param["ShutdownErrorCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("BlackListCount",$param) and $param["BlackListCount"] !== null) {
|
||||
$this->BlackListCount = $param["BlackListCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("FrequencyLimitCount",$param) and $param["FrequencyLimitCount"] !== null) {
|
||||
$this->FrequencyLimitCount = $param["FrequencyLimitCount"];
|
||||
}
|
||||
}
|
||||
}
|
||||
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/CallbackStatusStatisticsRequest.php
vendored
Normal file
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/CallbackStatusStatisticsRequest.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* CallbackStatusStatistics请求参数结构体
|
||||
*
|
||||
* @method integer getStartDateTime() 获取开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @method void setStartDateTime(integer $StartDateTime) 设置开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @method integer getEndDataTime() 获取结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @method void setEndDataTime(integer $EndDataTime) 设置结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method integer getLimit() 获取最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
class CallbackStatusStatisticsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
*/
|
||||
public $StartDateTime;
|
||||
|
||||
/**
|
||||
* @var integer 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
*/
|
||||
public $EndDataTime;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param integer $StartDateTime 开始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @param integer $EndDataTime 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时。
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @param integer $Limit 最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("StartDateTime",$param) and $param["StartDateTime"] !== null) {
|
||||
$this->StartDateTime = $param["StartDateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndDataTime",$param) and $param["EndDataTime"] !== null) {
|
||||
$this->EndDataTime = $param["EndDataTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* CallbackStatusStatistics返回参数结构体
|
||||
*
|
||||
* @method CallbackStatusStatistics getCallbackStatusStatistics() 获取回执数据统计响应包体。
|
||||
* @method void setCallbackStatusStatistics(CallbackStatusStatistics $CallbackStatusStatistics) 设置回执数据统计响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class CallbackStatusStatisticsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var CallbackStatusStatistics 回执数据统计响应包体。
|
||||
*/
|
||||
public $CallbackStatusStatistics;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param CallbackStatusStatistics $CallbackStatusStatistics 回执数据统计响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("CallbackStatusStatistics",$param) and $param["CallbackStatusStatistics"] !== null) {
|
||||
$this->CallbackStatusStatistics = new CallbackStatusStatistics();
|
||||
$this->CallbackStatusStatistics->deserialize($param["CallbackStatusStatistics"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSignStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSignStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 删除签名响应
|
||||
*
|
||||
* @method string getDeleteStatus() 获取删除状态信息。
|
||||
* @method void setDeleteStatus(string $DeleteStatus) 设置删除状态信息。
|
||||
* @method integer getDeleteTime() 获取删除时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setDeleteTime(integer $DeleteTime) 设置删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DeleteSignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 删除状态信息。
|
||||
*/
|
||||
public $DeleteStatus;
|
||||
|
||||
/**
|
||||
* @var integer 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $DeleteTime;
|
||||
|
||||
/**
|
||||
* @param string $DeleteStatus 删除状态信息。
|
||||
* @param integer $DeleteTime 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteStatus",$param) and $param["DeleteStatus"] !== null) {
|
||||
$this->DeleteStatus = $param["DeleteStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DeleteTime",$param) and $param["DeleteTime"] !== null) {
|
||||
$this->DeleteTime = $param["DeleteTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsSignRequest.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsSign请求参数结构体
|
||||
*
|
||||
* @method integer getSignId() 获取待删除的签名 ID。
|
||||
* @method void setSignId(integer $SignId) 设置待删除的签名 ID。
|
||||
*/
|
||||
class DeleteSmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待删除的签名 ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 待删除的签名 ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsSign返回参数结构体
|
||||
*
|
||||
* @method DeleteSignStatus getDeleteSignStatus() 获取删除签名响应
|
||||
* @method void setDeleteSignStatus(DeleteSignStatus $DeleteSignStatus) 设置删除签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DeleteSmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var DeleteSignStatus 删除签名响应
|
||||
*/
|
||||
public $DeleteSignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param DeleteSignStatus $DeleteSignStatus 删除签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteSignStatus",$param) and $param["DeleteSignStatus"] !== null) {
|
||||
$this->DeleteSignStatus = new DeleteSignStatus();
|
||||
$this->DeleteSignStatus->deserialize($param["DeleteSignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsTemplateRequest.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsTemplate请求参数结构体
|
||||
*
|
||||
* @method integer getTemplateId() 获取待删除的模板 ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置待删除的模板 ID。
|
||||
*/
|
||||
class DeleteSmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待删除的模板 ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 待删除的模板 ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteSmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsTemplate返回参数结构体
|
||||
*
|
||||
* @method DeleteTemplateStatus getDeleteTemplateStatus() 获取删除模板响应
|
||||
* @method void setDeleteTemplateStatus(DeleteTemplateStatus $DeleteTemplateStatus) 设置删除模板响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DeleteSmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var DeleteTemplateStatus 删除模板响应
|
||||
*/
|
||||
public $DeleteTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param DeleteTemplateStatus $DeleteTemplateStatus 删除模板响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteTemplateStatus",$param) and $param["DeleteTemplateStatus"] !== null) {
|
||||
$this->DeleteTemplateStatus = new DeleteTemplateStatus();
|
||||
$this->DeleteTemplateStatus->deserialize($param["DeleteTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteTemplateStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DeleteTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 删除模板响应
|
||||
*
|
||||
* @method string getDeleteStatus() 获取删除状态信息。
|
||||
* @method void setDeleteStatus(string $DeleteStatus) 设置删除状态信息。
|
||||
* @method integer getDeleteTime() 获取删除时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setDeleteTime(integer $DeleteTime) 设置删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DeleteTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 删除状态信息。
|
||||
*/
|
||||
public $DeleteStatus;
|
||||
|
||||
/**
|
||||
* @var integer 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $DeleteTime;
|
||||
|
||||
/**
|
||||
* @param string $DeleteStatus 删除状态信息。
|
||||
* @param integer $DeleteTime 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteStatus",$param) and $param["DeleteStatus"] !== null) {
|
||||
$this->DeleteStatus = $param["DeleteStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DeleteTime",$param) and $param["DeleteTime"] !== null) {
|
||||
$this->DeleteTime = $param["DeleteTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
133
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSignListStatus.php
vendored
Normal file
133
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSignListStatus.php
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 获取短信签名信息响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名Id
|
||||
* @method void setSignId(integer $SignId) 设置签名Id
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method integer getStatusCode() 获取申请签名状态。其中:
|
||||
0:表示审核通过。
|
||||
1:表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @method void setStatusCode(integer $StatusCode) 设置申请签名状态。其中:
|
||||
0:表示审核通过。
|
||||
1:表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @method string getReviewReply() 获取审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method void setReviewReply(string $ReviewReply) 设置审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method string getSignName() 获取签名名称。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
* @method integer getCreateTime() 获取提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setCreateTime(integer $CreateTime) 设置提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DescribeSignListStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名Id
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 申请签名状态。其中:
|
||||
0:表示审核通过。
|
||||
1:表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
*/
|
||||
public $StatusCode;
|
||||
|
||||
/**
|
||||
* @var string 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
*/
|
||||
public $ReviewReply;
|
||||
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $CreateTime;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名Id
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param integer $StatusCode 申请签名状态。其中:
|
||||
0:表示审核通过。
|
||||
1:表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @param string $ReviewReply 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @param string $SignName 签名名称。
|
||||
* @param integer $CreateTime 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("StatusCode",$param) and $param["StatusCode"] !== null) {
|
||||
$this->StatusCode = $param["StatusCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReviewReply",$param) and $param["ReviewReply"] !== null) {
|
||||
$this->ReviewReply = $param["ReviewReply"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CreateTime",$param) and $param["CreateTime"] !== null) {
|
||||
$this->CreateTime = $param["CreateTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsSignListRequest.php
vendored
Normal file
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsSignListRequest.php
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsSignList请求参数结构体
|
||||
*
|
||||
* @method array getSignIdSet() 获取签名 ID 数组。
|
||||
* @method void setSignIdSet(array $SignIdSet) 设置签名 ID 数组。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
class DescribeSmsSignListRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 签名 ID 数组。
|
||||
*/
|
||||
public $SignIdSet;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @param array $SignIdSet 签名 ID 数组。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignIdSet",$param) and $param["SignIdSet"] !== null) {
|
||||
$this->SignIdSet = $param["SignIdSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsSignListResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsSignListResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsSignList返回参数结构体
|
||||
*
|
||||
* @method array getDescribeSignListStatusSet() 获取获取签名信息响应
|
||||
* @method void setDescribeSignListStatusSet(array $DescribeSignListStatusSet) 设置获取签名信息响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DescribeSmsSignListResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 获取签名信息响应
|
||||
*/
|
||||
public $DescribeSignListStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $DescribeSignListStatusSet 获取签名信息响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DescribeSignListStatusSet",$param) and $param["DescribeSignListStatusSet"] !== null) {
|
||||
$this->DescribeSignListStatusSet = [];
|
||||
foreach ($param["DescribeSignListStatusSet"] as $key => $value){
|
||||
$obj = new DescribeSignListStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->DescribeSignListStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsTemplateListRequest.php
vendored
Normal file
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeSmsTemplateListRequest.php
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsTemplateList请求参数结构体
|
||||
*
|
||||
* @method array getTemplateIdSet() 获取模板 ID 数组。
|
||||
* @method void setTemplateIdSet(array $TemplateIdSet) 设置模板 ID 数组。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
class DescribeSmsTemplateListRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 模板 ID 数组。
|
||||
*/
|
||||
public $TemplateIdSet;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @param array $TemplateIdSet 模板 ID 数组。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateIdSet",$param) and $param["TemplateIdSet"] !== null) {
|
||||
$this->TemplateIdSet = $param["TemplateIdSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsTemplateList返回参数结构体
|
||||
*
|
||||
* @method array getDescribeTemplateStatusSet() 获取获取短信模板信息响应
|
||||
* @method void setDescribeTemplateStatusSet(array $DescribeTemplateStatusSet) 设置获取短信模板信息响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DescribeSmsTemplateListResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 获取短信模板信息响应
|
||||
*/
|
||||
public $DescribeTemplateStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $DescribeTemplateStatusSet 获取短信模板信息响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DescribeTemplateStatusSet",$param) and $param["DescribeTemplateStatusSet"] !== null) {
|
||||
$this->DescribeTemplateStatusSet = [];
|
||||
foreach ($param["DescribeTemplateStatusSet"] as $key => $value){
|
||||
$obj = new DescribeTemplateListStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->DescribeTemplateStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeTemplateListStatus.php
vendored
Normal file
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/DescribeTemplateListStatus.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 获取短信模板信息响应
|
||||
*
|
||||
* @method integer getTemplateId() 获取模板Id
|
||||
* @method void setTemplateId(integer $TemplateId) 设置模板Id
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method integer getStatusCode() 获取申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。
|
||||
* @method void setStatusCode(integer $StatusCode) 设置申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。
|
||||
* @method string getReviewReply() 获取审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method void setReviewReply(string $ReviewReply) 设置审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method string getTemplateName() 获取模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置模板名称。
|
||||
* @method integer getCreateTime() 获取提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setCreateTime(integer $CreateTime) 设置提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DescribeTemplateListStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 模板Id
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。
|
||||
*/
|
||||
public $StatusCode;
|
||||
|
||||
/**
|
||||
* @var string 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
*/
|
||||
public $ReviewReply;
|
||||
|
||||
/**
|
||||
* @var string 模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var integer 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $CreateTime;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 模板Id
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param integer $StatusCode 申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。
|
||||
* @param string $ReviewReply 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @param string $TemplateName 模板名称。
|
||||
* @param integer $CreateTime 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("StatusCode",$param) and $param["StatusCode"] !== null) {
|
||||
$this->StatusCode = $param["StatusCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReviewReply",$param) and $param["ReviewReply"] !== null) {
|
||||
$this->ReviewReply = $param["ReviewReply"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CreateTime",$param) and $param["CreateTime"] !== null) {
|
||||
$this->CreateTime = $param["CreateTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySignStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySignStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 修改签名响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名Id
|
||||
* @method void setSignId(integer $SignId) 设置签名Id
|
||||
* @method string getSignApplyId() 获取签名修改申请Id
|
||||
* @method void setSignApplyId(string $SignApplyId) 设置签名修改申请Id
|
||||
*/
|
||||
class ModifySignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名Id
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var string 签名修改申请Id
|
||||
*/
|
||||
public $SignApplyId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名Id
|
||||
* @param string $SignApplyId 签名修改申请Id
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignApplyId",$param) and $param["SignApplyId"] !== null) {
|
||||
$this->SignApplyId = $param["SignApplyId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
245
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsSignRequest.php
vendored
Normal file
245
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,245 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsSign请求参数结构体
|
||||
*
|
||||
* @method integer getSignId() 获取待修改的签名 ID。
|
||||
* @method void setSignId(integer $SignId) 设置待修改的签名 ID。
|
||||
* @method string getSignName() 获取签名名称。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
* @method integer getSignType() 获取签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method void setSignType(integer $SignType) 设置签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method integer getDocumentType() 获取证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method void setDocumentType(integer $DocumentType) 设置证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @method integer getUsedMethod() 获取签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method void setUsedMethod(integer $UsedMethod) 设置签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method string getProofImage() 获取签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method void setProofImage(string $ProofImage) 设置签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method string getCommissionImage() 获取委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method void setCommissionImage(string $CommissionImage) 设置委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method string getRemark() 获取签名的申请备注。
|
||||
* @method void setRemark(string $Remark) 设置签名的申请备注。
|
||||
*/
|
||||
class ModifySmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待修改的签名 ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
*/
|
||||
public $SignType;
|
||||
|
||||
/**
|
||||
* @var integer 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
*/
|
||||
public $DocumentType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
*/
|
||||
public $UsedMethod;
|
||||
|
||||
/**
|
||||
* @var string 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
*/
|
||||
public $ProofImage;
|
||||
|
||||
/**
|
||||
* @var string 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
*/
|
||||
public $CommissionImage;
|
||||
|
||||
/**
|
||||
* @var string 签名的申请备注。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 待修改的签名 ID。
|
||||
* @param string $SignName 签名名称。
|
||||
* @param integer $SignType 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @param integer $DocumentType 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @param integer $UsedMethod 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @param string $ProofImage 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @param string $CommissionImage 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @param string $Remark 签名的申请备注。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignType",$param) and $param["SignType"] !== null) {
|
||||
$this->SignType = $param["SignType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DocumentType",$param) and $param["DocumentType"] !== null) {
|
||||
$this->DocumentType = $param["DocumentType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("UsedMethod",$param) and $param["UsedMethod"] !== null) {
|
||||
$this->UsedMethod = $param["UsedMethod"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ProofImage",$param) and $param["ProofImage"] !== null) {
|
||||
$this->ProofImage = $param["ProofImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CommissionImage",$param) and $param["CommissionImage"] !== null) {
|
||||
$this->CommissionImage = $param["CommissionImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsSign返回参数结构体
|
||||
*
|
||||
* @method ModifySignStatus getModifySignStatus() 获取修改签名响应
|
||||
* @method void setModifySignStatus(ModifySignStatus $ModifySignStatus) 设置修改签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class ModifySmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var ModifySignStatus 修改签名响应
|
||||
*/
|
||||
public $ModifySignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param ModifySignStatus $ModifySignStatus 修改签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ModifySignStatus",$param) and $param["ModifySignStatus"] !== null) {
|
||||
$this->ModifySignStatus = new ModifySignStatus();
|
||||
$this->ModifySignStatus->deserialize($param["ModifySignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsTemplateRequest.php
vendored
Normal file
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsTemplate请求参数结构体
|
||||
*
|
||||
* @method integer getTemplateId() 获取待修改的模板的模板 ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置待修改的模板的模板 ID。
|
||||
* @method string getTemplateName() 获取新的模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置新的模板名称。
|
||||
* @method string getTemplateContent() 获取新的模板内容。
|
||||
* @method void setTemplateContent(string $TemplateContent) 设置新的模板内容。
|
||||
* @method integer getSmsType() 获取短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method void setSmsType(integer $SmsType) 设置短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method string getRemark() 获取模板备注,例如申请原因,使用场景等。
|
||||
* @method void setRemark(string $Remark) 设置模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
class ModifySmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待修改的模板的模板 ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @var string 新的模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var string 新的模板内容。
|
||||
*/
|
||||
public $TemplateContent;
|
||||
|
||||
/**
|
||||
* @var integer 短信类型,0表示普通短信, 1表示营销短信。
|
||||
*/
|
||||
public $SmsType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var string 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 待修改的模板的模板 ID。
|
||||
* @param string $TemplateName 新的模板名称。
|
||||
* @param string $TemplateContent 新的模板内容。
|
||||
* @param integer $SmsType 短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param string $Remark 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateContent",$param) and $param["TemplateContent"] !== null) {
|
||||
$this->TemplateContent = $param["TemplateContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsType",$param) and $param["SmsType"] !== null) {
|
||||
$this->SmsType = $param["SmsType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifySmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsTemplate返回参数结构体
|
||||
*
|
||||
* @method ModifyTemplateStatus getModifyTemplateStatus() 获取修改模板参数响应
|
||||
* @method void setModifyTemplateStatus(ModifyTemplateStatus $ModifyTemplateStatus) 设置修改模板参数响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class ModifySmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var ModifyTemplateStatus 修改模板参数响应
|
||||
*/
|
||||
public $ModifyTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param ModifyTemplateStatus $ModifyTemplateStatus 修改模板参数响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ModifyTemplateStatus",$param) and $param["ModifyTemplateStatus"] !== null) {
|
||||
$this->ModifyTemplateStatus = new ModifyTemplateStatus();
|
||||
$this->ModifyTemplateStatus->deserialize($param["ModifyTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifyTemplateStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/ModifyTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 修改模板参数响应
|
||||
*
|
||||
* @method integer getTemplateId() 获取模板参数
|
||||
* @method void setTemplateId(integer $TemplateId) 设置模板参数
|
||||
*/
|
||||
class ModifyTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 模板参数
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 模板参数
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatus.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 短信回复状态
|
||||
*
|
||||
* @method string getExtendCode() 获取短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @method void setExtendCode(string $ExtendCode) 设置短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @method string getNationCode() 获取国家(或地区)码。
|
||||
* @method void setNationCode(string $NationCode) 设置国家(或地区)码。
|
||||
* @method string getPhoneNumber() 获取手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSign() 获取短信签名。
|
||||
* @method void setSign(string $Sign) 设置短信签名。
|
||||
* @method string getReplyContent() 获取用户回复的内容。
|
||||
* @method void setReplyContent(string $ReplyContent) 设置用户回复的内容。
|
||||
* @method string getReplyTime() 获取回复时间(例如:2019-10-08 17:18:37)。
|
||||
* @method void setReplyTime(string $ReplyTime) 设置回复时间(例如:2019-10-08 17:18:37)。
|
||||
* @method integer getReplyUnixTime() 获取回复时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setReplyUnixTime(integer $ReplyUnixTime) 设置回复时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class PullSmsReplyStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
*/
|
||||
public $ExtendCode;
|
||||
|
||||
/**
|
||||
* @var string 国家(或地区)码。
|
||||
*/
|
||||
public $NationCode;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信签名。
|
||||
*/
|
||||
public $Sign;
|
||||
|
||||
/**
|
||||
* @var string 用户回复的内容。
|
||||
*/
|
||||
public $ReplyContent;
|
||||
|
||||
/**
|
||||
* @var string 回复时间(例如:2019-10-08 17:18:37)。
|
||||
*/
|
||||
public $ReplyTime;
|
||||
|
||||
/**
|
||||
* @var integer 回复时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $ReplyUnixTime;
|
||||
|
||||
/**
|
||||
* @param string $ExtendCode 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @param string $NationCode 国家(或地区)码。
|
||||
* @param string $PhoneNumber 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $Sign 短信签名。
|
||||
* @param string $ReplyContent 用户回复的内容。
|
||||
* @param string $ReplyTime 回复时间(例如:2019-10-08 17:18:37)。
|
||||
* @param integer $ReplyUnixTime 回复时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ExtendCode",$param) and $param["ExtendCode"] !== null) {
|
||||
$this->ExtendCode = $param["ExtendCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("NationCode",$param) and $param["NationCode"] !== null) {
|
||||
$this->NationCode = $param["NationCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Sign",$param) and $param["Sign"] !== null) {
|
||||
$this->Sign = $param["Sign"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReplyContent",$param) and $param["ReplyContent"] !== null) {
|
||||
$this->ReplyContent = $param["ReplyContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReplyTime",$param) and $param["ReplyTime"] !== null) {
|
||||
$this->ReplyTime = $param["ReplyTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReplyUnixTime",$param) and $param["ReplyUnixTime"] !== null) {
|
||||
$this->ReplyUnixTime = $param["ReplyUnixTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatusByPhoneNumber请求参数结构体
|
||||
*
|
||||
* @method integer getSendDateTime() 获取拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @method void setSendDateTime(integer $SendDateTime) 设置拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getLimit() 获取拉取最大条数,最多 100。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多 100。
|
||||
* @method string getPhoneNumber() 获取下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @method integer getEndDateTime() 获取拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
* @method void setEndDateTime(integer $EndDateTime) 设置拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
class PullSmsReplyStatusByPhoneNumberRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
*/
|
||||
public $SendDateTime;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多 100。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var integer 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
public $EndDateTime;
|
||||
|
||||
/**
|
||||
* @param integer $SendDateTime 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Limit 拉取最大条数,最多 100。
|
||||
* @param string $PhoneNumber 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @param integer $EndDateTime 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendDateTime",$param) and $param["SendDateTime"] !== null) {
|
||||
$this->SendDateTime = $param["SendDateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndDateTime",$param) and $param["EndDateTime"] !== null) {
|
||||
$this->EndDateTime = $param["EndDateTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatusByPhoneNumber返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsReplyStatusSet() 获取回复状态响应集合。
|
||||
* @method void setPullSmsReplyStatusSet(array $PullSmsReplyStatusSet) 设置回复状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsReplyStatusByPhoneNumberResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 回复状态响应集合。
|
||||
*/
|
||||
public $PullSmsReplyStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsReplyStatusSet 回复状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsReplyStatusSet",$param) and $param["PullSmsReplyStatusSet"] !== null) {
|
||||
$this->PullSmsReplyStatusSet = [];
|
||||
foreach ($param["PullSmsReplyStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsReplyStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsReplyStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatusRequest.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatusRequest.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatus请求参数结构体
|
||||
*
|
||||
* @method integer getLimit() 获取拉取最大条数,最多100条。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多100条。
|
||||
* @method string getSmsSdkAppid() 获取短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际 SdkAppid,例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际 SdkAppid,例如1400006666。
|
||||
*/
|
||||
class PullSmsReplyStatusRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多100条。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际 SdkAppid,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @param integer $Limit 拉取最大条数,最多100条。
|
||||
* @param string $SmsSdkAppid 短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际 SdkAppid,例如1400006666。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatusResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsReplyStatusResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatus返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsReplyStatusSet() 获取回复状态响应集合。
|
||||
* @method void setPullSmsReplyStatusSet(array $PullSmsReplyStatusSet) 设置回复状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsReplyStatusResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 回复状态响应集合。
|
||||
*/
|
||||
public $PullSmsReplyStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsReplyStatusSet 回复状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsReplyStatusSet",$param) and $param["PullSmsReplyStatusSet"] !== null) {
|
||||
$this->PullSmsReplyStatusSet = [];
|
||||
foreach ($param["PullSmsReplyStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsReplyStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsReplyStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
137
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatus.php
vendored
Normal file
137
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatus.php
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 短信的下发状态详细信息
|
||||
*
|
||||
* @method string getUserReceiveTime() 获取用户实际接收到短信的时间。
|
||||
* @method void setUserReceiveTime(string $UserReceiveTime) 设置用户实际接收到短信的时间。
|
||||
* @method integer getUserReceiveUnixTime() 获取用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setUserReceiveUnixTime(integer $UserReceiveUnixTime) 设置用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getNationCode() 获取国家(或地区)码。
|
||||
* @method void setNationCode(string $NationCode) 设置国家(或地区)码。
|
||||
* @method string getPurePhoneNumber() 获取手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPurePhoneNumber(string $PurePhoneNumber) 设置手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getPhoneNumber() 获取手机号码,普通格式,示例如:13711112222。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,普通格式,示例如:13711112222。
|
||||
* @method string getSerialNo() 获取本次发送标识 ID。
|
||||
* @method void setSerialNo(string $SerialNo) 设置本次发送标识 ID。
|
||||
* @method string getReportStatus() 获取实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @method void setReportStatus(string $ReportStatus) 设置实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @method string getDescription() 获取用户接收短信状态描述。
|
||||
* @method void setDescription(string $Description) 设置用户接收短信状态描述。
|
||||
*/
|
||||
class PullSmsSendStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 用户实际接收到短信的时间。
|
||||
*/
|
||||
public $UserReceiveTime;
|
||||
|
||||
/**
|
||||
* @var integer 用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $UserReceiveUnixTime;
|
||||
|
||||
/**
|
||||
* @var string 国家(或地区)码。
|
||||
*/
|
||||
public $NationCode;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PurePhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,普通格式,示例如:13711112222。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 本次发送标识 ID。
|
||||
*/
|
||||
public $SerialNo;
|
||||
|
||||
/**
|
||||
* @var string 实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
*/
|
||||
public $ReportStatus;
|
||||
|
||||
/**
|
||||
* @var string 用户接收短信状态描述。
|
||||
*/
|
||||
public $Description;
|
||||
|
||||
/**
|
||||
* @param string $UserReceiveTime 用户实际接收到短信的时间。
|
||||
* @param integer $UserReceiveUnixTime 用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $NationCode 国家(或地区)码。
|
||||
* @param string $PurePhoneNumber 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $PhoneNumber 手机号码,普通格式,示例如:13711112222。
|
||||
* @param string $SerialNo 本次发送标识 ID。
|
||||
* @param string $ReportStatus 实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @param string $Description 用户接收短信状态描述。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("UserReceiveTime",$param) and $param["UserReceiveTime"] !== null) {
|
||||
$this->UserReceiveTime = $param["UserReceiveTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("UserReceiveUnixTime",$param) and $param["UserReceiveUnixTime"] !== null) {
|
||||
$this->UserReceiveUnixTime = $param["UserReceiveUnixTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("NationCode",$param) and $param["NationCode"] !== null) {
|
||||
$this->NationCode = $param["NationCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PurePhoneNumber",$param) and $param["PurePhoneNumber"] !== null) {
|
||||
$this->PurePhoneNumber = $param["PurePhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SerialNo",$param) and $param["SerialNo"] !== null) {
|
||||
$this->SerialNo = $param["SerialNo"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReportStatus",$param) and $param["ReportStatus"] !== null) {
|
||||
$this->ReportStatus = $param["ReportStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Description",$param) and $param["Description"] !== null) {
|
||||
$this->Description = $param["Description"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatusByPhoneNumber请求参数结构体
|
||||
*
|
||||
* @method integer getSendDateTime() 获取拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @method void setSendDateTime(integer $SendDateTime) 设置拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getLimit() 获取拉取最大条数,最多 100。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多 100。
|
||||
* @method string getPhoneNumber() 获取下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @method integer getEndDateTime() 获取拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
* @method void setEndDateTime(integer $EndDateTime) 设置拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
class PullSmsSendStatusByPhoneNumberRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
*/
|
||||
public $SendDateTime;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多 100。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var integer 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
public $EndDateTime;
|
||||
|
||||
/**
|
||||
* @param integer $SendDateTime 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期7天前的数据。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Limit 拉取最大条数,最多 100。
|
||||
* @param string $PhoneNumber 下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @param integer $EndDateTime 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendDateTime",$param) and $param["SendDateTime"] !== null) {
|
||||
$this->SendDateTime = $param["SendDateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndDateTime",$param) and $param["EndDateTime"] !== null) {
|
||||
$this->EndDateTime = $param["EndDateTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatusByPhoneNumber返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsSendStatusSet() 获取下发状态响应集合。
|
||||
* @method void setPullSmsSendStatusSet(array $PullSmsSendStatusSet) 设置下发状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsSendStatusByPhoneNumberResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发状态响应集合。
|
||||
*/
|
||||
public $PullSmsSendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsSendStatusSet 下发状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsSendStatusSet",$param) and $param["PullSmsSendStatusSet"] !== null) {
|
||||
$this->PullSmsSendStatusSet = [];
|
||||
foreach ($param["PullSmsSendStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsSendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsSendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatusRequest.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatusRequest.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatus请求参数结构体
|
||||
*
|
||||
* @method integer getLimit() 获取拉取最大条数,最多100条。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多100条。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
*/
|
||||
class PullSmsSendStatusRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多100条。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @param integer $Limit 拉取最大条数,最多100条。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatusResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/PullSmsSendStatusResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatus返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsSendStatusSet() 获取下发状态响应集合。
|
||||
* @method void setPullSmsSendStatusSet(array $PullSmsSendStatusSet) 设置下发状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsSendStatusResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发状态响应集合。
|
||||
*/
|
||||
public $PullSmsSendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsSendStatusSet 下发状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsSendStatusSet",$param) and $param["PullSmsSendStatusSet"] !== null) {
|
||||
$this->PullSmsSendStatusSet = [];
|
||||
foreach ($param["PullSmsSendStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsSendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsSendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
141
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendSmsRequest.php
vendored
Normal file
141
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendSmsRequest.php
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendSms请求参数结构体
|
||||
*
|
||||
* @method array getPhoneNumberSet() 获取下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumberSet(array $PhoneNumberSet) 设置下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getTemplateID() 获取模板 ID,必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @method void setTemplateID(string $TemplateID) 设置模板 ID,必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method string getSign() 获取短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看。注:国内短信为必填参数。
|
||||
* @method void setSign(string $Sign) 设置短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看。注:国内短信为必填参数。
|
||||
* @method array getTemplateParamSet() 获取模板参数,若无模板参数,则设置为空。
|
||||
* @method void setTemplateParamSet(array $TemplateParamSet) 设置模板参数,若无模板参数,则设置为空。
|
||||
* @method string getExtendCode() 获取短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @method void setExtendCode(string $ExtendCode) 设置短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @method string getSessionContext() 获取用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @method void setSessionContext(string $SessionContext) 设置用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @method string getSenderId() 获取国内短信无senderid,无需填写该项;若需开通国际/港澳台短信senderid,请联系smshelper。
|
||||
* @method void setSenderId(string $SenderId) 设置国内短信无senderid,无需填写该项;若需开通国际/港澳台短信senderid,请联系smshelper。
|
||||
*/
|
||||
class SendSmsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumberSet;
|
||||
|
||||
/**
|
||||
* @var string 模板 ID,必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
*/
|
||||
public $TemplateID;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var string 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看。注:国内短信为必填参数。
|
||||
*/
|
||||
public $Sign;
|
||||
|
||||
/**
|
||||
* @var array 模板参数,若无模板参数,则设置为空。
|
||||
*/
|
||||
public $TemplateParamSet;
|
||||
|
||||
/**
|
||||
* @var string 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
*/
|
||||
public $ExtendCode;
|
||||
|
||||
/**
|
||||
* @var string 用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
*/
|
||||
public $SessionContext;
|
||||
|
||||
/**
|
||||
* @var string 国内短信无senderid,无需填写该项;若需开通国际/港澳台短信senderid,请联系smshelper。
|
||||
*/
|
||||
public $SenderId;
|
||||
|
||||
/**
|
||||
* @param array $PhoneNumberSet 下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $TemplateID 模板 ID,必须填写已审核通过的模板 ID。模板ID可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @param string $Sign 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看。注:国内短信为必填参数。
|
||||
* @param array $TemplateParamSet 模板参数,若无模板参数,则设置为空。
|
||||
* @param string $ExtendCode 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。
|
||||
* @param string $SessionContext 用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @param string $SenderId 国内短信无senderid,无需填写该项;若需开通国际/港澳台短信senderid,请联系smshelper。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PhoneNumberSet",$param) and $param["PhoneNumberSet"] !== null) {
|
||||
$this->PhoneNumberSet = $param["PhoneNumberSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateID",$param) and $param["TemplateID"] !== null) {
|
||||
$this->TemplateID = $param["TemplateID"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Sign",$param) and $param["Sign"] !== null) {
|
||||
$this->Sign = $param["Sign"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateParamSet",$param) and $param["TemplateParamSet"] !== null) {
|
||||
$this->TemplateParamSet = $param["TemplateParamSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ExtendCode",$param) and $param["ExtendCode"] !== null) {
|
||||
$this->ExtendCode = $param["ExtendCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SessionContext",$param) and $param["SessionContext"] !== null) {
|
||||
$this->SessionContext = $param["SessionContext"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SenderId",$param) and $param["SenderId"] !== null) {
|
||||
$this->SenderId = $param["SenderId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendSmsResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendSmsResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendSms返回参数结构体
|
||||
*
|
||||
* @method array getSendStatusSet() 获取短信发送状态。
|
||||
* @method void setSendStatusSet(array $SendStatusSet) 设置短信发送状态。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class SendSmsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 短信发送状态。
|
||||
*/
|
||||
public $SendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $SendStatusSet 短信发送状态。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendStatusSet",$param) and $param["SendStatusSet"] !== null) {
|
||||
$this->SendStatusSet = [];
|
||||
foreach ($param["SendStatusSet"] as $key => $value){
|
||||
$obj = new SendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->SendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatus.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 发送短信状态
|
||||
*
|
||||
* @method string getSerialNo() 获取发送流水号。
|
||||
* @method void setSerialNo(string $SerialNo) 设置发送流水号。
|
||||
* @method string getPhoneNumber() 获取手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method integer getFee() 获取计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @method void setFee(integer $Fee) 设置计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @method string getSessionContext() 获取用户Session内容。
|
||||
* @method void setSessionContext(string $SessionContext) 设置用户Session内容。
|
||||
* @method string getCode() 获取短信请求错误码,具体含义请参考错误码。
|
||||
* @method void setCode(string $Code) 设置短信请求错误码,具体含义请参考错误码。
|
||||
* @method string getMessage() 获取短信请求错误码描述。
|
||||
* @method void setMessage(string $Message) 设置短信请求错误码描述。
|
||||
* @method string getIsoCode() 获取国家码或地区码,例如CN,US等,对于未识别出国家码或者地区码,默认返回DEF,具体支持列表请参考国际/港澳台计费总览。
|
||||
* @method void setIsoCode(string $IsoCode) 设置国家码或地区码,例如CN,US等,对于未识别出国家码或者地区码,默认返回DEF,具体支持列表请参考国际/港澳台计费总览。
|
||||
*/
|
||||
class SendStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 发送流水号。
|
||||
*/
|
||||
public $SerialNo;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var integer 计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
*/
|
||||
public $Fee;
|
||||
|
||||
/**
|
||||
* @var string 用户Session内容。
|
||||
*/
|
||||
public $SessionContext;
|
||||
|
||||
/**
|
||||
* @var string 短信请求错误码,具体含义请参考错误码。
|
||||
*/
|
||||
public $Code;
|
||||
|
||||
/**
|
||||
* @var string 短信请求错误码描述。
|
||||
*/
|
||||
public $Message;
|
||||
|
||||
/**
|
||||
* @var string 国家码或地区码,例如CN,US等,对于未识别出国家码或者地区码,默认返回DEF,具体支持列表请参考国际/港澳台计费总览。
|
||||
*/
|
||||
public $IsoCode;
|
||||
|
||||
/**
|
||||
* @param string $SerialNo 发送流水号。
|
||||
* @param string $PhoneNumber 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param integer $Fee 计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @param string $SessionContext 用户Session内容。
|
||||
* @param string $Code 短信请求错误码,具体含义请参考错误码。
|
||||
* @param string $Message 短信请求错误码描述。
|
||||
* @param string $IsoCode 国家码或地区码,例如CN,US等,对于未识别出国家码或者地区码,默认返回DEF,具体支持列表请参考国际/港澳台计费总览。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SerialNo",$param) and $param["SerialNo"] !== null) {
|
||||
$this->SerialNo = $param["SerialNo"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Fee",$param) and $param["Fee"] !== null) {
|
||||
$this->Fee = $param["Fee"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SessionContext",$param) and $param["SessionContext"] !== null) {
|
||||
$this->SessionContext = $param["SessionContext"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Code",$param) and $param["Code"] !== null) {
|
||||
$this->Code = $param["Code"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Message",$param) and $param["Message"] !== null) {
|
||||
$this->Message = $param["Message"];
|
||||
}
|
||||
|
||||
if (array_key_exists("IsoCode",$param) and $param["IsoCode"] !== null) {
|
||||
$this->IsoCode = $param["IsoCode"];
|
||||
}
|
||||
}
|
||||
}
|
||||
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatistics.php
vendored
Normal file
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatistics.php
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 发送数据统计响应包体
|
||||
*
|
||||
* @method integer getFeeCount() 获取短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @method void setFeeCount(integer $FeeCount) 设置短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @method integer getRequestCount() 获取短信提交量统计。
|
||||
* @method void setRequestCount(integer $RequestCount) 设置短信提交量统计。
|
||||
* @method integer getRequestSuccessCount() 获取短信提交成功量统计。
|
||||
* @method void setRequestSuccessCount(integer $RequestSuccessCount) 设置短信提交成功量统计。
|
||||
*/
|
||||
class SendStatusStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
*/
|
||||
public $FeeCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交量统计。
|
||||
*/
|
||||
public $RequestCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交成功量统计。
|
||||
*/
|
||||
public $RequestSuccessCount;
|
||||
|
||||
/**
|
||||
* @param integer $FeeCount 短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @param integer $RequestCount 短信提交量统计。
|
||||
* @param integer $RequestSuccessCount 短信提交成功量统计。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("FeeCount",$param) and $param["FeeCount"] !== null) {
|
||||
$this->FeeCount = $param["FeeCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestCount",$param) and $param["RequestCount"] !== null) {
|
||||
$this->RequestCount = $param["RequestCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestSuccessCount",$param) and $param["RequestSuccessCount"] !== null) {
|
||||
$this->RequestSuccessCount = $param["RequestSuccessCount"];
|
||||
}
|
||||
}
|
||||
}
|
||||
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatisticsRequest.php
vendored
Normal file
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatisticsRequest.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendStatusStatistics请求参数结构体
|
||||
*
|
||||
* @method integer getStartDateTime() 获取拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @method void setStartDateTime(integer $StartDateTime) 设置拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @method integer getEndDataTime() 获取结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @method void setEndDataTime(integer $EndDataTime) 设置结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method integer getLimit() 获取最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
class SendStatusStatisticsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
*/
|
||||
public $StartDateTime;
|
||||
|
||||
/**
|
||||
* @var integer 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
*/
|
||||
public $EndDataTime;
|
||||
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param integer $StartDateTime 拉取起始时间,yyyymmddhh 需要拉取的起始时间,精确到小时。
|
||||
* @param integer $EndDataTime 结束时间,yyyymmddhh 需要拉取的截止时间,精确到小时
|
||||
注:EndDataTime 必须大于 StartDateTime。
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @param integer $Limit 最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("StartDateTime",$param) and $param["StartDateTime"] !== null) {
|
||||
$this->StartDateTime = $param["StartDateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndDataTime",$param) and $param["EndDataTime"] !== null) {
|
||||
$this->EndDataTime = $param["EndDataTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatisticsResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SendStatusStatisticsResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendStatusStatistics返回参数结构体
|
||||
*
|
||||
* @method SendStatusStatistics getSendStatusStatistics() 获取发送数据统计响应包体。
|
||||
* @method void setSendStatusStatistics(SendStatusStatistics $SendStatusStatistics) 设置发送数据统计响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class SendStatusStatisticsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var SendStatusStatistics 发送数据统计响应包体。
|
||||
*/
|
||||
public $SendStatusStatistics;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param SendStatusStatistics $SendStatusStatistics 发送数据统计响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendStatusStatistics",$param) and $param["SendStatusStatistics"] !== null) {
|
||||
$this->SendStatusStatistics = new SendStatusStatistics();
|
||||
$this->SendStatusStatistics->deserialize($param["SendStatusStatistics"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
161
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatistics.php
vendored
Normal file
161
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatistics.php
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 套餐包信息统计响应包体
|
||||
*
|
||||
* @method string getPackageCreateTime() 获取套餐包创建时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method void setPackageCreateTime(string $PackageCreateTime) 设置套餐包创建时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method integer getPackageCreateUnixTime() 获取套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageCreateUnixTime(integer $PackageCreateUnixTime) 设置套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getPackageEffectiveTime() 获取套餐包生效时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method void setPackageEffectiveTime(string $PackageEffectiveTime) 设置套餐包生效时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method integer getPackageEffectiveUnixTime() 获取套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageEffectiveUnixTime(integer $PackageEffectiveUnixTime) 设置套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getPackageExpiredTime() 获取套餐包过期时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method void setPackageExpiredTime(string $PackageExpiredTime) 设置套餐包过期时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @method integer getPackageExpiredUnixTime() 获取套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageExpiredUnixTime(integer $PackageExpiredUnixTime) 设置套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @method integer getAmountOfPackage() 获取套餐包条数。
|
||||
* @method void setAmountOfPackage(integer $AmountOfPackage) 设置套餐包条数。
|
||||
* @method integer getTypeOfPackage() 获取0表示赠送套餐包,1表示购买套餐包。
|
||||
* @method void setTypeOfPackage(integer $TypeOfPackage) 设置0表示赠送套餐包,1表示购买套餐包。
|
||||
* @method integer getPackageId() 获取套餐包 ID。
|
||||
* @method void setPackageId(integer $PackageId) 设置套餐包 ID。
|
||||
* @method integer getCurrentUsage() 获取当前使用量。
|
||||
* @method void setCurrentUsage(integer $CurrentUsage) 设置当前使用量。
|
||||
*/
|
||||
class SmsPackagesStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 套餐包创建时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
*/
|
||||
public $PackageCreateTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageCreateUnixTime;
|
||||
|
||||
/**
|
||||
* @var string 套餐包生效时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
*/
|
||||
public $PackageEffectiveTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageEffectiveUnixTime;
|
||||
|
||||
/**
|
||||
* @var string 套餐包过期时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
*/
|
||||
public $PackageExpiredTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageExpiredUnixTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包条数。
|
||||
*/
|
||||
public $AmountOfPackage;
|
||||
|
||||
/**
|
||||
* @var integer 0表示赠送套餐包,1表示购买套餐包。
|
||||
*/
|
||||
public $TypeOfPackage;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包 ID。
|
||||
*/
|
||||
public $PackageId;
|
||||
|
||||
/**
|
||||
* @var integer 当前使用量。
|
||||
*/
|
||||
public $CurrentUsage;
|
||||
|
||||
/**
|
||||
* @param string $PackageCreateTime 套餐包创建时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @param integer $PackageCreateUnixTime 套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $PackageEffectiveTime 套餐包生效时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @param integer $PackageEffectiveUnixTime 套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $PackageExpiredTime 套餐包过期时间,标准时间,例如:2019-10-08 17:18:37。
|
||||
* @param integer $PackageExpiredUnixTime 套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @param integer $AmountOfPackage 套餐包条数。
|
||||
* @param integer $TypeOfPackage 0表示赠送套餐包,1表示购买套餐包。
|
||||
* @param integer $PackageId 套餐包 ID。
|
||||
* @param integer $CurrentUsage 当前使用量。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PackageCreateTime",$param) and $param["PackageCreateTime"] !== null) {
|
||||
$this->PackageCreateTime = $param["PackageCreateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageCreateUnixTime",$param) and $param["PackageCreateUnixTime"] !== null) {
|
||||
$this->PackageCreateUnixTime = $param["PackageCreateUnixTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageEffectiveTime",$param) and $param["PackageEffectiveTime"] !== null) {
|
||||
$this->PackageEffectiveTime = $param["PackageEffectiveTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageEffectiveUnixTime",$param) and $param["PackageEffectiveUnixTime"] !== null) {
|
||||
$this->PackageEffectiveUnixTime = $param["PackageEffectiveUnixTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageExpiredTime",$param) and $param["PackageExpiredTime"] !== null) {
|
||||
$this->PackageExpiredTime = $param["PackageExpiredTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageExpiredUnixTime",$param) and $param["PackageExpiredUnixTime"] !== null) {
|
||||
$this->PackageExpiredUnixTime = $param["PackageExpiredUnixTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("AmountOfPackage",$param) and $param["AmountOfPackage"] !== null) {
|
||||
$this->AmountOfPackage = $param["AmountOfPackage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TypeOfPackage",$param) and $param["TypeOfPackage"] !== null) {
|
||||
$this->TypeOfPackage = $param["TypeOfPackage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageId",$param) and $param["PackageId"] !== null) {
|
||||
$this->PackageId = $param["PackageId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CurrentUsage",$param) and $param["CurrentUsage"] !== null) {
|
||||
$this->CurrentUsage = $param["CurrentUsage"];
|
||||
}
|
||||
}
|
||||
}
|
||||
81
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatisticsRequest.php
vendored
Normal file
81
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatisticsRequest.php
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SmsPackagesStatistics请求参数结构体
|
||||
*
|
||||
* @method string getSmsSdkAppid() 获取短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method void setSmsSdkAppid(string $SmsSdkAppid) 设置短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @method integer getLimit() 获取最大上限(需要拉取的套餐包个数)。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限(需要拉取的套餐包个数)。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
class SmsPackagesStatisticsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppid;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限(需要拉取的套餐包个数)。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param string $SmsSdkAppid 短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。
|
||||
* @param integer $Limit 最大上限(需要拉取的套餐包个数)。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SmsSdkAppid",$param) and $param["SmsSdkAppid"] !== null) {
|
||||
$this->SmsSdkAppid = $param["SmsSdkAppid"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatisticsResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/Models/SmsPackagesStatisticsResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20190711\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SmsPackagesStatistics返回参数结构体
|
||||
*
|
||||
* @method array getSmsPackagesStatisticsSet() 获取发送数据统计响应包体。
|
||||
* @method void setSmsPackagesStatisticsSet(array $SmsPackagesStatisticsSet) 设置发送数据统计响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class SmsPackagesStatisticsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 发送数据统计响应包体。
|
||||
*/
|
||||
public $SmsPackagesStatisticsSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $SmsPackagesStatisticsSet 发送数据统计响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SmsPackagesStatisticsSet",$param) and $param["SmsPackagesStatisticsSet"] !== null) {
|
||||
$this->SmsPackagesStatisticsSet = [];
|
||||
foreach ($param["SmsPackagesStatisticsSet"] as $key => $value){
|
||||
$obj = new SmsPackagesStatistics();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->SmsPackagesStatisticsSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
131
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/SmsClient.php
vendored
Normal file
131
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20190711/SmsClient.php
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud\Sms\V20190711;
|
||||
|
||||
use TencentCloud\Common\AbstractClient;
|
||||
use TencentCloud\Common\Profile\ClientProfile;
|
||||
use TencentCloud\Common\Credential;
|
||||
use TencentCloud\Sms\V20190711\Models as Models;
|
||||
|
||||
/**
|
||||
* @method Models\AddSmsSignResponse AddSmsSign(Models\AddSmsSignRequest $req) 1. 添加短信签名,申请之前请先认真参阅 [腾讯云短信签名审核标准](https://cloud.tencent.com/document/product/382/39022)。
|
||||
2. ⚠️注意:个人认证用户不支持使用 API 申请短信签名,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),如果为个人认证请登录控制台申请短信签名。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\AddSmsTemplateResponse AddSmsTemplate(Models\AddSmsTemplateRequest $req) 1. 添加短信模板,申请之前请先认真参阅 [腾讯云短信正文模板审核标准](https://cloud.tencent.com/document/product/382/39023)。
|
||||
2. ⚠️注意:个人认证用户不支持使用 API 申请短信正文模板,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),如果为个人认证请登录 [控制台](https://console.cloud.tencent.com/smsv2) 申请短信正文模板。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\CallbackStatusStatisticsResponse CallbackStatusStatistics(Models\CallbackStatusStatisticsRequest $req) 统计用户回执的数据。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\DeleteSmsSignResponse DeleteSmsSign(Models\DeleteSmsSignRequest $req) ⚠️注意:个人认证用户不支持使用 API 删除短信签名,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),请登录 [控制台](https://console.cloud.tencent.com/smsv2) 删除短信签名。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\DeleteSmsTemplateResponse DeleteSmsTemplate(Models\DeleteSmsTemplateRequest $req) ⚠️注意:个人认证用户不支持使用 API 删除短信正文模板,请登录 [控制台](https://console.cloud.tencent.com/smsv2) 删除短信正文模板,如需了解请参阅 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629)。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\DescribeSmsSignListResponse DescribeSmsSignList(Models\DescribeSmsSignListRequest $req) ⚠️注意:个人认证用户不支持使用 API 查询短信签名,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),如果为个人认证请登录 [控制台](https://console.cloud.tencent.com/smsv2) 查询短信签名。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\DescribeSmsTemplateListResponse DescribeSmsTemplateList(Models\DescribeSmsTemplateListRequest $req) ⚠️注意:个人认证用户不支持使用 API 查询短信正文模板,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629)。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\ModifySmsSignResponse ModifySmsSign(Models\ModifySmsSignRequest $req) 1. 修改短信签名,修改之前请先认真参阅 [腾讯云短信签名审核标准](https://cloud.tencent.com/document/product/382/39022)。
|
||||
2. ⚠️注意:个人认证用户不支持使用 API 修改短信签名,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),如果为个人认证请登录 [控制台](https://console.cloud.tencent.com/smsv2) 修改短信签名。
|
||||
3. 修改短信签名,仅当签名为**待审核**或**已拒绝**状态时,才能进行修改,**已审核通过**的签名不支持修改。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\ModifySmsTemplateResponse ModifySmsTemplate(Models\ModifySmsTemplateRequest $req) 1. 修改短信正文模板,修改之前请先认真参阅 [腾讯云短信正文模板审核标准](https://cloud.tencent.com/document/product/382/39023)。
|
||||
2. ⚠️注意:个人认证用户不支持使用 API 修改短信正文模板,请参阅了解 [实名认证基本介绍](https://cloud.tencent.com/document/product/378/3629),如果为个人认证请登录 [控制台](https://console.cloud.tencent.com/smsv2) 修改短信正文模板。
|
||||
3. 修改短信模板,仅当正文模板为**待审核**或**已拒绝**状态时,才能进行修改,**已审核通过**的正文模板不支持修改。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\PullSmsReplyStatusResponse PullSmsReplyStatus(Models\PullSmsReplyStatusRequest $req) 拉取短信回复状态。
|
||||
目前也支持 [配置回复回调](https://cloud.tencent.com/document/product/382/42907) 的方式来获取上行回复。
|
||||
>- 注:此接口需要联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\PullSmsReplyStatusByPhoneNumberResponse PullSmsReplyStatusByPhoneNumber(Models\PullSmsReplyStatusByPhoneNumberRequest $req) 拉取单个号码短信回复状态。
|
||||
目前也支持 [配置回复回调](https://cloud.tencent.com/document/product/382/42907) 的方式来获取上行回复。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\PullSmsSendStatusResponse PullSmsSendStatus(Models\PullSmsSendStatusRequest $req) 拉取短信下发状态。
|
||||
目前也支持 [配置回调](https://cloud.tencent.com/document/product/382/37809#.E8.AE.BE.E7.BD.AE.E4.BA.8B.E4.BB.B6.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE) 的方式来获取下发状态。
|
||||
>- 注:此接口需要联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\PullSmsSendStatusByPhoneNumberResponse PullSmsSendStatusByPhoneNumber(Models\PullSmsSendStatusByPhoneNumberRequest $req) 拉取单个号码短信下发状态。
|
||||
目前也支持 [配置回调](https://cloud.tencent.com/document/product/382/37809#.E8.AE.BE.E7.BD.AE.E4.BA.8B.E4.BB.B6.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE) 的方式来获取下发状态。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\SendSmsResponse SendSms(Models\SendSmsRequest $req) 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
* @method Models\SendStatusStatisticsResponse SendStatusStatistics(Models\SendStatusStatisticsRequest $req) 统计用户发送短信的数据。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
|
||||
* @method Models\SmsPackagesStatisticsResponse SmsPackagesStatistics(Models\SmsPackagesStatisticsRequest $req) 用户套餐包信息统计。
|
||||
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
||||
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
||||
*/
|
||||
|
||||
class SmsClient extends AbstractClient
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $endpoint = "sms.tencentcloudapi.com";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $service = "sms";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $version = "2019-07-11";
|
||||
|
||||
/**
|
||||
* @param Credential $credential
|
||||
* @param string $region
|
||||
* @param ClientProfile|null $profile
|
||||
* @throws TencentCloudSDKException
|
||||
*/
|
||||
function __construct($credential, $region, $profile=null)
|
||||
{
|
||||
parent::__construct($this->endpoint, $this->version, $credential, $region, $profile);
|
||||
}
|
||||
|
||||
public function returnResponse($action, $response)
|
||||
{
|
||||
$respClass = "TencentCloud"."\\".ucfirst("sms")."\\"."V20190711\\Models"."\\".ucfirst($action)."Response";
|
||||
$obj = new $respClass();
|
||||
$obj->deserialize($response);
|
||||
return $obj;
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSignStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSignStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 添加签名响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名ID。
|
||||
* @method void setSignId(integer $SignId) 设置签名ID。
|
||||
*/
|
||||
class AddSignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
233
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsSignRequest.php
vendored
Normal file
233
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,233 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsSign请求参数结构体
|
||||
*
|
||||
* @method string getSignName() 获取签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @method integer getSignType() 获取签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method void setSignType(integer $SignType) 设置签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method integer getDocumentType() 获取证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method void setDocumentType(integer $DocumentType) 设置证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method integer getSignPurpose() 获取签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method void setSignPurpose(integer $SignPurpose) 设置签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method string getProofImage() 获取签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method void setProofImage(string $ProofImage) 设置签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method string getCommissionImage() 获取委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method void setCommissionImage(string $CommissionImage) 设置委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method string getRemark() 获取签名的申请备注。
|
||||
* @method void setRemark(string $Remark) 设置签名的申请备注。
|
||||
*/
|
||||
class AddSmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
*/
|
||||
public $SignType;
|
||||
|
||||
/**
|
||||
* @var integer 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
*/
|
||||
public $DocumentType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
*/
|
||||
public $SignPurpose;
|
||||
|
||||
/**
|
||||
* @var string 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
*/
|
||||
public $ProofImage;
|
||||
|
||||
/**
|
||||
* @var string 委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
*/
|
||||
public $CommissionImage;
|
||||
|
||||
/**
|
||||
* @var string 签名的申请备注。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param string $SignName 签名名称。
|
||||
注:不能重复申请已通过或待审核的签名。
|
||||
* @param integer $SignType 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @param integer $DocumentType 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param integer $SignPurpose 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @param string $ProofImage 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @param string $CommissionImage 委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @param string $Remark 签名的申请备注。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignType",$param) and $param["SignType"] !== null) {
|
||||
$this->SignType = $param["SignType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DocumentType",$param) and $param["DocumentType"] !== null) {
|
||||
$this->DocumentType = $param["DocumentType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignPurpose",$param) and $param["SignPurpose"] !== null) {
|
||||
$this->SignPurpose = $param["SignPurpose"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ProofImage",$param) and $param["ProofImage"] !== null) {
|
||||
$this->ProofImage = $param["ProofImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CommissionImage",$param) and $param["CommissionImage"] !== null) {
|
||||
$this->CommissionImage = $param["CommissionImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsSign返回参数结构体
|
||||
*
|
||||
* @method AddSignStatus getAddSignStatus() 获取添加签名响应
|
||||
* @method void setAddSignStatus(AddSignStatus $AddSignStatus) 设置添加签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class AddSmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var AddSignStatus 添加签名响应
|
||||
*/
|
||||
public $AddSignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param AddSignStatus $AddSignStatus 添加签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("AddSignStatus",$param) and $param["AddSignStatus"] !== null) {
|
||||
$this->AddSignStatus = new AddSignStatus();
|
||||
$this->AddSignStatus->deserialize($param["AddSignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsTemplateRequest.php
vendored
Normal file
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsTemplate请求参数结构体
|
||||
*
|
||||
* @method string getTemplateName() 获取模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置模板名称。
|
||||
* @method string getTemplateContent() 获取模板内容。
|
||||
* @method void setTemplateContent(string $TemplateContent) 设置模板内容。
|
||||
* @method integer getSmsType() 获取短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method void setSmsType(integer $SmsType) 设置短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method string getRemark() 获取模板备注,例如申请原因,使用场景等。
|
||||
* @method void setRemark(string $Remark) 设置模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
class AddSmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var string 模板内容。
|
||||
*/
|
||||
public $TemplateContent;
|
||||
|
||||
/**
|
||||
* @var integer 短信类型,0表示普通短信, 1表示营销短信。
|
||||
*/
|
||||
public $SmsType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var string 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param string $TemplateName 模板名称。
|
||||
* @param string $TemplateContent 模板内容。
|
||||
* @param integer $SmsType 短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param string $Remark 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateContent",$param) and $param["TemplateContent"] !== null) {
|
||||
$this->TemplateContent = $param["TemplateContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsType",$param) and $param["SmsType"] !== null) {
|
||||
$this->SmsType = $param["SmsType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddSmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* AddSmsTemplate返回参数结构体
|
||||
*
|
||||
* @method AddTemplateStatus getAddTemplateStatus() 获取添加短信模板响应包体
|
||||
* @method void setAddTemplateStatus(AddTemplateStatus $AddTemplateStatus) 设置添加短信模板响应包体
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class AddSmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var AddTemplateStatus 添加短信模板响应包体
|
||||
*/
|
||||
public $AddTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param AddTemplateStatus $AddTemplateStatus 添加短信模板响应包体
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("AddTemplateStatus",$param) and $param["AddTemplateStatus"] !== null) {
|
||||
$this->AddTemplateStatus = new AddTemplateStatus();
|
||||
$this->AddTemplateStatus->deserialize($param["AddTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddTemplateStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/AddTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 添加模板参数响应
|
||||
*
|
||||
* @method string getTemplateId() 获取模板ID。
|
||||
* @method void setTemplateId(string $TemplateId) 设置模板ID。
|
||||
*/
|
||||
class AddTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 模板ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param string $TemplateId 模板ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
149
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/CallbackStatusStatistics.php
vendored
Normal file
149
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/CallbackStatusStatistics.php
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 回执数据统计响应包体
|
||||
*
|
||||
* @method integer getCallbackCount() 获取短信回执量统计。
|
||||
* @method void setCallbackCount(integer $CallbackCount) 设置短信回执量统计。
|
||||
* @method integer getRequestSuccessCount() 获取短信提交成功量统计。
|
||||
* @method void setRequestSuccessCount(integer $RequestSuccessCount) 设置短信提交成功量统计。
|
||||
* @method integer getCallbackFailCount() 获取短信回执失败量统计。
|
||||
* @method void setCallbackFailCount(integer $CallbackFailCount) 设置短信回执失败量统计。
|
||||
* @method integer getCallbackSuccessCount() 获取短信回执成功量统计。
|
||||
* @method void setCallbackSuccessCount(integer $CallbackSuccessCount) 设置短信回执成功量统计。
|
||||
* @method integer getInternalErrorCount() 获取运营商内部错误统计。
|
||||
* @method void setInternalErrorCount(integer $InternalErrorCount) 设置运营商内部错误统计。
|
||||
* @method integer getInvalidNumberCount() 获取号码无效或空号统计。
|
||||
* @method void setInvalidNumberCount(integer $InvalidNumberCount) 设置号码无效或空号统计。
|
||||
* @method integer getShutdownErrorCount() 获取停机、关机等错误统计。
|
||||
* @method void setShutdownErrorCount(integer $ShutdownErrorCount) 设置停机、关机等错误统计。
|
||||
* @method integer getBlackListCount() 获取号码拉入黑名单统计。
|
||||
* @method void setBlackListCount(integer $BlackListCount) 设置号码拉入黑名单统计。
|
||||
* @method integer getFrequencyLimitCount() 获取运营商频率限制统计。
|
||||
* @method void setFrequencyLimitCount(integer $FrequencyLimitCount) 设置运营商频率限制统计。
|
||||
*/
|
||||
class CallbackStatusStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 短信回执量统计。
|
||||
*/
|
||||
public $CallbackCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交成功量统计。
|
||||
*/
|
||||
public $RequestSuccessCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信回执失败量统计。
|
||||
*/
|
||||
public $CallbackFailCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信回执成功量统计。
|
||||
*/
|
||||
public $CallbackSuccessCount;
|
||||
|
||||
/**
|
||||
* @var integer 运营商内部错误统计。
|
||||
*/
|
||||
public $InternalErrorCount;
|
||||
|
||||
/**
|
||||
* @var integer 号码无效或空号统计。
|
||||
*/
|
||||
public $InvalidNumberCount;
|
||||
|
||||
/**
|
||||
* @var integer 停机、关机等错误统计。
|
||||
*/
|
||||
public $ShutdownErrorCount;
|
||||
|
||||
/**
|
||||
* @var integer 号码拉入黑名单统计。
|
||||
*/
|
||||
public $BlackListCount;
|
||||
|
||||
/**
|
||||
* @var integer 运营商频率限制统计。
|
||||
*/
|
||||
public $FrequencyLimitCount;
|
||||
|
||||
/**
|
||||
* @param integer $CallbackCount 短信回执量统计。
|
||||
* @param integer $RequestSuccessCount 短信提交成功量统计。
|
||||
* @param integer $CallbackFailCount 短信回执失败量统计。
|
||||
* @param integer $CallbackSuccessCount 短信回执成功量统计。
|
||||
* @param integer $InternalErrorCount 运营商内部错误统计。
|
||||
* @param integer $InvalidNumberCount 号码无效或空号统计。
|
||||
* @param integer $ShutdownErrorCount 停机、关机等错误统计。
|
||||
* @param integer $BlackListCount 号码拉入黑名单统计。
|
||||
* @param integer $FrequencyLimitCount 运营商频率限制统计。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("CallbackCount",$param) and $param["CallbackCount"] !== null) {
|
||||
$this->CallbackCount = $param["CallbackCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestSuccessCount",$param) and $param["RequestSuccessCount"] !== null) {
|
||||
$this->RequestSuccessCount = $param["RequestSuccessCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CallbackFailCount",$param) and $param["CallbackFailCount"] !== null) {
|
||||
$this->CallbackFailCount = $param["CallbackFailCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CallbackSuccessCount",$param) and $param["CallbackSuccessCount"] !== null) {
|
||||
$this->CallbackSuccessCount = $param["CallbackSuccessCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("InternalErrorCount",$param) and $param["InternalErrorCount"] !== null) {
|
||||
$this->InternalErrorCount = $param["InternalErrorCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("InvalidNumberCount",$param) and $param["InvalidNumberCount"] !== null) {
|
||||
$this->InvalidNumberCount = $param["InvalidNumberCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ShutdownErrorCount",$param) and $param["ShutdownErrorCount"] !== null) {
|
||||
$this->ShutdownErrorCount = $param["ShutdownErrorCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("BlackListCount",$param) and $param["BlackListCount"] !== null) {
|
||||
$this->BlackListCount = $param["BlackListCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("FrequencyLimitCount",$param) and $param["FrequencyLimitCount"] !== null) {
|
||||
$this->FrequencyLimitCount = $param["FrequencyLimitCount"];
|
||||
}
|
||||
}
|
||||
}
|
||||
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/CallbackStatusStatisticsRequest.php
vendored
Normal file
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/CallbackStatusStatisticsRequest.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* CallbackStatusStatistics请求参数结构体
|
||||
*
|
||||
* @method string getBeginTime() 获取起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @method void setBeginTime(string $BeginTime) 设置起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @method string getEndTime() 获取结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime,且相差不超过32天。
|
||||
* @method void setEndTime(string $EndTime) 设置结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime,且相差不超过32天。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method integer getLimit() 获取最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
class CallbackStatusStatisticsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
*/
|
||||
public $BeginTime;
|
||||
|
||||
/**
|
||||
* @var string 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime,且相差不超过32天。
|
||||
*/
|
||||
public $EndTime;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param string $BeginTime 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @param string $EndTime 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime,且相差不超过32天。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param integer $Limit 最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("BeginTime",$param) and $param["BeginTime"] !== null) {
|
||||
$this->BeginTime = $param["BeginTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndTime",$param) and $param["EndTime"] !== null) {
|
||||
$this->EndTime = $param["EndTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* CallbackStatusStatistics返回参数结构体
|
||||
*
|
||||
* @method CallbackStatusStatistics getCallbackStatusStatistics() 获取回执数据统计响应包体。
|
||||
* @method void setCallbackStatusStatistics(CallbackStatusStatistics $CallbackStatusStatistics) 设置回执数据统计响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class CallbackStatusStatisticsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var CallbackStatusStatistics 回执数据统计响应包体。
|
||||
*/
|
||||
public $CallbackStatusStatistics;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param CallbackStatusStatistics $CallbackStatusStatistics 回执数据统计响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("CallbackStatusStatistics",$param) and $param["CallbackStatusStatistics"] !== null) {
|
||||
$this->CallbackStatusStatistics = new CallbackStatusStatistics();
|
||||
$this->CallbackStatusStatistics->deserialize($param["CallbackStatusStatistics"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSignStatus.php
vendored
Normal file
73
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSignStatus.php
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 删除签名响应
|
||||
*
|
||||
* @method string getDeleteStatus() 获取删除状态信息。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
* @method void setDeleteStatus(string $DeleteStatus) 设置删除状态信息。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
* @method integer getDeleteTime() 获取删除时间,UNIX 时间戳(单位:秒)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
* @method void setDeleteTime(integer $DeleteTime) 设置删除时间,UNIX 时间戳(单位:秒)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
class DeleteSignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 删除状态信息。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
public $DeleteStatus;
|
||||
|
||||
/**
|
||||
* @var integer 删除时间,UNIX 时间戳(单位:秒)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
public $DeleteTime;
|
||||
|
||||
/**
|
||||
* @param string $DeleteStatus 删除状态信息。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
* @param integer $DeleteTime 删除时间,UNIX 时间戳(单位:秒)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteStatus",$param) and $param["DeleteStatus"] !== null) {
|
||||
$this->DeleteStatus = $param["DeleteStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DeleteTime",$param) and $param["DeleteTime"] !== null) {
|
||||
$this->DeleteTime = $param["DeleteTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsSignRequest.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsSign请求参数结构体
|
||||
*
|
||||
* @method integer getSignId() 获取待删除的签名 ID。
|
||||
* @method void setSignId(integer $SignId) 设置待删除的签名 ID。
|
||||
*/
|
||||
class DeleteSmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待删除的签名 ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 待删除的签名 ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsSign返回参数结构体
|
||||
*
|
||||
* @method DeleteSignStatus getDeleteSignStatus() 获取删除签名响应
|
||||
* @method void setDeleteSignStatus(DeleteSignStatus $DeleteSignStatus) 设置删除签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DeleteSmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var DeleteSignStatus 删除签名响应
|
||||
*/
|
||||
public $DeleteSignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param DeleteSignStatus $DeleteSignStatus 删除签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteSignStatus",$param) and $param["DeleteSignStatus"] !== null) {
|
||||
$this->DeleteSignStatus = new DeleteSignStatus();
|
||||
$this->DeleteSignStatus->deserialize($param["DeleteSignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsTemplateRequest.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsTemplate请求参数结构体
|
||||
*
|
||||
* @method integer getTemplateId() 获取待删除的模板 ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置待删除的模板 ID。
|
||||
*/
|
||||
class DeleteSmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待删除的模板 ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 待删除的模板 ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteSmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DeleteSmsTemplate返回参数结构体
|
||||
*
|
||||
* @method DeleteTemplateStatus getDeleteTemplateStatus() 获取删除模板响应
|
||||
* @method void setDeleteTemplateStatus(DeleteTemplateStatus $DeleteTemplateStatus) 设置删除模板响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DeleteSmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var DeleteTemplateStatus 删除模板响应
|
||||
*/
|
||||
public $DeleteTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param DeleteTemplateStatus $DeleteTemplateStatus 删除模板响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteTemplateStatus",$param) and $param["DeleteTemplateStatus"] !== null) {
|
||||
$this->DeleteTemplateStatus = new DeleteTemplateStatus();
|
||||
$this->DeleteTemplateStatus->deserialize($param["DeleteTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteTemplateStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DeleteTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 删除模板响应
|
||||
*
|
||||
* @method string getDeleteStatus() 获取删除状态信息。
|
||||
* @method void setDeleteStatus(string $DeleteStatus) 设置删除状态信息。
|
||||
* @method integer getDeleteTime() 获取删除时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setDeleteTime(integer $DeleteTime) 设置删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DeleteTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 删除状态信息。
|
||||
*/
|
||||
public $DeleteStatus;
|
||||
|
||||
/**
|
||||
* @var integer 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $DeleteTime;
|
||||
|
||||
/**
|
||||
* @param string $DeleteStatus 删除状态信息。
|
||||
* @param integer $DeleteTime 删除时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DeleteStatus",$param) and $param["DeleteStatus"] !== null) {
|
||||
$this->DeleteStatus = $param["DeleteStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DeleteTime",$param) and $param["DeleteTime"] !== null) {
|
||||
$this->DeleteTime = $param["DeleteTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
57
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribePhoneNumberInfoRequest.php
vendored
Normal file
57
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribePhoneNumberInfoRequest.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribePhoneNumberInfo请求参数结构体
|
||||
*
|
||||
* @method array getPhoneNumberSet() 获取查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumberSet(array $PhoneNumberSet) 设置查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
class DescribePhoneNumberInfoRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumberSet;
|
||||
|
||||
/**
|
||||
* @param array $PhoneNumberSet 查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PhoneNumberSet",$param) and $param["PhoneNumberSet"] !== null) {
|
||||
$this->PhoneNumberSet = $param["PhoneNumberSet"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribePhoneNumberInfo返回参数结构体
|
||||
*
|
||||
* @method array getPhoneNumberInfoSet() 获取获取号码信息。
|
||||
* @method void setPhoneNumberInfoSet(array $PhoneNumberInfoSet) 设置获取号码信息。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DescribePhoneNumberInfoResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 获取号码信息。
|
||||
*/
|
||||
public $PhoneNumberInfoSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PhoneNumberInfoSet 获取号码信息。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PhoneNumberInfoSet",$param) and $param["PhoneNumberInfoSet"] !== null) {
|
||||
$this->PhoneNumberInfoSet = [];
|
||||
foreach ($param["PhoneNumberInfoSet"] as $key => $value){
|
||||
$obj = new PhoneNumberInfo();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PhoneNumberInfoSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
117
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSignListStatus.php
vendored
Normal file
117
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSignListStatus.php
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 获取短信签名信息响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名ID。
|
||||
* @method void setSignId(integer $SignId) 设置签名ID。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信。
|
||||
* @method integer getStatusCode() 获取申请签名状态,其中0表示审核通过,1表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @method void setStatusCode(integer $StatusCode) 设置申请签名状态,其中0表示审核通过,1表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @method string getReviewReply() 获取审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method void setReviewReply(string $ReviewReply) 设置审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method string getSignName() 获取签名名称。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
* @method integer getCreateTime() 获取提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setCreateTime(integer $CreateTime) 设置提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class DescribeSignListStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 申请签名状态,其中0表示审核通过,1表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
*/
|
||||
public $StatusCode;
|
||||
|
||||
/**
|
||||
* @var string 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
*/
|
||||
public $ReviewReply;
|
||||
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $CreateTime;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名ID。
|
||||
* @param integer $International 是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信。
|
||||
* @param integer $StatusCode 申请签名状态,其中0表示审核通过,1表示审核中。
|
||||
-1:表示审核未通过或审核失败。
|
||||
* @param string $ReviewReply 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @param string $SignName 签名名称。
|
||||
* @param integer $CreateTime 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("StatusCode",$param) and $param["StatusCode"] !== null) {
|
||||
$this->StatusCode = $param["StatusCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReviewReply",$param) and $param["ReviewReply"] !== null) {
|
||||
$this->ReviewReply = $param["ReviewReply"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CreateTime",$param) and $param["CreateTime"] !== null) {
|
||||
$this->CreateTime = $param["CreateTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsSignListRequest.php
vendored
Normal file
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsSignListRequest.php
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsSignList请求参数结构体
|
||||
*
|
||||
* @method array getSignIdSet() 获取签名 ID 数组。
|
||||
注:默认数组最大长度100。
|
||||
* @method void setSignIdSet(array $SignIdSet) 设置签名 ID 数组。
|
||||
注:默认数组最大长度100。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
class DescribeSmsSignListRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 签名 ID 数组。
|
||||
注:默认数组最大长度100。
|
||||
*/
|
||||
public $SignIdSet;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @param array $SignIdSet 签名 ID 数组。
|
||||
注:默认数组最大长度100。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignIdSet",$param) and $param["SignIdSet"] !== null) {
|
||||
$this->SignIdSet = $param["SignIdSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsSignListResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsSignListResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsSignList返回参数结构体
|
||||
*
|
||||
* @method array getDescribeSignListStatusSet() 获取获取签名信息响应
|
||||
* @method void setDescribeSignListStatusSet(array $DescribeSignListStatusSet) 设置获取签名信息响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DescribeSmsSignListResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 获取签名信息响应
|
||||
*/
|
||||
public $DescribeSignListStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $DescribeSignListStatusSet 获取签名信息响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DescribeSignListStatusSet",$param) and $param["DescribeSignListStatusSet"] !== null) {
|
||||
$this->DescribeSignListStatusSet = [];
|
||||
foreach ($param["DescribeSignListStatusSet"] as $key => $value){
|
||||
$obj = new DescribeSignListStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->DescribeSignListStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsTemplateListRequest.php
vendored
Normal file
109
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeSmsTemplateListRequest.php
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsTemplateList请求参数结构体
|
||||
*
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method array getTemplateIdSet() 获取模板 ID 数组。数组为空时默认查询模板列表信息,请使用 Limit 和 Offset 字段设置查询范围。
|
||||
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
||||
* @method void setTemplateIdSet(array $TemplateIdSet) 设置模板 ID 数组。数组为空时默认查询模板列表信息,请使用 Limit 和 Offset 字段设置查询范围。
|
||||
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
||||
* @method integer getLimit() 获取最大上限,最多100。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限,最多100。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
*/
|
||||
class DescribeSmsTemplateListRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var array 模板 ID 数组。数组为空时默认查询模板列表信息,请使用 Limit 和 Offset 字段设置查询范围。
|
||||
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
||||
*/
|
||||
public $TemplateIdSet;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限,最多100。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param array $TemplateIdSet 模板 ID 数组。数组为空时默认查询模板列表信息,请使用 Limit 和 Offset 字段设置查询范围。
|
||||
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
||||
* @param integer $Limit 最大上限,最多100。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:默认为0,TemplateIdSet 为空时启用。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateIdSet",$param) and $param["TemplateIdSet"] !== null) {
|
||||
$this->TemplateIdSet = $param["TemplateIdSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* DescribeSmsTemplateList返回参数结构体
|
||||
*
|
||||
* @method array getDescribeTemplateStatusSet() 获取获取短信模板信息响应
|
||||
* @method void setDescribeTemplateStatusSet(array $DescribeTemplateStatusSet) 设置获取短信模板信息响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class DescribeSmsTemplateListResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 获取短信模板信息响应
|
||||
*/
|
||||
public $DescribeTemplateStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $DescribeTemplateStatusSet 获取短信模板信息响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("DescribeTemplateStatusSet",$param) and $param["DescribeTemplateStatusSet"] !== null) {
|
||||
$this->DescribeTemplateStatusSet = [];
|
||||
foreach ($param["DescribeTemplateStatusSet"] as $key => $value){
|
||||
$obj = new DescribeTemplateListStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->DescribeTemplateStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeTemplateListStatus.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/DescribeTemplateListStatus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 获取短信模板信息响应
|
||||
*
|
||||
* @method integer getTemplateId() 获取模板ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置模板ID。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信,3表示该模板既支持国内短信也支持国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信,3表示该模板既支持国内短信也支持国际/港澳台短信。
|
||||
* @method integer getStatusCode() 获取申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。注:只有状态值为0时该模板才能使用。
|
||||
* @method void setStatusCode(integer $StatusCode) 设置申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。注:只有状态值为0时该模板才能使用。
|
||||
* @method string getReviewReply() 获取审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method void setReviewReply(string $ReviewReply) 设置审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @method string getTemplateName() 获取模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置模板名称。
|
||||
* @method integer getCreateTime() 获取提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setCreateTime(integer $CreateTime) 设置提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getTemplateContent() 获取模板内容。
|
||||
* @method void setTemplateContent(string $TemplateContent) 设置模板内容。
|
||||
*/
|
||||
class DescribeTemplateListStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 模板ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信,3表示该模板既支持国内短信也支持国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。注:只有状态值为0时该模板才能使用。
|
||||
*/
|
||||
public $StatusCode;
|
||||
|
||||
/**
|
||||
* @var string 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
*/
|
||||
public $ReviewReply;
|
||||
|
||||
/**
|
||||
* @var string 模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var integer 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $CreateTime;
|
||||
|
||||
/**
|
||||
* @var string 模板内容。
|
||||
*/
|
||||
public $TemplateContent;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 模板ID。
|
||||
* @param integer $International 是否国际/港澳台短信,其中0表示国内短信,1表示国际/港澳台短信,3表示该模板既支持国内短信也支持国际/港澳台短信。
|
||||
* @param integer $StatusCode 申请模板状态,其中0表示审核通过且已生效,1表示审核中,2表示审核通过待生效,-1表示审核未通过或审核失败。注:只有状态值为0时该模板才能使用。
|
||||
* @param string $ReviewReply 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
||||
* @param string $TemplateName 模板名称。
|
||||
* @param integer $CreateTime 提交审核时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $TemplateContent 模板内容。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("StatusCode",$param) and $param["StatusCode"] !== null) {
|
||||
$this->StatusCode = $param["StatusCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReviewReply",$param) and $param["ReviewReply"] !== null) {
|
||||
$this->ReviewReply = $param["ReviewReply"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CreateTime",$param) and $param["CreateTime"] !== null) {
|
||||
$this->CreateTime = $param["CreateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateContent",$param) and $param["TemplateContent"] !== null) {
|
||||
$this->TemplateContent = $param["TemplateContent"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySignStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySignStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 修改签名响应
|
||||
*
|
||||
* @method integer getSignId() 获取签名ID。
|
||||
* @method void setSignId(integer $SignId) 设置签名ID。
|
||||
*/
|
||||
class ModifySignStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 签名ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 签名ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
245
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsSignRequest.php
vendored
Normal file
245
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsSignRequest.php
vendored
Normal file
@@ -0,0 +1,245 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsSign请求参数结构体
|
||||
*
|
||||
* @method integer getSignId() 获取待修改的签名 ID。
|
||||
* @method void setSignId(integer $SignId) 设置待修改的签名 ID。
|
||||
* @method string getSignName() 获取签名名称。
|
||||
* @method void setSignName(string $SignName) 设置签名名称。
|
||||
* @method integer getSignType() 获取签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method void setSignType(integer $SignType) 设置签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @method integer getDocumentType() 获取证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method void setDocumentType(integer $DocumentType) 设置证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @method integer getSignPurpose() 获取签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method void setSignPurpose(integer $SignPurpose) 设置签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @method string getProofImage() 获取签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method void setProofImage(string $ProofImage) 设置签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @method string getCommissionImage() 获取委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method void setCommissionImage(string $CommissionImage) 设置委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @method string getRemark() 获取签名的申请备注。
|
||||
* @method void setRemark(string $Remark) 设置签名的申请备注。
|
||||
*/
|
||||
class ModifySmsSignRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待修改的签名 ID。
|
||||
*/
|
||||
public $SignId;
|
||||
|
||||
/**
|
||||
* @var string 签名名称。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var integer 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
*/
|
||||
public $SignType;
|
||||
|
||||
/**
|
||||
* @var integer 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
*/
|
||||
public $DocumentType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var integer 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
*/
|
||||
public $SignPurpose;
|
||||
|
||||
/**
|
||||
* @var string 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
*/
|
||||
public $ProofImage;
|
||||
|
||||
/**
|
||||
* @var string 委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
*/
|
||||
public $CommissionImage;
|
||||
|
||||
/**
|
||||
* @var string 签名的申请备注。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param integer $SignId 待修改的签名 ID。
|
||||
* @param string $SignName 签名名称。
|
||||
* @param integer $SignType 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
||||
0:公司,可选 DocumentType 有(0,1)。
|
||||
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
||||
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
||||
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
||||
4:商标,可选 DocumentType 有(7)。
|
||||
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
||||
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
||||
注:必须按照对应关系选择证明类型,否则会审核失败。
|
||||
* @param integer $DocumentType 证明类型:
|
||||
0:三证合一。
|
||||
1:企业营业执照。
|
||||
2:组织机构代码证书。
|
||||
3:社会信用代码证书。
|
||||
4:应用后台管理截图(个人开发APP)。
|
||||
5:网站备案后台截图(个人开发网站)。
|
||||
6:小程序设置页面截图(个人认证小程序)。
|
||||
7:商标注册书。
|
||||
8:公众号设置页面截图(个人认证公众号)。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
||||
* @param integer $SignPurpose 签名用途:
|
||||
0:自用。
|
||||
1:他用。
|
||||
* @param string $ProofImage 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
* @param string $CommissionImage 委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。
|
||||
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
||||
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
||||
* @param string $Remark 签名的申请备注。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
|
||||
$this->SignId = $param["SignId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignType",$param) and $param["SignType"] !== null) {
|
||||
$this->SignType = $param["SignType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("DocumentType",$param) and $param["DocumentType"] !== null) {
|
||||
$this->DocumentType = $param["DocumentType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignPurpose",$param) and $param["SignPurpose"] !== null) {
|
||||
$this->SignPurpose = $param["SignPurpose"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ProofImage",$param) and $param["ProofImage"] !== null) {
|
||||
$this->ProofImage = $param["ProofImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CommissionImage",$param) and $param["CommissionImage"] !== null) {
|
||||
$this->CommissionImage = $param["CommissionImage"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsSignResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsSignResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsSign返回参数结构体
|
||||
*
|
||||
* @method ModifySignStatus getModifySignStatus() 获取修改签名响应
|
||||
* @method void setModifySignStatus(ModifySignStatus $ModifySignStatus) 设置修改签名响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class ModifySmsSignResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var ModifySignStatus 修改签名响应
|
||||
*/
|
||||
public $ModifySignStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param ModifySignStatus $ModifySignStatus 修改签名响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ModifySignStatus",$param) and $param["ModifySignStatus"] !== null) {
|
||||
$this->ModifySignStatus = new ModifySignStatus();
|
||||
$this->ModifySignStatus->deserialize($param["ModifySignStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsTemplateRequest.php
vendored
Normal file
121
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsTemplateRequest.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsTemplate请求参数结构体
|
||||
*
|
||||
* @method integer getTemplateId() 获取待修改模板的ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置待修改模板的ID。
|
||||
* @method string getTemplateName() 获取新的模板名称。
|
||||
* @method void setTemplateName(string $TemplateName) 设置新的模板名称。
|
||||
* @method string getTemplateContent() 获取新的模板内容。
|
||||
* @method void setTemplateContent(string $TemplateContent) 设置新的模板内容。
|
||||
* @method integer getSmsType() 获取短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method void setSmsType(integer $SmsType) 设置短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @method integer getInternational() 获取是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method void setInternational(integer $International) 设置是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @method string getRemark() 获取模板备注,例如申请原因,使用场景等。
|
||||
* @method void setRemark(string $Remark) 设置模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
class ModifySmsTemplateRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 待修改模板的ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @var string 新的模板名称。
|
||||
*/
|
||||
public $TemplateName;
|
||||
|
||||
/**
|
||||
* @var string 新的模板内容。
|
||||
*/
|
||||
public $TemplateContent;
|
||||
|
||||
/**
|
||||
* @var integer 短信类型,0表示普通短信, 1表示营销短信。
|
||||
*/
|
||||
public $SmsType;
|
||||
|
||||
/**
|
||||
* @var integer 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
*/
|
||||
public $International;
|
||||
|
||||
/**
|
||||
* @var string 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
public $Remark;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 待修改模板的ID。
|
||||
* @param string $TemplateName 新的模板名称。
|
||||
* @param string $TemplateContent 新的模板内容。
|
||||
* @param integer $SmsType 短信类型,0表示普通短信, 1表示营销短信。
|
||||
* @param integer $International 是否国际/港澳台短信:
|
||||
0:表示国内短信。
|
||||
1:表示国际/港澳台短信。
|
||||
* @param string $Remark 模板备注,例如申请原因,使用场景等。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateName",$param) and $param["TemplateName"] !== null) {
|
||||
$this->TemplateName = $param["TemplateName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateContent",$param) and $param["TemplateContent"] !== null) {
|
||||
$this->TemplateContent = $param["TemplateContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsType",$param) and $param["SmsType"] !== null) {
|
||||
$this->SmsType = $param["SmsType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("International",$param) and $param["International"] !== null) {
|
||||
$this->International = $param["International"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
|
||||
$this->Remark = $param["Remark"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsTemplateResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifySmsTemplateResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ModifySmsTemplate返回参数结构体
|
||||
*
|
||||
* @method ModifyTemplateStatus getModifyTemplateStatus() 获取修改模板参数响应
|
||||
* @method void setModifyTemplateStatus(ModifyTemplateStatus $ModifyTemplateStatus) 设置修改模板参数响应
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class ModifySmsTemplateResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var ModifyTemplateStatus 修改模板参数响应
|
||||
*/
|
||||
public $ModifyTemplateStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param ModifyTemplateStatus $ModifyTemplateStatus 修改模板参数响应
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ModifyTemplateStatus",$param) and $param["ModifyTemplateStatus"] !== null) {
|
||||
$this->ModifyTemplateStatus = new ModifyTemplateStatus();
|
||||
$this->ModifyTemplateStatus->deserialize($param["ModifyTemplateStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifyTemplateStatus.php
vendored
Normal file
53
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ModifyTemplateStatus.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 修改模板参数响应
|
||||
*
|
||||
* @method integer getTemplateId() 获取模板ID。
|
||||
* @method void setTemplateId(integer $TemplateId) 设置模板ID。
|
||||
*/
|
||||
class ModifyTemplateStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 模板ID。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @param integer $TemplateId 模板ID。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PhoneNumberInfo.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PhoneNumberInfo.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 号码信息。
|
||||
*
|
||||
* @method string getCode() 获取号码信息查询错误码,查询成功返回 "Ok"。
|
||||
* @method void setCode(string $Code) 设置号码信息查询错误码,查询成功返回 "Ok"。
|
||||
* @method string getMessage() 获取号码信息查询错误码描述。
|
||||
* @method void setMessage(string $Message) 设置号码信息查询错误码描述。
|
||||
* @method string getNationCode() 获取国家(或地区)码。
|
||||
* @method void setNationCode(string $NationCode) 设置国家(或地区)码。
|
||||
* @method string getSubscriberNumber() 获取用户号码,去除国家或地区码前缀的普通格式,示例如:13711112222。
|
||||
* @method void setSubscriberNumber(string $SubscriberNumber) 设置用户号码,去除国家或地区码前缀的普通格式,示例如:13711112222。
|
||||
* @method string getPhoneNumber() 获取解析后的规范的 E.164 号码,与下发短信的号码解析结果一致。解析失败时会原样返回。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置解析后的规范的 E.164 号码,与下发短信的号码解析结果一致。解析失败时会原样返回。
|
||||
* @method string getIsoCode() 获取国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF。
|
||||
* @method void setIsoCode(string $IsoCode) 设置国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF。
|
||||
* @method string getIsoName() 获取国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051#.E6.97.A5.E7.BB.93.E5.90.8E.E4.BB.98.E8.B4.B9.3Ca-id.3D.22post-payment.22.3E.3C.2Fa.3E)
|
||||
* @method void setIsoName(string $IsoName) 设置国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051#.E6.97.A5.E7.BB.93.E5.90.8E.E4.BB.98.E8.B4.B9.3Ca-id.3D.22post-payment.22.3E.3C.2Fa.3E)
|
||||
*/
|
||||
class PhoneNumberInfo extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 号码信息查询错误码,查询成功返回 "Ok"。
|
||||
*/
|
||||
public $Code;
|
||||
|
||||
/**
|
||||
* @var string 号码信息查询错误码描述。
|
||||
*/
|
||||
public $Message;
|
||||
|
||||
/**
|
||||
* @var string 国家(或地区)码。
|
||||
*/
|
||||
public $NationCode;
|
||||
|
||||
/**
|
||||
* @var string 用户号码,去除国家或地区码前缀的普通格式,示例如:13711112222。
|
||||
*/
|
||||
public $SubscriberNumber;
|
||||
|
||||
/**
|
||||
* @var string 解析后的规范的 E.164 号码,与下发短信的号码解析结果一致。解析失败时会原样返回。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF。
|
||||
*/
|
||||
public $IsoCode;
|
||||
|
||||
/**
|
||||
* @var string 国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051#.E6.97.A5.E7.BB.93.E5.90.8E.E4.BB.98.E8.B4.B9.3Ca-id.3D.22post-payment.22.3E.3C.2Fa.3E)
|
||||
*/
|
||||
public $IsoName;
|
||||
|
||||
/**
|
||||
* @param string $Code 号码信息查询错误码,查询成功返回 "Ok"。
|
||||
* @param string $Message 号码信息查询错误码描述。
|
||||
* @param string $NationCode 国家(或地区)码。
|
||||
* @param string $SubscriberNumber 用户号码,去除国家或地区码前缀的普通格式,示例如:13711112222。
|
||||
* @param string $PhoneNumber 解析后的规范的 E.164 号码,与下发短信的号码解析结果一致。解析失败时会原样返回。
|
||||
* @param string $IsoCode 国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF。
|
||||
* @param string $IsoName 国家码或地区名,例如 China,可参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051#.E6.97.A5.E7.BB.93.E5.90.8E.E4.BB.98.E8.B4.B9.3Ca-id.3D.22post-payment.22.3E.3C.2Fa.3E)
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Code",$param) and $param["Code"] !== null) {
|
||||
$this->Code = $param["Code"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Message",$param) and $param["Message"] !== null) {
|
||||
$this->Message = $param["Message"];
|
||||
}
|
||||
|
||||
if (array_key_exists("NationCode",$param) and $param["NationCode"] !== null) {
|
||||
$this->NationCode = $param["NationCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SubscriberNumber",$param) and $param["SubscriberNumber"] !== null) {
|
||||
$this->SubscriberNumber = $param["SubscriberNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("IsoCode",$param) and $param["IsoCode"] !== null) {
|
||||
$this->IsoCode = $param["IsoCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("IsoName",$param) and $param["IsoName"] !== null) {
|
||||
$this->IsoName = $param["IsoName"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatus.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 短信回复状态
|
||||
*
|
||||
* @method string getExtendCode() 获取短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @method void setExtendCode(string $ExtendCode) 设置短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @method string getCountryCode() 获取国家(或地区)码。
|
||||
* @method void setCountryCode(string $CountryCode) 设置国家(或地区)码。
|
||||
* @method string getPhoneNumber() 获取手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSignName() 获取短信签名名称。
|
||||
* @method void setSignName(string $SignName) 设置短信签名名称。
|
||||
* @method string getReplyContent() 获取用户回复的内容。
|
||||
* @method void setReplyContent(string $ReplyContent) 设置用户回复的内容。
|
||||
* @method integer getReplyTime() 获取回复时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setReplyTime(integer $ReplyTime) 设置回复时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getSubscriberNumber() 获取用户号码,普通格式,示例如:13711112222。
|
||||
* @method void setSubscriberNumber(string $SubscriberNumber) 设置用户号码,普通格式,示例如:13711112222。
|
||||
*/
|
||||
class PullSmsReplyStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
*/
|
||||
public $ExtendCode;
|
||||
|
||||
/**
|
||||
* @var string 国家(或地区)码。
|
||||
*/
|
||||
public $CountryCode;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信签名名称。
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var string 用户回复的内容。
|
||||
*/
|
||||
public $ReplyContent;
|
||||
|
||||
/**
|
||||
* @var integer 回复时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $ReplyTime;
|
||||
|
||||
/**
|
||||
* @var string 用户号码,普通格式,示例如:13711112222。
|
||||
*/
|
||||
public $SubscriberNumber;
|
||||
|
||||
/**
|
||||
* @param string $ExtendCode 短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @param string $CountryCode 国家(或地区)码。
|
||||
* @param string $PhoneNumber 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SignName 短信签名名称。
|
||||
* @param string $ReplyContent 用户回复的内容。
|
||||
* @param integer $ReplyTime 回复时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $SubscriberNumber 用户号码,普通格式,示例如:13711112222。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ExtendCode",$param) and $param["ExtendCode"] !== null) {
|
||||
$this->ExtendCode = $param["ExtendCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CountryCode",$param) and $param["CountryCode"] !== null) {
|
||||
$this->CountryCode = $param["CountryCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReplyContent",$param) and $param["ReplyContent"] !== null) {
|
||||
$this->ReplyContent = $param["ReplyContent"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReplyTime",$param) and $param["ReplyTime"] !== null) {
|
||||
$this->ReplyTime = $param["ReplyTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SubscriberNumber",$param) and $param["SubscriberNumber"] !== null) {
|
||||
$this->SubscriberNumber = $param["SubscriberNumber"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatusByPhoneNumber请求参数结构体
|
||||
*
|
||||
* @method integer getBeginTime() 获取拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @method void setBeginTime(integer $BeginTime) 设置拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getLimit() 获取拉取最大条数,最多 100。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多 100。
|
||||
* @method string getPhoneNumber() 获取下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method integer getEndTime() 获取拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
* @method void setEndTime(integer $EndTime) 设置拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
class PullSmsReplyStatusByPhoneNumberRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
*/
|
||||
public $BeginTime;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多 100。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var integer 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
public $EndTime;
|
||||
|
||||
/**
|
||||
* @param integer $BeginTime 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Limit 拉取最大条数,最多 100。
|
||||
* @param string $PhoneNumber 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param integer $EndTime 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("BeginTime",$param) and $param["BeginTime"] !== null) {
|
||||
$this->BeginTime = $param["BeginTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndTime",$param) and $param["EndTime"] !== null) {
|
||||
$this->EndTime = $param["EndTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatusByPhoneNumber返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsReplyStatusSet() 获取回复状态响应集合。
|
||||
* @method void setPullSmsReplyStatusSet(array $PullSmsReplyStatusSet) 设置回复状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsReplyStatusByPhoneNumberResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 回复状态响应集合。
|
||||
*/
|
||||
public $PullSmsReplyStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsReplyStatusSet 回复状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsReplyStatusSet",$param) and $param["PullSmsReplyStatusSet"] !== null) {
|
||||
$this->PullSmsReplyStatusSet = [];
|
||||
foreach ($param["PullSmsReplyStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsReplyStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsReplyStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatusRequest.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatusRequest.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatus请求参数结构体
|
||||
*
|
||||
* @method integer getLimit() 获取拉取最大条数,最多100条。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多100条。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
class PullSmsReplyStatusRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多100条。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @param integer $Limit 拉取最大条数,最多100条。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatusResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsReplyStatusResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsReplyStatus返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsReplyStatusSet() 获取回复状态响应集合。
|
||||
* @method void setPullSmsReplyStatusSet(array $PullSmsReplyStatusSet) 设置回复状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsReplyStatusResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 回复状态响应集合。
|
||||
*/
|
||||
public $PullSmsReplyStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsReplyStatusSet 回复状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsReplyStatusSet",$param) and $param["PullSmsReplyStatusSet"] !== null) {
|
||||
$this->PullSmsReplyStatusSet = [];
|
||||
foreach ($param["PullSmsReplyStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsReplyStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsReplyStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
141
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatus.php
vendored
Normal file
141
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatus.php
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 短信的下发状态详细信息
|
||||
*
|
||||
* @method integer getUserReceiveTime() 获取用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setUserReceiveTime(integer $UserReceiveTime) 设置用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @method string getCountryCode() 获取国家(或地区)码。
|
||||
* @method void setCountryCode(string $CountryCode) 设置国家(或地区)码。
|
||||
* @method string getSubscriberNumber() 获取用户号码,普通格式,示例如:13711112222。
|
||||
* @method void setSubscriberNumber(string $SubscriberNumber) 设置用户号码,普通格式,示例如:13711112222。
|
||||
* @method string getPhoneNumber() 获取手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSerialNo() 获取本次发送标识 ID。
|
||||
* @method void setSerialNo(string $SerialNo) 设置本次发送标识 ID。
|
||||
* @method string getReportStatus() 获取实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @method void setReportStatus(string $ReportStatus) 设置实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @method string getDescription() 获取用户接收短信状态描述。
|
||||
* @method void setDescription(string $Description) 设置用户接收短信状态描述。
|
||||
* @method string getSessionContext() 获取用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
* @method void setSessionContext(string $SessionContext) 设置用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
class PullSmsSendStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $UserReceiveTime;
|
||||
|
||||
/**
|
||||
* @var string 国家(或地区)码。
|
||||
*/
|
||||
public $CountryCode;
|
||||
|
||||
/**
|
||||
* @var string 用户号码,普通格式,示例如:13711112222。
|
||||
*/
|
||||
public $SubscriberNumber;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 本次发送标识 ID。
|
||||
*/
|
||||
public $SerialNo;
|
||||
|
||||
/**
|
||||
* @var string 实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
*/
|
||||
public $ReportStatus;
|
||||
|
||||
/**
|
||||
* @var string 用户接收短信状态描述。
|
||||
*/
|
||||
public $Description;
|
||||
|
||||
/**
|
||||
* @var string 用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
public $SessionContext;
|
||||
|
||||
/**
|
||||
* @param integer $UserReceiveTime 用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。
|
||||
* @param string $CountryCode 国家(或地区)码。
|
||||
* @param string $SubscriberNumber 用户号码,普通格式,示例如:13711112222。
|
||||
* @param string $PhoneNumber 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SerialNo 本次发送标识 ID。
|
||||
* @param string $ReportStatus 实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。
|
||||
* @param string $Description 用户接收短信状态描述。
|
||||
* @param string $SessionContext 用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
注意:此字段可能返回 null,表示取不到有效值。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("UserReceiveTime",$param) and $param["UserReceiveTime"] !== null) {
|
||||
$this->UserReceiveTime = $param["UserReceiveTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CountryCode",$param) and $param["CountryCode"] !== null) {
|
||||
$this->CountryCode = $param["CountryCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SubscriberNumber",$param) and $param["SubscriberNumber"] !== null) {
|
||||
$this->SubscriberNumber = $param["SubscriberNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SerialNo",$param) and $param["SerialNo"] !== null) {
|
||||
$this->SerialNo = $param["SerialNo"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ReportStatus",$param) and $param["ReportStatus"] !== null) {
|
||||
$this->ReportStatus = $param["ReportStatus"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Description",$param) and $param["Description"] !== null) {
|
||||
$this->Description = $param["Description"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SessionContext",$param) and $param["SessionContext"] !== null) {
|
||||
$this->SessionContext = $param["SessionContext"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatusByPhoneNumber请求参数结构体
|
||||
*
|
||||
* @method integer getBeginTime() 获取拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @method void setBeginTime(integer $BeginTime) 设置拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getLimit() 获取拉取最大条数,最多 100。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多 100。
|
||||
* @method string getPhoneNumber() 获取下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method integer getEndTime() 获取拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
* @method void setEndTime(integer $EndTime) 设置拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
class PullSmsSendStatusByPhoneNumberRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
*/
|
||||
public $BeginTime;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多 100。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var integer 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
public $EndTime;
|
||||
|
||||
/**
|
||||
* @param integer $BeginTime 拉取起始时间,UNIX 时间戳(时间:秒)。
|
||||
注:最大可拉取当前时期前7天的数据。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Limit 拉取最大条数,最多 100。
|
||||
* @param string $PhoneNumber 下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param integer $EndTime 拉取截止时间,UNIX 时间戳(时间:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("BeginTime",$param) and $param["BeginTime"] !== null) {
|
||||
$this->BeginTime = $param["BeginTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndTime",$param) and $param["EndTime"] !== null) {
|
||||
$this->EndTime = $param["EndTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatusByPhoneNumber返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsSendStatusSet() 获取下发状态响应集合。
|
||||
* @method void setPullSmsSendStatusSet(array $PullSmsSendStatusSet) 设置下发状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsSendStatusByPhoneNumberResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发状态响应集合。
|
||||
*/
|
||||
public $PullSmsSendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsSendStatusSet 下发状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsSendStatusSet",$param) and $param["PullSmsSendStatusSet"] !== null) {
|
||||
$this->PullSmsSendStatusSet = [];
|
||||
foreach ($param["PullSmsSendStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsSendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsSendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatusRequest.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatusRequest.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatus请求参数结构体
|
||||
*
|
||||
* @method integer getLimit() 获取拉取最大条数,最多100条。
|
||||
* @method void setLimit(integer $Limit) 设置拉取最大条数,最多100条。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
class PullSmsSendStatusRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 拉取最大条数,最多100条。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @param integer $Limit 拉取最大条数,最多100条。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatusResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/PullSmsSendStatusResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* PullSmsSendStatus返回参数结构体
|
||||
*
|
||||
* @method array getPullSmsSendStatusSet() 获取下发状态响应集合。
|
||||
* @method void setPullSmsSendStatusSet(array $PullSmsSendStatusSet) 设置下发状态响应集合。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class PullSmsSendStatusResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发状态响应集合。
|
||||
*/
|
||||
public $PullSmsSendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $PullSmsSendStatusSet 下发状态响应集合。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PullSmsSendStatusSet",$param) and $param["PullSmsSendStatusSet"] !== null) {
|
||||
$this->PullSmsSendStatusSet = [];
|
||||
foreach ($param["PullSmsSendStatusSet"] as $key => $value){
|
||||
$obj = new PullSmsSendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->PullSmsSendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionRequest.php
vendored
Normal file
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionRequest.php
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ReportConversion请求参数结构体
|
||||
*
|
||||
* @method string getSmsSdkAppId() 获取短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method string getSerialNo() 获取发送短信返回的流水号。
|
||||
* @method void setSerialNo(string $SerialNo) 设置发送短信返回的流水号。
|
||||
* @method integer getConversionTime() 获取用户回填时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setConversionTime(integer $ConversionTime) 设置用户回填时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
class ReportConversionRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var string 发送短信返回的流水号。
|
||||
*/
|
||||
public $SerialNo;
|
||||
|
||||
/**
|
||||
* @var integer 用户回填时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $ConversionTime;
|
||||
|
||||
/**
|
||||
* @param string $SmsSdkAppId 短信应用ID。在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param string $SerialNo 发送短信返回的流水号。
|
||||
* @param integer $ConversionTime 用户回填时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SerialNo",$param) and $param["SerialNo"] !== null) {
|
||||
$this->SerialNo = $param["SerialNo"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ConversionTime",$param) and $param["ConversionTime"] !== null) {
|
||||
$this->ConversionTime = $param["ConversionTime"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* ReportConversion返回参数结构体
|
||||
*
|
||||
* @method ReportConversionStatus getReportConversionStatus() 获取转化率上报响应包体。
|
||||
* @method void setReportConversionStatus(ReportConversionStatus $ReportConversionStatus) 设置转化率上报响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class ReportConversionResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var ReportConversionStatus 转化率上报响应包体。
|
||||
*/
|
||||
public $ReportConversionStatus;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param ReportConversionStatus $ReportConversionStatus 转化率上报响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("ReportConversionStatus",$param) and $param["ReportConversionStatus"] !== null) {
|
||||
$this->ReportConversionStatus = new ReportConversionStatus();
|
||||
$this->ReportConversionStatus->deserialize($param["ReportConversionStatus"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionStatus.php
vendored
Normal file
65
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/ReportConversionStatus.php
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 转化率上报响应。
|
||||
*
|
||||
* @method string getCode() 获取错误码。上报成功返回 ok。
|
||||
* @method void setCode(string $Code) 设置错误码。上报成功返回 ok。
|
||||
* @method string getMessage() 获取错误码描述。
|
||||
* @method void setMessage(string $Message) 设置错误码描述。
|
||||
*/
|
||||
class ReportConversionStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 错误码。上报成功返回 ok。
|
||||
*/
|
||||
public $Code;
|
||||
|
||||
/**
|
||||
* @var string 错误码描述。
|
||||
*/
|
||||
public $Message;
|
||||
|
||||
/**
|
||||
* @param string $Code 错误码。上报成功返回 ok。
|
||||
* @param string $Message 错误码描述。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("Code",$param) and $param["Code"] !== null) {
|
||||
$this->Code = $param["Code"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Message",$param) and $param["Message"] !== null) {
|
||||
$this->Message = $param["Message"];
|
||||
}
|
||||
}
|
||||
}
|
||||
157
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendSmsRequest.php
vendored
Normal file
157
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendSmsRequest.php
vendored
Normal file
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendSms请求参数结构体
|
||||
*
|
||||
* @method array getPhoneNumberSet() 获取下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。
|
||||
* @method void setPhoneNumberSet(array $PhoneNumberSet) 设置下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method string getTemplateId() 获取模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @method void setTemplateId(string $TemplateId) 设置模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @method string getSignName() 获取短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。
|
||||
<dx-alert infotype="notice" title="注意">发送国内短信该参数必填,且需填写签名内容而非签名ID。</dx-alert>
|
||||
* @method void setSignName(string $SignName) 设置短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。
|
||||
<dx-alert infotype="notice" title="注意">发送国内短信该参数必填,且需填写签名内容而非签名ID。</dx-alert>
|
||||
* @method array getTemplateParamSet() 获取模板参数,若无模板参数,则设置为空。
|
||||
<dx-alert infotype="notice" title="注意">模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</dx-alert>
|
||||
* @method void setTemplateParamSet(array $TemplateParamSet) 设置模板参数,若无模板参数,则设置为空。
|
||||
<dx-alert infotype="notice" title="注意">模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</dx-alert>
|
||||
* @method string getExtendCode() 获取短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @method void setExtendCode(string $ExtendCode) 设置短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @method string getSessionContext() 获取用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @method void setSessionContext(string $SessionContext) 设置用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @method string getSenderId() 获取国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
|
||||
注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @method void setSenderId(string $SenderId) 设置国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
|
||||
注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
*/
|
||||
class SendSmsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。
|
||||
*/
|
||||
public $PhoneNumberSet;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var string 模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
*/
|
||||
public $TemplateId;
|
||||
|
||||
/**
|
||||
* @var string 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。
|
||||
<dx-alert infotype="notice" title="注意">发送国内短信该参数必填,且需填写签名内容而非签名ID。</dx-alert>
|
||||
*/
|
||||
public $SignName;
|
||||
|
||||
/**
|
||||
* @var array 模板参数,若无模板参数,则设置为空。
|
||||
<dx-alert infotype="notice" title="注意">模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</dx-alert>
|
||||
*/
|
||||
public $TemplateParamSet;
|
||||
|
||||
/**
|
||||
* @var string 短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
*/
|
||||
public $ExtendCode;
|
||||
|
||||
/**
|
||||
* @var string 用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
*/
|
||||
public $SessionContext;
|
||||
|
||||
/**
|
||||
* @var string 国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
|
||||
注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
*/
|
||||
public $SenderId;
|
||||
|
||||
/**
|
||||
* @param array $PhoneNumberSet 下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。
|
||||
例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param string $TemplateId 模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
|
||||
* @param string $SignName 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。
|
||||
<dx-alert infotype="notice" title="注意">发送国内短信该参数必填,且需填写签名内容而非签名ID。</dx-alert>
|
||||
* @param array $TemplateParamSet 模板参数,若无模板参数,则设置为空。
|
||||
<dx-alert infotype="notice" title="注意">模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</dx-alert>
|
||||
* @param string $ExtendCode 短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
* @param string $SessionContext 用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。
|
||||
* @param string $SenderId 国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
|
||||
注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PhoneNumberSet",$param) and $param["PhoneNumberSet"] !== null) {
|
||||
$this->PhoneNumberSet = $param["PhoneNumberSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateId",$param) and $param["TemplateId"] !== null) {
|
||||
$this->TemplateId = $param["TemplateId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
|
||||
$this->SignName = $param["SignName"];
|
||||
}
|
||||
|
||||
if (array_key_exists("TemplateParamSet",$param) and $param["TemplateParamSet"] !== null) {
|
||||
$this->TemplateParamSet = $param["TemplateParamSet"];
|
||||
}
|
||||
|
||||
if (array_key_exists("ExtendCode",$param) and $param["ExtendCode"] !== null) {
|
||||
$this->ExtendCode = $param["ExtendCode"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SessionContext",$param) and $param["SessionContext"] !== null) {
|
||||
$this->SessionContext = $param["SessionContext"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SenderId",$param) and $param["SenderId"] !== null) {
|
||||
$this->SenderId = $param["SenderId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendSmsResponse.php
vendored
Normal file
70
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendSmsResponse.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendSms返回参数结构体
|
||||
*
|
||||
* @method array getSendStatusSet() 获取短信发送状态。
|
||||
* @method void setSendStatusSet(array $SendStatusSet) 设置短信发送状态。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class SendSmsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var array 短信发送状态。
|
||||
*/
|
||||
public $SendStatusSet;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param array $SendStatusSet 短信发送状态。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendStatusSet",$param) and $param["SendStatusSet"] !== null) {
|
||||
$this->SendStatusSet = [];
|
||||
foreach ($param["SendStatusSet"] as $key => $value){
|
||||
$obj = new SendStatus();
|
||||
$obj->deserialize($value);
|
||||
array_push($this->SendStatusSet, $obj);
|
||||
}
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatus.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 发送短信状态
|
||||
*
|
||||
* @method string getSerialNo() 获取发送流水号。
|
||||
* @method void setSerialNo(string $SerialNo) 设置发送流水号。
|
||||
* @method string getPhoneNumber() 获取手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method void setPhoneNumber(string $PhoneNumber) 设置手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @method integer getFee() 获取计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @method void setFee(integer $Fee) 设置计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @method string getSessionContext() 获取用户 session 内容。
|
||||
* @method void setSessionContext(string $SessionContext) 设置用户 session 内容。
|
||||
* @method string getCode() 获取短信请求错误码,具体含义请参考 [错误码](https://cloud.tencent.com/document/api/382/55981#6.-.E9.94.99.E8.AF.AF.E7.A0.81),发送成功返回 "Ok"。
|
||||
* @method void setCode(string $Code) 设置短信请求错误码,具体含义请参考 [错误码](https://cloud.tencent.com/document/api/382/55981#6.-.E9.94.99.E8.AF.AF.E7.A0.81),发送成功返回 "Ok"。
|
||||
* @method string getMessage() 获取短信请求错误码描述。
|
||||
* @method void setMessage(string $Message) 设置短信请求错误码描述。
|
||||
* @method string getIsoCode() 获取国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051)。
|
||||
* @method void setIsoCode(string $IsoCode) 设置国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051)。
|
||||
*/
|
||||
class SendStatus extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 发送流水号。
|
||||
*/
|
||||
public $SerialNo;
|
||||
|
||||
/**
|
||||
* @var string 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
*/
|
||||
public $PhoneNumber;
|
||||
|
||||
/**
|
||||
* @var integer 计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
*/
|
||||
public $Fee;
|
||||
|
||||
/**
|
||||
* @var string 用户 session 内容。
|
||||
*/
|
||||
public $SessionContext;
|
||||
|
||||
/**
|
||||
* @var string 短信请求错误码,具体含义请参考 [错误码](https://cloud.tencent.com/document/api/382/55981#6.-.E9.94.99.E8.AF.AF.E7.A0.81),发送成功返回 "Ok"。
|
||||
*/
|
||||
public $Code;
|
||||
|
||||
/**
|
||||
* @var string 短信请求错误码描述。
|
||||
*/
|
||||
public $Message;
|
||||
|
||||
/**
|
||||
* @var string 国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051)。
|
||||
*/
|
||||
public $IsoCode;
|
||||
|
||||
/**
|
||||
* @param string $SerialNo 发送流水号。
|
||||
* @param string $PhoneNumber 手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
||||
* @param integer $Fee 计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。
|
||||
* @param string $SessionContext 用户 session 内容。
|
||||
* @param string $Code 短信请求错误码,具体含义请参考 [错误码](https://cloud.tencent.com/document/api/382/55981#6.-.E9.94.99.E8.AF.AF.E7.A0.81),发送成功返回 "Ok"。
|
||||
* @param string $Message 短信请求错误码描述。
|
||||
* @param string $IsoCode 国家码或地区码,例如 CN、US 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 [国际/港澳台短信价格总览](https://cloud.tencent.com/document/product/382/18051)。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SerialNo",$param) and $param["SerialNo"] !== null) {
|
||||
$this->SerialNo = $param["SerialNo"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PhoneNumber",$param) and $param["PhoneNumber"] !== null) {
|
||||
$this->PhoneNumber = $param["PhoneNumber"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Fee",$param) and $param["Fee"] !== null) {
|
||||
$this->Fee = $param["Fee"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SessionContext",$param) and $param["SessionContext"] !== null) {
|
||||
$this->SessionContext = $param["SessionContext"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Code",$param) and $param["Code"] !== null) {
|
||||
$this->Code = $param["Code"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Message",$param) and $param["Message"] !== null) {
|
||||
$this->Message = $param["Message"];
|
||||
}
|
||||
|
||||
if (array_key_exists("IsoCode",$param) and $param["IsoCode"] !== null) {
|
||||
$this->IsoCode = $param["IsoCode"];
|
||||
}
|
||||
}
|
||||
}
|
||||
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatistics.php
vendored
Normal file
77
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatistics.php
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 发送数据统计响应包体
|
||||
*
|
||||
* @method integer getFeeCount() 获取短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @method void setFeeCount(integer $FeeCount) 设置短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @method integer getRequestCount() 获取短信提交量统计。
|
||||
* @method void setRequestCount(integer $RequestCount) 设置短信提交量统计。
|
||||
* @method integer getRequestSuccessCount() 获取短信提交成功量统计。
|
||||
* @method void setRequestSuccessCount(integer $RequestSuccessCount) 设置短信提交成功量统计。
|
||||
*/
|
||||
class SendStatusStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
*/
|
||||
public $FeeCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交量统计。
|
||||
*/
|
||||
public $RequestCount;
|
||||
|
||||
/**
|
||||
* @var integer 短信提交成功量统计。
|
||||
*/
|
||||
public $RequestSuccessCount;
|
||||
|
||||
/**
|
||||
* @param integer $FeeCount 短信计费条数统计,例如提交成功量为100条,其中有20条是长短信(长度为80字)被拆分成2条,则计费条数为: ```80 * 1 + 20 * 2 = 120``` 条。
|
||||
* @param integer $RequestCount 短信提交量统计。
|
||||
* @param integer $RequestSuccessCount 短信提交成功量统计。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("FeeCount",$param) and $param["FeeCount"] !== null) {
|
||||
$this->FeeCount = $param["FeeCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestCount",$param) and $param["RequestCount"] !== null) {
|
||||
$this->RequestCount = $param["RequestCount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestSuccessCount",$param) and $param["RequestSuccessCount"] !== null) {
|
||||
$this->RequestSuccessCount = $param["RequestSuccessCount"];
|
||||
}
|
||||
}
|
||||
}
|
||||
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatisticsRequest.php
vendored
Normal file
113
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatisticsRequest.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendStatusStatistics请求参数结构体
|
||||
*
|
||||
* @method string getBeginTime() 获取起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @method void setBeginTime(string $BeginTime) 设置起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @method string getEndTime() 获取结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime。
|
||||
* @method void setEndTime(string $EndTime) 设置结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime。
|
||||
* @method string getSmsSdkAppId() 获取短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method void setSmsSdkAppId(string $SmsSdkAppId) 设置短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @method integer getLimit() 获取最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method void setLimit(integer $Limit) 设置最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @method integer getOffset() 获取偏移量。
|
||||
注:目前固定设置为0。
|
||||
* @method void setOffset(integer $Offset) 设置偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
class SendStatusStatisticsRequest extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var string 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
*/
|
||||
public $BeginTime;
|
||||
|
||||
/**
|
||||
* @var string 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime。
|
||||
*/
|
||||
public $EndTime;
|
||||
|
||||
/**
|
||||
* @var string 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
*/
|
||||
public $SmsSdkAppId;
|
||||
|
||||
/**
|
||||
* @var integer 最大上限。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Limit;
|
||||
|
||||
/**
|
||||
* @var integer 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
public $Offset;
|
||||
|
||||
/**
|
||||
* @param string $BeginTime 起始时间,格式为yyyymmddhh,精确到小时,例如2021050113,表示2021年5月1号13时。
|
||||
* @param string $EndTime 结束时间,格式为yyyymmddhh,精确到小时,例如2021050118,表示2021年5月1号18时。
|
||||
注:EndTime 必须大于 BeginTime。
|
||||
* @param string $SmsSdkAppId 短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。
|
||||
* @param integer $Limit 最大上限。
|
||||
注:目前固定设置为0。
|
||||
* @param integer $Offset 偏移量。
|
||||
注:目前固定设置为0。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("BeginTime",$param) and $param["BeginTime"] !== null) {
|
||||
$this->BeginTime = $param["BeginTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("EndTime",$param) and $param["EndTime"] !== null) {
|
||||
$this->EndTime = $param["EndTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("SmsSdkAppId",$param) and $param["SmsSdkAppId"] !== null) {
|
||||
$this->SmsSdkAppId = $param["SmsSdkAppId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
|
||||
$this->Limit = $param["Limit"];
|
||||
}
|
||||
|
||||
if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
|
||||
$this->Offset = $param["Offset"];
|
||||
}
|
||||
}
|
||||
}
|
||||
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatisticsResponse.php
vendored
Normal file
66
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SendStatusStatisticsResponse.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* SendStatusStatistics返回参数结构体
|
||||
*
|
||||
* @method SendStatusStatistics getSendStatusStatistics() 获取发送数据统计响应包体。
|
||||
* @method void setSendStatusStatistics(SendStatusStatistics $SendStatusStatistics) 设置发送数据统计响应包体。
|
||||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
class SendStatusStatisticsResponse extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var SendStatusStatistics 发送数据统计响应包体。
|
||||
*/
|
||||
public $SendStatusStatistics;
|
||||
|
||||
/**
|
||||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
public $RequestId;
|
||||
|
||||
/**
|
||||
* @param SendStatusStatistics $SendStatusStatistics 发送数据统计响应包体。
|
||||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("SendStatusStatistics",$param) and $param["SendStatusStatistics"] !== null) {
|
||||
$this->SendStatusStatistics = new SendStatusStatistics();
|
||||
$this->SendStatusStatistics->deserialize($param["SendStatusStatistics"]);
|
||||
}
|
||||
|
||||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
|
||||
$this->RequestId = $param["RequestId"];
|
||||
}
|
||||
}
|
||||
}
|
||||
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SmsPackagesStatistics.php
vendored
Normal file
125
vendor/tencentcloud/sms/src/TencentCloud/Sms/V20210111/Models/SmsPackagesStatistics.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
namespace TencentCloud\Sms\V20210111\Models;
|
||||
use TencentCloud\Common\AbstractModel;
|
||||
|
||||
/**
|
||||
* 套餐包信息统计响应包体
|
||||
*
|
||||
* @method integer getPackageCreateTime() 获取套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageCreateTime(integer $PackageCreateTime) 设置套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @method integer getPackageEffectiveTime() 获取套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageEffectiveTime(integer $PackageEffectiveTime) 设置套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @method integer getPackageExpiredTime() 获取套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @method void setPackageExpiredTime(integer $PackageExpiredTime) 设置套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @method integer getPackageAmount() 获取套餐包条数。
|
||||
* @method void setPackageAmount(integer $PackageAmount) 设置套餐包条数。
|
||||
* @method integer getPackageType() 获取套餐包类别,0表示赠送套餐包,1表示购买套餐包。
|
||||
* @method void setPackageType(integer $PackageType) 设置套餐包类别,0表示赠送套餐包,1表示购买套餐包。
|
||||
* @method integer getPackageId() 获取套餐包 ID。
|
||||
* @method void setPackageId(integer $PackageId) 设置套餐包 ID。
|
||||
* @method integer getCurrentUsage() 获取当前使用套餐包条数。
|
||||
* @method void setCurrentUsage(integer $CurrentUsage) 设置当前使用套餐包条数。
|
||||
*/
|
||||
class SmsPackagesStatistics extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @var integer 套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageCreateTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageEffectiveTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
*/
|
||||
public $PackageExpiredTime;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包条数。
|
||||
*/
|
||||
public $PackageAmount;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包类别,0表示赠送套餐包,1表示购买套餐包。
|
||||
*/
|
||||
public $PackageType;
|
||||
|
||||
/**
|
||||
* @var integer 套餐包 ID。
|
||||
*/
|
||||
public $PackageId;
|
||||
|
||||
/**
|
||||
* @var integer 当前使用套餐包条数。
|
||||
*/
|
||||
public $CurrentUsage;
|
||||
|
||||
/**
|
||||
* @param integer $PackageCreateTime 套餐包创建时间,UNIX 时间戳(单位:秒)。
|
||||
* @param integer $PackageEffectiveTime 套餐包生效时间,UNIX 时间戳(单位:秒)。
|
||||
* @param integer $PackageExpiredTime 套餐包过期时间,UNIX 时间戳(单位:秒)。
|
||||
* @param integer $PackageAmount 套餐包条数。
|
||||
* @param integer $PackageType 套餐包类别,0表示赠送套餐包,1表示购买套餐包。
|
||||
* @param integer $PackageId 套餐包 ID。
|
||||
* @param integer $CurrentUsage 当前使用套餐包条数。
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* For internal only. DO NOT USE IT.
|
||||
*/
|
||||
public function deserialize($param)
|
||||
{
|
||||
if ($param === null) {
|
||||
return;
|
||||
}
|
||||
if (array_key_exists("PackageCreateTime",$param) and $param["PackageCreateTime"] !== null) {
|
||||
$this->PackageCreateTime = $param["PackageCreateTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageEffectiveTime",$param) and $param["PackageEffectiveTime"] !== null) {
|
||||
$this->PackageEffectiveTime = $param["PackageEffectiveTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageExpiredTime",$param) and $param["PackageExpiredTime"] !== null) {
|
||||
$this->PackageExpiredTime = $param["PackageExpiredTime"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageAmount",$param) and $param["PackageAmount"] !== null) {
|
||||
$this->PackageAmount = $param["PackageAmount"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageType",$param) and $param["PackageType"] !== null) {
|
||||
$this->PackageType = $param["PackageType"];
|
||||
}
|
||||
|
||||
if (array_key_exists("PackageId",$param) and $param["PackageId"] !== null) {
|
||||
$this->PackageId = $param["PackageId"];
|
||||
}
|
||||
|
||||
if (array_key_exists("CurrentUsage",$param) and $param["CurrentUsage"] !== null) {
|
||||
$this->CurrentUsage = $param["CurrentUsage"];
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user