更新
This commit is contained in:
15
vendor/alibabacloud/dypnsapi-20170525/.gitignore
vendored
Normal file
15
vendor/alibabacloud/dypnsapi-20170525/.gitignore
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
composer.phar
|
||||
/vendor/
|
||||
|
||||
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
|
||||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
||||
composer.lock
|
||||
|
||||
.vscode/
|
||||
.idea
|
||||
.DS_Store
|
||||
|
||||
cache/
|
||||
*.cache
|
||||
runtime/
|
||||
.php_cs.cache
|
||||
65
vendor/alibabacloud/dypnsapi-20170525/.php_cs.dist
vendored
Normal file
65
vendor/alibabacloud/dypnsapi-20170525/.php_cs.dist
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* This document has been generated with
|
||||
* https://mlocati.github.io/php-cs-fixer-configurator/#version:2.15|configurator
|
||||
* you can change this configuration by importing this file.
|
||||
*/
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
->setRiskyAllowed(true)
|
||||
->setIndent(' ')
|
||||
->setRules([
|
||||
'@PSR2' => true,
|
||||
'@PhpCsFixer' => true,
|
||||
'@Symfony:risky' => true,
|
||||
'concat_space' => ['spacing' => 'one'],
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'array_indentation' => true,
|
||||
'combine_consecutive_unsets' => true,
|
||||
'method_separation' => true,
|
||||
'single_quote' => true,
|
||||
'declare_equal_normalize' => true,
|
||||
'function_typehint_space' => true,
|
||||
'hash_to_slash_comment' => true,
|
||||
'include' => true,
|
||||
'lowercase_cast' => true,
|
||||
'no_multiline_whitespace_before_semicolons' => true,
|
||||
'no_leading_import_slash' => true,
|
||||
'no_multiline_whitespace_around_double_arrow' => true,
|
||||
'no_spaces_around_offset' => true,
|
||||
'no_unneeded_control_parentheses' => true,
|
||||
'no_unused_imports' => true,
|
||||
'no_whitespace_before_comma_in_array' => true,
|
||||
'no_whitespace_in_blank_line' => true,
|
||||
'object_operator_without_whitespace' => true,
|
||||
'single_blank_line_before_namespace' => true,
|
||||
'single_class_element_per_statement' => true,
|
||||
'space_after_semicolon' => true,
|
||||
'standardize_not_equals' => true,
|
||||
'ternary_operator_spaces' => true,
|
||||
'trailing_comma_in_multiline_array' => true,
|
||||
'trim_array_spaces' => true,
|
||||
'unary_operator_spaces' => true,
|
||||
'whitespace_after_comma_in_array' => true,
|
||||
'no_extra_consecutive_blank_lines' => [
|
||||
'curly_brace_block',
|
||||
'extra',
|
||||
'parenthesis_brace_block',
|
||||
'square_brace_block',
|
||||
'throw',
|
||||
'use',
|
||||
],
|
||||
'binary_operator_spaces' => [
|
||||
'align_double_arrow' => true,
|
||||
'align_equals' => true,
|
||||
],
|
||||
'braces' => [
|
||||
'allow_single_line_closure' => true,
|
||||
],
|
||||
])
|
||||
->setFinder(
|
||||
PhpCsFixer\Finder::create()
|
||||
->exclude('vendor')
|
||||
->exclude('tests')
|
||||
->in(__DIR__)
|
||||
);
|
||||
59
vendor/alibabacloud/dypnsapi-20170525/ChangeLog.md
vendored
Normal file
59
vendor/alibabacloud/dypnsapi-20170525/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
2024-10-24 Version: 1.1.3
|
||||
- Update API CreateVerifyScheme: add param HmAppIdentifier.
|
||||
- Update API CreateVerifyScheme: add param HmPackageName.
|
||||
- Update API CreateVerifyScheme: add param HmSignName.
|
||||
- Update API GetAuthToken: add param BizType.
|
||||
- Update API GetAuthToken: add param CmApiCode.
|
||||
- Update API GetAuthToken: add param CtApiCode.
|
||||
- Update API GetAuthToken: add param CuApiCode.
|
||||
- Update API GetAuthToken: add param Version.
|
||||
|
||||
|
||||
2024-10-18 Version: 1.1.3
|
||||
- Update API CreateVerifyScheme: add param HmAppIdentifier.
|
||||
- Update API CreateVerifyScheme: add param HmPackageName.
|
||||
- Update API CreateVerifyScheme: add param HmSignName.
|
||||
|
||||
|
||||
2024-01-04 Version: 1.1.2
|
||||
- Generated php 2017-05-25 for Dypnsapi.
|
||||
|
||||
2023-12-29 Version: 1.2.0
|
||||
- Generated php 2017-05-25 for Dypnsapi.
|
||||
|
||||
2023-09-21 Version: 1.1.0
|
||||
- Generated php 2017-05-25 for Dypnsapi.
|
||||
|
||||
2023-04-14 Version: 1.0.10
|
||||
- Supported Fusion Auth.
|
||||
|
||||
2022-12-27 Version: 1.0.9
|
||||
- Support Sms Verification for Dypnsapi.
|
||||
|
||||
2022-11-30 Version: 1.0.8
|
||||
- Support Sms Verification for Dypnsapi.
|
||||
|
||||
2022-02-08 Version: 1.0.7
|
||||
- Supported New Features.
|
||||
|
||||
2022-01-19 Version: 1.0.6
|
||||
- Supported New Features.
|
||||
|
||||
2022-01-13 Version: 1.0.5
|
||||
- Supported New Features.
|
||||
|
||||
2022-01-07 Version: 1.0.4
|
||||
- Supported New Features.
|
||||
|
||||
2021-09-22 Version: 1.0.3
|
||||
- Support Sms Verification for Dypnsapi.
|
||||
|
||||
2021-09-22 Version: 1.0.2
|
||||
- Support Sms Verification for Dypnsapi.
|
||||
|
||||
2021-03-17 Version: 1.0.1
|
||||
- Generated php 2017-05-25 for Dypnsapi.
|
||||
|
||||
2020-12-30 Version: 1.0.0
|
||||
- AMP Version Change.
|
||||
|
||||
201
vendor/alibabacloud/dypnsapi-20170525/LICENSE
vendored
Normal file
201
vendor/alibabacloud/dypnsapi-20170525/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 (c) 2009-present, Alibaba Cloud 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.
|
||||
35
vendor/alibabacloud/dypnsapi-20170525/README-CN.md
vendored
Normal file
35
vendor/alibabacloud/dypnsapi-20170525/README-CN.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
[English](README.md) | 简体中文
|
||||
|
||||

|
||||
|
||||
# Alibaba Cloud Dypnsapi SDK for PHP
|
||||
|
||||
## 安装
|
||||
|
||||
### Composer
|
||||
|
||||
```bash
|
||||
composer require alibabacloud/dypnsapi-20170525
|
||||
```
|
||||
|
||||
## 问题
|
||||
|
||||
[提交 Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new),不符合指南的问题可能会立即关闭。
|
||||
|
||||
## 使用说明
|
||||
|
||||
[快速使用](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-CN.md#%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
|
||||
|
||||
## 发行说明
|
||||
|
||||
每个版本的详细更改记录在[发行说明](./ChangeLog.txt)中。
|
||||
|
||||
## 相关
|
||||
|
||||
* [最新源码](https://github.com/aliyun/alibabacloud-php-sdk/)
|
||||
|
||||
## 许可证
|
||||
|
||||
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
||||
35
vendor/alibabacloud/dypnsapi-20170525/README.md
vendored
Normal file
35
vendor/alibabacloud/dypnsapi-20170525/README.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
English | [简体中文](README-CN.md)
|
||||
|
||||

|
||||
|
||||
# Alibaba Cloud Dypnsapi SDK for PHP
|
||||
|
||||
## Installation
|
||||
|
||||
### Composer
|
||||
|
||||
```bash
|
||||
composer require alibabacloud/dypnsapi-20170525
|
||||
```
|
||||
|
||||
## Issues
|
||||
|
||||
[Opening an Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
||||
|
||||
## Usage
|
||||
|
||||
[Quick Examples](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-EN.md#quick-examples)
|
||||
|
||||
## Changelog
|
||||
|
||||
Detailed changes for each release are documented in the [release notes](./ChangeLog.txt).
|
||||
|
||||
## References
|
||||
|
||||
* [Latest Release](https://github.com/aliyun/alibabacloud-php-sdk/)
|
||||
|
||||
## License
|
||||
|
||||
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
||||
17
vendor/alibabacloud/dypnsapi-20170525/autoload.php
vendored
Normal file
17
vendor/alibabacloud/dypnsapi-20170525/autoload.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
if (file_exists(__DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php')) {
|
||||
require_once __DIR__ . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
}
|
||||
|
||||
spl_autoload_register(function ($class) {
|
||||
$name = str_replace('AlibabaCloud\\SDK\\Dypnsapi\\V20170525\\', '', $class);
|
||||
$file = __DIR__ . \DIRECTORY_SEPARATOR . 'src' . \DIRECTORY_SEPARATOR . str_replace('\\', \DIRECTORY_SEPARATOR, $name) . '.php';
|
||||
if (file_exists($file)) {
|
||||
require_once $file;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
33
vendor/alibabacloud/dypnsapi-20170525/composer.json
vendored
Normal file
33
vendor/alibabacloud/dypnsapi-20170525/composer.json
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "alibabacloud/dypnsapi-20170525",
|
||||
"description": "Alibaba Cloud Dypnsapi (20170525) SDK Library for PHP",
|
||||
"type": "library",
|
||||
"license": "Apache-2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alibaba Cloud SDK",
|
||||
"email": "sdk-team@alibabacloud.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">5.5",
|
||||
"alibabacloud/tea-utils": "^0.2.21",
|
||||
"alibabacloud/darabonba-openapi": "^0.2.13",
|
||||
"alibabacloud/openapi-util": "^0.1.10|^0.2.1",
|
||||
"alibabacloud/endpoint-util": "^0.1.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"AlibabaCloud\\SDK\\Dypnsapi\\V20170525\\": "src"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"fixer": "php-cs-fixer fix ./"
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true,
|
||||
"preferred-install": "dist",
|
||||
"optimize-autoloader": true
|
||||
},
|
||||
"prefer-stable": true
|
||||
}
|
||||
1658
vendor/alibabacloud/dypnsapi-20170525/src/Dypnsapi.php
vendored
Normal file
1658
vendor/alibabacloud/dypnsapi-20170525/src/Dypnsapi.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
172
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeRequest.php
vendored
Normal file
172
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeRequest.php
vendored
Normal file
@@ -0,0 +1,172 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckSmsVerifyCodeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The verification policy for uppercase and lowercase letters of the verification code. Valid values:
|
||||
*
|
||||
* 1: The verification policy does not distinguish uppercase and lowercase letters.
|
||||
* 2: The verification policy distinguishes uppercase and lowercase letters.
|
||||
*
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $caseAuthPolicy;
|
||||
|
||||
/**
|
||||
* @description The country code of the phone number. Default value: 86.
|
||||
*
|
||||
* @example 86
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $countryCode;
|
||||
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 12123231
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 18653529399
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The verification service name. If this parameter is not specified, the default service is used. The name can be up to 20 characters in length.
|
||||
*
|
||||
* @example Aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeName;
|
||||
|
||||
/**
|
||||
* @description The verification code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1231
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyCode;
|
||||
protected $_name = [
|
||||
'caseAuthPolicy' => 'CaseAuthPolicy',
|
||||
'countryCode' => 'CountryCode',
|
||||
'outId' => 'OutId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeName' => 'SchemeName',
|
||||
'verifyCode' => 'VerifyCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->caseAuthPolicy) {
|
||||
$res['CaseAuthPolicy'] = $this->caseAuthPolicy;
|
||||
}
|
||||
if (null !== $this->countryCode) {
|
||||
$res['CountryCode'] = $this->countryCode;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeName) {
|
||||
$res['SchemeName'] = $this->schemeName;
|
||||
}
|
||||
if (null !== $this->verifyCode) {
|
||||
$res['VerifyCode'] = $this->verifyCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CheckSmsVerifyCodeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CaseAuthPolicy'])) {
|
||||
$model->caseAuthPolicy = $map['CaseAuthPolicy'];
|
||||
}
|
||||
if (isset($map['CountryCode'])) {
|
||||
$model->countryCode = $map['CountryCode'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeName'])) {
|
||||
$model->schemeName = $map['SchemeName'];
|
||||
}
|
||||
if (isset($map['VerifyCode'])) {
|
||||
$model->verifyCode = $map['VerifyCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckSmsVerifyCodeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var CheckSmsVerifyCodeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CheckSmsVerifyCodeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = CheckSmsVerifyCodeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
120
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponseBody.php
vendored
Normal file
120
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponseBody.php
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CheckSmsVerifyCodeResponseBody\model_;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CheckSmsVerifyCodeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The details about the access denial.
|
||||
*
|
||||
* @example None
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessDeniedDetail;
|
||||
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [Response codes](https://help.aliyun.com/zh/pnvs/developer-reference/api-return-code?spm=a2c4g.11174283.0.0.70c5616bkj38Wa).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The returned data.
|
||||
*
|
||||
* @var model_
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* true
|
||||
* false
|
||||
*
|
||||
* @example false
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'accessDeniedDetail' => 'AccessDeniedDetail',
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessDeniedDetail) {
|
||||
$res['AccessDeniedDetail'] = $this->accessDeniedDetail;
|
||||
}
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = null !== $this->model ? $this->model->toMap() : null;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CheckSmsVerifyCodeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessDeniedDetail'])) {
|
||||
$model->accessDeniedDetail = $map['AccessDeniedDetail'];
|
||||
}
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
$model->model = model_::fromMap($map['Model']);
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
70
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponseBody/model_.php
vendored
Normal file
70
vendor/alibabacloud/dypnsapi-20170525/src/Models/CheckSmsVerifyCodeResponseBody/model_.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CheckSmsVerifyCodeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class model_ extends Model
|
||||
{
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 1212312
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @description The verification results. Valid values:
|
||||
*
|
||||
* PASS: The verification is successful.
|
||||
* UNKNOWN: The verification failed.
|
||||
*
|
||||
* @example PASS
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyResult;
|
||||
protected $_name = [
|
||||
'outId' => 'OutId',
|
||||
'verifyResult' => 'VerifyResult',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->verifyResult) {
|
||||
$res['VerifyResult'] = $this->verifyResult;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return model_
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['VerifyResult'])) {
|
||||
$model->verifyResult = $map['VerifyResult'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
206
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigRequest.php
vendored
Normal file
206
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigRequest.php
vendored
Normal file
@@ -0,0 +1,206 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateSchemeConfigRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The package name. This parameter is required when Platform is set to Android. The name must be 1 to 128 characters in length and can contain digits, letters, hyphens (-), underscores (_), and periods (.).
|
||||
*
|
||||
* @example com.aliyun.android
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $androidPackageName;
|
||||
|
||||
/**
|
||||
* @description The package signature. This parameter is required when Platform is set to Android. The signature must be 32 characters in length and can contain digits and letters.
|
||||
*
|
||||
* @example dfsfaawklll1****olkweklk***
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $androidPackageSign;
|
||||
|
||||
/**
|
||||
* @description The app name, which can be up to 20 characters in length and can contain letters.
|
||||
*
|
||||
* @example Alibaba Cloud Communications
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appName;
|
||||
|
||||
/**
|
||||
* @description The reserved field. HTML5 apps are not supported.
|
||||
*
|
||||
* @example -
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $h5Origin;
|
||||
|
||||
/**
|
||||
* @description The reserved field. HTML5 apps are not supported.
|
||||
*
|
||||
* @example -
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $h5Url;
|
||||
|
||||
/**
|
||||
* @description The bundle ID. This parameter is required when OsType is set to iOS. The bundle ID must be 1 to 128 characters in length and can contain digits, letters, hyphens (-), underscores (_), and periods (.).
|
||||
*
|
||||
* @example com.aliyun.ios
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $iosBundleId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The app platform.
|
||||
*
|
||||
* Valid values:
|
||||
*
|
||||
* Android
|
||||
* iOS
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Android
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $platform;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service name, which can be up to 10 characters in length and can contain letters.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeName;
|
||||
protected $_name = [
|
||||
'androidPackageName' => 'AndroidPackageName',
|
||||
'androidPackageSign' => 'AndroidPackageSign',
|
||||
'appName' => 'AppName',
|
||||
'h5Origin' => 'H5Origin',
|
||||
'h5Url' => 'H5Url',
|
||||
'iosBundleId' => 'IosBundleId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'platform' => 'Platform',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeName' => 'SchemeName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->androidPackageName) {
|
||||
$res['AndroidPackageName'] = $this->androidPackageName;
|
||||
}
|
||||
if (null !== $this->androidPackageSign) {
|
||||
$res['AndroidPackageSign'] = $this->androidPackageSign;
|
||||
}
|
||||
if (null !== $this->appName) {
|
||||
$res['AppName'] = $this->appName;
|
||||
}
|
||||
if (null !== $this->h5Origin) {
|
||||
$res['H5Origin'] = $this->h5Origin;
|
||||
}
|
||||
if (null !== $this->h5Url) {
|
||||
$res['H5Url'] = $this->h5Url;
|
||||
}
|
||||
if (null !== $this->iosBundleId) {
|
||||
$res['IosBundleId'] = $this->iosBundleId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->platform) {
|
||||
$res['Platform'] = $this->platform;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeName) {
|
||||
$res['SchemeName'] = $this->schemeName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateSchemeConfigRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AndroidPackageName'])) {
|
||||
$model->androidPackageName = $map['AndroidPackageName'];
|
||||
}
|
||||
if (isset($map['AndroidPackageSign'])) {
|
||||
$model->androidPackageSign = $map['AndroidPackageSign'];
|
||||
}
|
||||
if (isset($map['AppName'])) {
|
||||
$model->appName = $map['AppName'];
|
||||
}
|
||||
if (isset($map['H5Origin'])) {
|
||||
$model->h5Origin = $map['H5Origin'];
|
||||
}
|
||||
if (isset($map['H5Url'])) {
|
||||
$model->h5Url = $map['H5Url'];
|
||||
}
|
||||
if (isset($map['IosBundleId'])) {
|
||||
$model->iosBundleId = $map['IosBundleId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['Platform'])) {
|
||||
$model->platform = $map['Platform'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeName'])) {
|
||||
$model->schemeName = $map['SchemeName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateSchemeConfigResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var CreateSchemeConfigResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateSchemeConfigResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = CreateSchemeConfigResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
120
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponseBody.php
vendored
Normal file
120
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponseBody.php
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CreateSchemeConfigResponseBody\model_;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateSchemeConfigResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/zh/pnvs/developer-reference/api-return-code?spm=a2c4g.11186623.0.0.5c3a662fbgeAuk).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The returned results.
|
||||
*
|
||||
* @var model_
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example B95B36EC-8108-4479-D3AA-2BB27F9B155A
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* **true**
|
||||
* **false**
|
||||
*
|
||||
* @example false
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'requestId' => 'RequestId',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = null !== $this->model ? $this->model->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateSchemeConfigResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
$model->model = model_::fromMap($map['Model']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponseBody/model_.php
vendored
Normal file
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateSchemeConfigResponseBody/model_.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CreateSchemeConfigResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class model_ extends Model
|
||||
{
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* @example FA100000168468035
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return model_
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
369
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeRequest.php
vendored
Normal file
369
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeRequest.php
vendored
Normal file
@@ -0,0 +1,369 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateVerifySchemeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The app name.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Alibaba Cloud Communications
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appName;
|
||||
|
||||
/**
|
||||
* @description The verification type. You can select multiple types only when the phone number verification is supported. Separate multiple types with commas (,).
|
||||
*
|
||||
* **1**: phone number verification
|
||||
* **2**: SMS verification
|
||||
*
|
||||
* @example 1,2
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $authType;
|
||||
|
||||
/**
|
||||
* @description The bundle ID. This parameter is required when OsType is set to iOS. The bundle ID must be 1 to 128 characters in length and can contain digits, letters, hyphens (-), underscores (_), and periods (.).
|
||||
*
|
||||
* @example example.aliyundoc.com
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bundleId;
|
||||
|
||||
/**
|
||||
* @description The channel code of China Mobile.
|
||||
*
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $cmApiCode;
|
||||
|
||||
/**
|
||||
* @description The channel code of China Telecom.
|
||||
*
|
||||
* @example 3
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $ctApiCode;
|
||||
|
||||
/**
|
||||
* @description The channel code of China Unicom.
|
||||
*
|
||||
* @example 2
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $cuApiCode;
|
||||
|
||||
/**
|
||||
* @description The email address that receives the key.
|
||||
*
|
||||
* @example username@aliyundoc.com
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $email;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hmAppIdentifier;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hmPackageName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $hmSignName;
|
||||
|
||||
/**
|
||||
* @description The IP address whitelist.
|
||||
*
|
||||
* @example 139.9.167.181
|
||||
* 139.9.172.0/24
|
||||
* @var string
|
||||
*/
|
||||
public $ipWhiteList;
|
||||
|
||||
/**
|
||||
* @description The source URL of the HTML5 app page. We recommend that you specify this parameter as a domain name.
|
||||
*
|
||||
* @example https://h5.minexiot.com
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $origin;
|
||||
|
||||
/**
|
||||
* @description The type of the operating system for the terminal. Valid values: iOS and Android.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example iOS
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $osType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The package name. This parameter is required when OsType is set to Android. The name must be 1 to 128 characters in length and can contain digits, letters, hyphens (-), underscores (_), and periods (.).
|
||||
*
|
||||
* @example com.aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $packName;
|
||||
|
||||
/**
|
||||
* @description The package signature. This parameter is required when OsType is set to Android. The signature must be 32 characters in length and can contain digits and letters.
|
||||
*
|
||||
* @example 123aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $packSign;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service type.
|
||||
*
|
||||
* @example 0
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneType;
|
||||
|
||||
/**
|
||||
* @description The service name.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeName;
|
||||
|
||||
/**
|
||||
* @description The bound SMS signature. This parameter is valid only when AuthType is set to 2. The signature must be approved.
|
||||
*
|
||||
* @example Aliyun Test
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $smsSignName;
|
||||
|
||||
/**
|
||||
* @description The URL of the HTML5 app page.
|
||||
*
|
||||
* @example https://h5.minexiot.com/index.html
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
protected $_name = [
|
||||
'appName' => 'AppName',
|
||||
'authType' => 'AuthType',
|
||||
'bundleId' => 'BundleId',
|
||||
'cmApiCode' => 'CmApiCode',
|
||||
'ctApiCode' => 'CtApiCode',
|
||||
'cuApiCode' => 'CuApiCode',
|
||||
'email' => 'Email',
|
||||
'hmAppIdentifier' => 'HmAppIdentifier',
|
||||
'hmPackageName' => 'HmPackageName',
|
||||
'hmSignName' => 'HmSignName',
|
||||
'ipWhiteList' => 'IpWhiteList',
|
||||
'origin' => 'Origin',
|
||||
'osType' => 'OsType',
|
||||
'ownerId' => 'OwnerId',
|
||||
'packName' => 'PackName',
|
||||
'packSign' => 'PackSign',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sceneType' => 'SceneType',
|
||||
'schemeName' => 'SchemeName',
|
||||
'smsSignName' => 'SmsSignName',
|
||||
'url' => 'Url',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->appName) {
|
||||
$res['AppName'] = $this->appName;
|
||||
}
|
||||
if (null !== $this->authType) {
|
||||
$res['AuthType'] = $this->authType;
|
||||
}
|
||||
if (null !== $this->bundleId) {
|
||||
$res['BundleId'] = $this->bundleId;
|
||||
}
|
||||
if (null !== $this->cmApiCode) {
|
||||
$res['CmApiCode'] = $this->cmApiCode;
|
||||
}
|
||||
if (null !== $this->ctApiCode) {
|
||||
$res['CtApiCode'] = $this->ctApiCode;
|
||||
}
|
||||
if (null !== $this->cuApiCode) {
|
||||
$res['CuApiCode'] = $this->cuApiCode;
|
||||
}
|
||||
if (null !== $this->email) {
|
||||
$res['Email'] = $this->email;
|
||||
}
|
||||
if (null !== $this->hmAppIdentifier) {
|
||||
$res['HmAppIdentifier'] = $this->hmAppIdentifier;
|
||||
}
|
||||
if (null !== $this->hmPackageName) {
|
||||
$res['HmPackageName'] = $this->hmPackageName;
|
||||
}
|
||||
if (null !== $this->hmSignName) {
|
||||
$res['HmSignName'] = $this->hmSignName;
|
||||
}
|
||||
if (null !== $this->ipWhiteList) {
|
||||
$res['IpWhiteList'] = $this->ipWhiteList;
|
||||
}
|
||||
if (null !== $this->origin) {
|
||||
$res['Origin'] = $this->origin;
|
||||
}
|
||||
if (null !== $this->osType) {
|
||||
$res['OsType'] = $this->osType;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->packName) {
|
||||
$res['PackName'] = $this->packName;
|
||||
}
|
||||
if (null !== $this->packSign) {
|
||||
$res['PackSign'] = $this->packSign;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sceneType) {
|
||||
$res['SceneType'] = $this->sceneType;
|
||||
}
|
||||
if (null !== $this->schemeName) {
|
||||
$res['SchemeName'] = $this->schemeName;
|
||||
}
|
||||
if (null !== $this->smsSignName) {
|
||||
$res['SmsSignName'] = $this->smsSignName;
|
||||
}
|
||||
if (null !== $this->url) {
|
||||
$res['Url'] = $this->url;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateVerifySchemeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AppName'])) {
|
||||
$model->appName = $map['AppName'];
|
||||
}
|
||||
if (isset($map['AuthType'])) {
|
||||
$model->authType = $map['AuthType'];
|
||||
}
|
||||
if (isset($map['BundleId'])) {
|
||||
$model->bundleId = $map['BundleId'];
|
||||
}
|
||||
if (isset($map['CmApiCode'])) {
|
||||
$model->cmApiCode = $map['CmApiCode'];
|
||||
}
|
||||
if (isset($map['CtApiCode'])) {
|
||||
$model->ctApiCode = $map['CtApiCode'];
|
||||
}
|
||||
if (isset($map['CuApiCode'])) {
|
||||
$model->cuApiCode = $map['CuApiCode'];
|
||||
}
|
||||
if (isset($map['Email'])) {
|
||||
$model->email = $map['Email'];
|
||||
}
|
||||
if (isset($map['HmAppIdentifier'])) {
|
||||
$model->hmAppIdentifier = $map['HmAppIdentifier'];
|
||||
}
|
||||
if (isset($map['HmPackageName'])) {
|
||||
$model->hmPackageName = $map['HmPackageName'];
|
||||
}
|
||||
if (isset($map['HmSignName'])) {
|
||||
$model->hmSignName = $map['HmSignName'];
|
||||
}
|
||||
if (isset($map['IpWhiteList'])) {
|
||||
$model->ipWhiteList = $map['IpWhiteList'];
|
||||
}
|
||||
if (isset($map['Origin'])) {
|
||||
$model->origin = $map['Origin'];
|
||||
}
|
||||
if (isset($map['OsType'])) {
|
||||
$model->osType = $map['OsType'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PackName'])) {
|
||||
$model->packName = $map['PackName'];
|
||||
}
|
||||
if (isset($map['PackSign'])) {
|
||||
$model->packSign = $map['PackSign'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SceneType'])) {
|
||||
$model->sceneType = $map['SceneType'];
|
||||
}
|
||||
if (isset($map['SchemeName'])) {
|
||||
$model->schemeName = $map['SchemeName'];
|
||||
}
|
||||
if (isset($map['SmsSignName'])) {
|
||||
$model->smsSignName = $map['SmsSignName'];
|
||||
}
|
||||
if (isset($map['Url'])) {
|
||||
$model->url = $map['Url'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateVerifySchemeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var CreateVerifySchemeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateVerifySchemeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = CreateVerifySchemeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
136
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeResponseBody.php
vendored
Normal file
136
vendor/alibabacloud/dypnsapi-20170525/src/Models/CreateVerifySchemeResponseBody.php
vendored
Normal file
@@ -0,0 +1,136 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CreateVerifySchemeResponseBody\gateVerifySchemeDTO;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class CreateVerifySchemeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var gateVerifySchemeDTO
|
||||
*/
|
||||
public $gateVerifySchemeDTO;
|
||||
|
||||
/**
|
||||
* @description The HTTP status code.
|
||||
*
|
||||
* @example 200
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $httpStatusCode;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example A1E75E69-3049-5FDB-A376-D745837CD2B1
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* **true**
|
||||
* **false**
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'gateVerifySchemeDTO' => 'GateVerifySchemeDTO',
|
||||
'httpStatusCode' => 'HttpStatusCode',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->gateVerifySchemeDTO) {
|
||||
$res['GateVerifySchemeDTO'] = null !== $this->gateVerifySchemeDTO ? $this->gateVerifySchemeDTO->toMap() : null;
|
||||
}
|
||||
if (null !== $this->httpStatusCode) {
|
||||
$res['HttpStatusCode'] = $this->httpStatusCode;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return CreateVerifySchemeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['GateVerifySchemeDTO'])) {
|
||||
$model->gateVerifySchemeDTO = gateVerifySchemeDTO::fromMap($map['GateVerifySchemeDTO']);
|
||||
}
|
||||
if (isset($map['HttpStatusCode'])) {
|
||||
$model->httpStatusCode = $map['HttpStatusCode'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\CreateVerifySchemeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class gateVerifySchemeDTO extends Model
|
||||
{
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* @example FC10001287****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return gateVerifySchemeDTO
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeRequest.php
vendored
Normal file
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeRequest.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteVerifySchemeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The user ID.
|
||||
*
|
||||
* @example 12345678
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $customerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example FC10000014164****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'customerId' => 'CustomerId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->customerId) {
|
||||
$res['CustomerId'] = $this->customerId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteVerifySchemeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CustomerId'])) {
|
||||
$model->customerId = $map['CustomerId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteVerifySchemeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var DeleteVerifySchemeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteVerifySchemeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = DeleteVerifySchemeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
102
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeResponseBody.php
vendored
Normal file
102
vendor/alibabacloud/dypnsapi-20170525/src/Models/DeleteVerifySchemeResponseBody.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DeleteVerifySchemeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The request is successful. For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example E3754956-D0B1-5947-962A-AE767D354F01
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description The result of the operation. Valid values:
|
||||
*
|
||||
* **true**: The verification service is deleted.
|
||||
* **false**: The verification service failed to be deleted.
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $result;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'result' => 'Result',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->result) {
|
||||
$res['Result'] = $this->result;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DeleteVerifySchemeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Result'])) {
|
||||
$model->result = $map['Result'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeRequest.php
vendored
Normal file
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeRequest.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DescribeVerifySchemeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The user ID.
|
||||
*
|
||||
* @example 1234****
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $customerId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example FC10000010643****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'customerId' => 'CustomerId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->customerId) {
|
||||
$res['CustomerId'] = $this->customerId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DescribeVerifySchemeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CustomerId'])) {
|
||||
$model->customerId = $map['CustomerId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DescribeVerifySchemeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var DescribeVerifySchemeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DescribeVerifySchemeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = DescribeVerifySchemeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
98
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeResponseBody.php
vendored
Normal file
98
vendor/alibabacloud/dypnsapi-20170525/src/Models/DescribeVerifySchemeResponseBody.php
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\DescribeVerifySchemeResponseBody\schemeQueryResultDTO;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class DescribeVerifySchemeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code. OK indicates that the request is successful. For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 0C5380A7-2032-5F7D-9614-1BF8B54D16CB
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var schemeQueryResultDTO
|
||||
*/
|
||||
public $schemeQueryResultDTO;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'schemeQueryResultDTO' => 'SchemeQueryResultDTO',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->schemeQueryResultDTO) {
|
||||
$res['SchemeQueryResultDTO'] = null !== $this->schemeQueryResultDTO ? $this->schemeQueryResultDTO->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return DescribeVerifySchemeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['SchemeQueryResultDTO'])) {
|
||||
$model->schemeQueryResultDTO = schemeQueryResultDTO::fromMap($map['SchemeQueryResultDTO']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\DescribeVerifySchemeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class schemeQueryResultDTO extends Model
|
||||
{
|
||||
/**
|
||||
* @description The key generated when you create a service in the console.
|
||||
*
|
||||
* @example ZDMARqPkyQzWVJjB/sB/+fCp5TA4lNsRnY7rEC+HfGsOIOk1Brj8UyXFW2RBYIWqLieCSo8ZypEaEj+h9rLd3FgpXAjGYDfmOperod6jPUUwFHhBObxK+HuKVoi2jOqN7aDOlyPyGcATyq3BDdlf922JmnFLT8Hvnu4qgzzCZk0LXWTb0XVPnm5/fHUGHEA2Q+aTrGkaWcHjmTDqQ7BtvrAIIcJJkCJu4i1aeU++/0EzGWap4mcb2VhKROBs****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appEncryptInfo;
|
||||
protected $_name = [
|
||||
'appEncryptInfo' => 'AppEncryptInfo',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->appEncryptInfo) {
|
||||
$res['AppEncryptInfo'] = $this->appEncryptInfo;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return schemeQueryResultDTO
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AppEncryptInfo'])) {
|
||||
$model->appEncryptInfo = $map['AppEncryptInfo'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
177
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenRequest.php
vendored
Normal file
177
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenRequest.php
vendored
Normal file
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthTokenRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $bizType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cmApiCode;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ctApiCode;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $cuApiCode;
|
||||
|
||||
/**
|
||||
* @description The requested domain name.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example https://www.aliyundoc.com
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $origin;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $sceneCode;
|
||||
|
||||
/**
|
||||
* @description The URL of the requested web page.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example https://www.aliyundoc.com/
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $version;
|
||||
protected $_name = [
|
||||
'bizType' => 'BizType',
|
||||
'cmApiCode' => 'CmApiCode',
|
||||
'ctApiCode' => 'CtApiCode',
|
||||
'cuApiCode' => 'CuApiCode',
|
||||
'origin' => 'Origin',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sceneCode' => 'SceneCode',
|
||||
'url' => 'Url',
|
||||
'version' => 'Version',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizType) {
|
||||
$res['BizType'] = $this->bizType;
|
||||
}
|
||||
if (null !== $this->cmApiCode) {
|
||||
$res['CmApiCode'] = $this->cmApiCode;
|
||||
}
|
||||
if (null !== $this->ctApiCode) {
|
||||
$res['CtApiCode'] = $this->ctApiCode;
|
||||
}
|
||||
if (null !== $this->cuApiCode) {
|
||||
$res['CuApiCode'] = $this->cuApiCode;
|
||||
}
|
||||
if (null !== $this->origin) {
|
||||
$res['Origin'] = $this->origin;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sceneCode) {
|
||||
$res['SceneCode'] = $this->sceneCode;
|
||||
}
|
||||
if (null !== $this->url) {
|
||||
$res['Url'] = $this->url;
|
||||
}
|
||||
if (null !== $this->version) {
|
||||
$res['Version'] = $this->version;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthTokenRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizType'])) {
|
||||
$model->bizType = $map['BizType'];
|
||||
}
|
||||
if (isset($map['CmApiCode'])) {
|
||||
$model->cmApiCode = $map['CmApiCode'];
|
||||
}
|
||||
if (isset($map['CtApiCode'])) {
|
||||
$model->ctApiCode = $map['CtApiCode'];
|
||||
}
|
||||
if (isset($map['CuApiCode'])) {
|
||||
$model->cuApiCode = $map['CuApiCode'];
|
||||
}
|
||||
if (isset($map['Origin'])) {
|
||||
$model->origin = $map['Origin'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SceneCode'])) {
|
||||
$model->sceneCode = $map['SceneCode'];
|
||||
}
|
||||
if (isset($map['Url'])) {
|
||||
$model->url = $map['Url'];
|
||||
}
|
||||
if (isset($map['Version'])) {
|
||||
$model->version = $map['Version'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthTokenResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetAuthTokenResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthTokenResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetAuthTokenResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetAuthTokenResponseBody\tokenInfo;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthTokenResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var tokenInfo
|
||||
*/
|
||||
public $tokenInfo;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
'tokenInfo' => 'TokenInfo',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->tokenInfo) {
|
||||
$res['TokenInfo'] = null !== $this->tokenInfo ? $this->tokenInfo->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthTokenResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['TokenInfo'])) {
|
||||
$model->tokenInfo = tokenInfo::fromMap($map['TokenInfo']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
69
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponseBody/tokenInfo.php
vendored
Normal file
69
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthTokenResponseBody/tokenInfo.php
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetAuthTokenResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class tokenInfo extends Model
|
||||
{
|
||||
/**
|
||||
* @description The business authentication token.
|
||||
*
|
||||
* > AccessToken is valid for 10 minutes and can be used repeatedly within its validity period.
|
||||
* @example agag****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessToken;
|
||||
|
||||
/**
|
||||
* @description The API authentication token.
|
||||
*
|
||||
* > JwtToken is valid for 1 hour and can be used repeatedly within its validity period.
|
||||
* @example aweghd****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $jwtToken;
|
||||
protected $_name = [
|
||||
'accessToken' => 'AccessToken',
|
||||
'jwtToken' => 'JwtToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessToken) {
|
||||
$res['AccessToken'] = $this->accessToken;
|
||||
}
|
||||
if (null !== $this->jwtToken) {
|
||||
$res['JwtToken'] = $this->jwtToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return tokenInfo
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessToken'])) {
|
||||
$model->accessToken = $map['AccessToken'];
|
||||
}
|
||||
if (isset($map['JwtToken'])) {
|
||||
$model->jwtToken = $map['JwtToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
121
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlRequest.php
vendored
Normal file
121
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlRequest.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthorizationUrlRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The authorization end date, which is in the yyyy-MM-dd format. This parameter is required for services of contract type.
|
||||
*
|
||||
* @example 2020–12–28
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1390000****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNo;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The ID of the authorization scenario. You can view the ID of the authorization scenario on the **Authorization Scenario Management** page in the **Phone Number Verification Service console**.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 234****
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $schemeId;
|
||||
protected $_name = [
|
||||
'endDate' => 'EndDate',
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNo' => 'PhoneNo',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeId' => 'SchemeId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->endDate) {
|
||||
$res['EndDate'] = $this->endDate;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNo) {
|
||||
$res['PhoneNo'] = $this->phoneNo;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeId) {
|
||||
$res['SchemeId'] = $this->schemeId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthorizationUrlRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['EndDate'])) {
|
||||
$model->endDate = $map['EndDate'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNo'])) {
|
||||
$model->phoneNo = $map['PhoneNo'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeId'])) {
|
||||
$model->schemeId = $map['SchemeId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthorizationUrlResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetAuthorizationUrlResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthorizationUrlResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetAuthorizationUrlResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetAuthorizationUrlResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetAuthorizationUrlResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetAuthorizationUrlResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponseBody/data.php
vendored
Normal file
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetAuthorizationUrlResponseBody/data.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetAuthorizationUrlResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @description The authorization URL.
|
||||
*
|
||||
* @example https://render.****.com/p/s/web-call-minapp/auth-bao?page=commauth/index&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJiaXpUeXBlIjoiQ29tbUF1dGgiLCJiaXpJZCI6IjVmNWZjNjAzZDQzMTQ0MWZiYTZiNjYzM2QyMjIyNzU0IiwiZXhwIjoxNjA4MTkxODQxfQ.5IvBj2nKgr60APtotaIB13vtPVrdsPQ6avIfWxte1pA&_env=prod
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $authorizationUrl;
|
||||
protected $_name = [
|
||||
'authorizationUrl' => 'AuthorizationUrl',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->authorizationUrl) {
|
||||
$res['AuthorizationUrl'] = $this->authorizationUrl;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AuthorizationUrl'])) {
|
||||
$model->authorizationUrl = $map['AuthorizationUrl'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
170
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenRequest.php
vendored
Normal file
170
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenRequest.php
vendored
Normal file
@@ -0,0 +1,170 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetFusionAuthTokenRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The bundle ID of the app. This parameter is required when Platform is set to iOS.
|
||||
*
|
||||
* @example com.example.test
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bundleId;
|
||||
|
||||
/**
|
||||
* @description The validity period of the token. Unit: seconds. Valid values: 900 to 43200.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 900
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $durationSeconds;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The package name of the app. This parameter is required when Platform is set to Android.
|
||||
*
|
||||
* @example com.example.test
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $packageName;
|
||||
|
||||
/**
|
||||
* @description The package signature of the app. This parameter is required when Platform is set to Android.
|
||||
*
|
||||
* @example 47fcc************************278
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $packageSign;
|
||||
|
||||
/**
|
||||
* @description The platform type. Valid values: Android and iOS.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Android
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $platform;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example FA1000*************201
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'bundleId' => 'BundleId',
|
||||
'durationSeconds' => 'DurationSeconds',
|
||||
'ownerId' => 'OwnerId',
|
||||
'packageName' => 'PackageName',
|
||||
'packageSign' => 'PackageSign',
|
||||
'platform' => 'Platform',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bundleId) {
|
||||
$res['BundleId'] = $this->bundleId;
|
||||
}
|
||||
if (null !== $this->durationSeconds) {
|
||||
$res['DurationSeconds'] = $this->durationSeconds;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->packageName) {
|
||||
$res['PackageName'] = $this->packageName;
|
||||
}
|
||||
if (null !== $this->packageSign) {
|
||||
$res['PackageSign'] = $this->packageSign;
|
||||
}
|
||||
if (null !== $this->platform) {
|
||||
$res['Platform'] = $this->platform;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetFusionAuthTokenRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BundleId'])) {
|
||||
$model->bundleId = $map['BundleId'];
|
||||
}
|
||||
if (isset($map['DurationSeconds'])) {
|
||||
$model->durationSeconds = $map['DurationSeconds'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PackageName'])) {
|
||||
$model->packageName = $map['PackageName'];
|
||||
}
|
||||
if (isset($map['PackageSign'])) {
|
||||
$model->packageSign = $map['PackageSign'];
|
||||
}
|
||||
if (isset($map['Platform'])) {
|
||||
$model->platform = $map['Platform'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetFusionAuthTokenResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetFusionAuthTokenResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetFusionAuthTokenResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetFusionAuthTokenResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
115
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenResponseBody.php
vendored
Normal file
115
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetFusionAuthTokenResponseBody.php
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetFusionAuthTokenResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code. If OK is returned, the request is successful. Other values indicate that the request failed. For more information, see Error codes.
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The authentication code. The value of this parameter is a string.
|
||||
*
|
||||
* @example FKcksloqk***********jalEc+
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description The request ID, which is used to locate and troubleshoot issues.
|
||||
*
|
||||
* @example CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values: true false
|
||||
*
|
||||
* @example false
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'requestId' => 'RequestId',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = $this->model;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetFusionAuthTokenResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
$model->model = $map['Model'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileRequest.php
vendored
Normal file
104
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileRequest.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMobileRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The logon token obtained by the SDK for your app.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Dfafdafad5422****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessToken;
|
||||
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 22345****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
protected $_name = [
|
||||
'accessToken' => 'AccessToken',
|
||||
'outId' => 'OutId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessToken) {
|
||||
$res['AccessToken'] = $this->accessToken;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetMobileRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessToken'])) {
|
||||
$model->accessToken = $map['AccessToken'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMobileResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetMobileResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetMobileResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetMobileResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetMobileResponseBody\getMobileResultDTO;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetMobileResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var getMobileResultDTO
|
||||
*/
|
||||
public $getMobileResultDTO;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'getMobileResultDTO' => 'GetMobileResultDTO',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->getMobileResultDTO) {
|
||||
$res['GetMobileResultDTO'] = null !== $this->getMobileResultDTO ? $this->getMobileResultDTO->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetMobileResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['GetMobileResultDTO'])) {
|
||||
$model->getMobileResultDTO = getMobileResultDTO::fromMap($map['GetMobileResultDTO']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponseBody/getMobileResultDTO.php
vendored
Normal file
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetMobileResponseBody/getMobileResultDTO.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetMobileResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class getMobileResultDTO extends Model
|
||||
{
|
||||
/**
|
||||
* @description The phone number,
|
||||
*
|
||||
* @example 13900001234
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
protected $_name = [
|
||||
'mobile' => 'Mobile',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->mobile) {
|
||||
$res['Mobile'] = $this->mobile;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return getMobileResultDTO
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Mobile'])) {
|
||||
$model->mobile = $map['Mobile'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
88
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenRequest.php
vendored
Normal file
88
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenRequest.php
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetPhoneWithTokenRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The token for phone number verification that is obtained by the JavaScript SDK. The validity period of the token is 10 minutes for China Telecom, 30 minutes for China Unicom, and 2 minutes for China Mobile. The token can be used only once.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Dfafdafad542****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $spToken;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'spToken' => 'SpToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->spToken) {
|
||||
$res['SpToken'] = $this->spToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetPhoneWithTokenRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SpToken'])) {
|
||||
$model->spToken = $map['SpToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetPhoneWithTokenResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetPhoneWithTokenResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetPhoneWithTokenResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetPhoneWithTokenResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetPhoneWithTokenResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetPhoneWithTokenResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 0F335F48-****-****-****-CA7914FE5D77
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetPhoneWithTokenResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponseBody/data.php
vendored
Normal file
51
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetPhoneWithTokenResponseBody/data.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetPhoneWithTokenResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* @example 13900001234
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $mobile;
|
||||
protected $_name = [
|
||||
'mobile' => 'Mobile',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->mobile) {
|
||||
$res['Mobile'] = $this->mobile;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Mobile'])) {
|
||||
$model->mobile = $map['Mobile'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
203
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensRequest.php
vendored
Normal file
203
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensRequest.php
vendored
Normal file
@@ -0,0 +1,203 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetSmsAuthTokensRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The ID of the iOS application. This parameter is required if OsType is set to **iOS**.
|
||||
*
|
||||
* @example 12345****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bundleId;
|
||||
|
||||
/**
|
||||
* @description The validity period of the token. Unit: seconds. Valid values: 900 to 43200.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 900
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $expire;
|
||||
|
||||
/**
|
||||
* @description The type of the operating system. Valid values: **Android** and **iOS**.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Android
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $osType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The package name. This parameter is required if OsType is set to **Android**.
|
||||
*
|
||||
* @example com.aliqin.mytel.test
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $packageName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example FC100000134840112
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneCode;
|
||||
|
||||
/**
|
||||
* @description The signature. This parameter is required if OsType is set to **Android**.
|
||||
*
|
||||
* @example 47fcc6615485e83b4100433****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @description The validity period of the SMS verification code. Unit: seconds. Default value: 180.
|
||||
*
|
||||
* @example 60
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $smsCodeExpire;
|
||||
|
||||
/**
|
||||
* @description The code of the text message template.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example SMS_13987****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $smsTemplateCode;
|
||||
protected $_name = [
|
||||
'bundleId' => 'BundleId',
|
||||
'expire' => 'Expire',
|
||||
'osType' => 'OsType',
|
||||
'ownerId' => 'OwnerId',
|
||||
'packageName' => 'PackageName',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sceneCode' => 'SceneCode',
|
||||
'signName' => 'SignName',
|
||||
'smsCodeExpire' => 'SmsCodeExpire',
|
||||
'smsTemplateCode' => 'SmsTemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bundleId) {
|
||||
$res['BundleId'] = $this->bundleId;
|
||||
}
|
||||
if (null !== $this->expire) {
|
||||
$res['Expire'] = $this->expire;
|
||||
}
|
||||
if (null !== $this->osType) {
|
||||
$res['OsType'] = $this->osType;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->packageName) {
|
||||
$res['PackageName'] = $this->packageName;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sceneCode) {
|
||||
$res['SceneCode'] = $this->sceneCode;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->smsCodeExpire) {
|
||||
$res['SmsCodeExpire'] = $this->smsCodeExpire;
|
||||
}
|
||||
if (null !== $this->smsTemplateCode) {
|
||||
$res['SmsTemplateCode'] = $this->smsTemplateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetSmsAuthTokensRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BundleId'])) {
|
||||
$model->bundleId = $map['BundleId'];
|
||||
}
|
||||
if (isset($map['Expire'])) {
|
||||
$model->expire = $map['Expire'];
|
||||
}
|
||||
if (isset($map['OsType'])) {
|
||||
$model->osType = $map['OsType'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PackageName'])) {
|
||||
$model->packageName = $map['PackageName'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SceneCode'])) {
|
||||
$model->sceneCode = $map['SceneCode'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SmsCodeExpire'])) {
|
||||
$model->smsCodeExpire = $map['SmsCodeExpire'];
|
||||
}
|
||||
if (isset($map['SmsTemplateCode'])) {
|
||||
$model->smsTemplateCode = $map['SmsTemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetSmsAuthTokensResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var GetSmsAuthTokensResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetSmsAuthTokensResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = GetSmsAuthTokensResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetSmsAuthTokensResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class GetSmsAuthTokensResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return GetSmsAuthTokensResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
115
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponseBody/data.php
vendored
Normal file
115
vendor/alibabacloud/dypnsapi-20170525/src/Models/GetSmsAuthTokensResponseBody/data.php
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\GetSmsAuthTokensResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @description The business token.
|
||||
*
|
||||
* @example FZSMeRbLCiapIBo65NXNHvGbkGDmhs23XWTZDOtZN0g5n/kqSc2FU27Gc9YhGb6dNn9/L9ZXSYiIB6C6LMLQJjyXjRzt5v6pzZXqnjO4cSuPWYUxJvdc8l8OpucEYe8Mx17HxsHDzj0VC4D5+atcrTpJE6jQ7e2QVNjZIPMwsfxELjQS7c****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bizToken;
|
||||
|
||||
/**
|
||||
* @description The time when the token expired. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
||||
*
|
||||
* @example 1631526326000
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $expireTime;
|
||||
|
||||
/**
|
||||
* @description The AccessKey ID.
|
||||
*
|
||||
* @example STS.NSqC****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $stsAccessKeyId;
|
||||
|
||||
/**
|
||||
* @description The AccessKey secret.
|
||||
*
|
||||
* @example VboZ4xbZ****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $stsAccessKeySecret;
|
||||
|
||||
/**
|
||||
* @description The security token.
|
||||
*
|
||||
* @example CAISiQJ1q6Ft5B2yfSjIr5DEDP/BurtW9PemMEfBrEpsOr5K17XjuDz2IHtLfXFsBusYt/U2nWpX5v4clrxIToR7SFbFY9pb6ZhazBisebDGv8HtR3TcFEjiSwapEBfe8JL4QYeQFaHwGJqEb1TDiVUAo9/TfimjWFqIKICAjYUdAP0cQgi/a0gtZr4UXHwAzvUXLnzML/2gHwf3i27LdipStxF7lHl05NbUoKTeyGKH3AGqlLVF9tite8f9NpczBvolDYfpht4RX7HazStd5yJN8KpLl6Fe8V/FxIrGXAAJv0rdbbOFq4Q1c18hOLJHAKtfsvXmlPNpsevfmpnsx****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $stsToken;
|
||||
protected $_name = [
|
||||
'bizToken' => 'BizToken',
|
||||
'expireTime' => 'ExpireTime',
|
||||
'stsAccessKeyId' => 'StsAccessKeyId',
|
||||
'stsAccessKeySecret' => 'StsAccessKeySecret',
|
||||
'stsToken' => 'StsToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizToken) {
|
||||
$res['BizToken'] = $this->bizToken;
|
||||
}
|
||||
if (null !== $this->expireTime) {
|
||||
$res['ExpireTime'] = $this->expireTime;
|
||||
}
|
||||
if (null !== $this->stsAccessKeyId) {
|
||||
$res['StsAccessKeyId'] = $this->stsAccessKeyId;
|
||||
}
|
||||
if (null !== $this->stsAccessKeySecret) {
|
||||
$res['StsAccessKeySecret'] = $this->stsAccessKeySecret;
|
||||
}
|
||||
if (null !== $this->stsToken) {
|
||||
$res['StsToken'] = $this->stsToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizToken'])) {
|
||||
$model->bizToken = $map['BizToken'];
|
||||
}
|
||||
if (isset($map['ExpireTime'])) {
|
||||
$model->expireTime = $map['ExpireTime'];
|
||||
}
|
||||
if (isset($map['StsAccessKeyId'])) {
|
||||
$model->stsAccessKeyId = $map['StsAccessKeyId'];
|
||||
}
|
||||
if (isset($map['StsAccessKeySecret'])) {
|
||||
$model->stsAccessKeySecret = $map['StsAccessKeySecret'];
|
||||
}
|
||||
if (isset($map['StsToken'])) {
|
||||
$model->stsToken = $map['StsToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
191
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeRequest.php
vendored
Normal file
191
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeRequest.php
vendored
Normal file
@@ -0,0 +1,191 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyCreateVerifySchemeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description This parameter is required.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $bundleId;
|
||||
|
||||
/**
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $cmApiCode;
|
||||
|
||||
/**
|
||||
* @example 3
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $ctApiCode;
|
||||
|
||||
/**
|
||||
* @example 2
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $cuApiCode;
|
||||
|
||||
/**
|
||||
* @description This parameter is required.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $osType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $packName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $packSign;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description This parameter is required.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeName;
|
||||
protected $_name = [
|
||||
'appName' => 'AppName',
|
||||
'bundleId' => 'BundleId',
|
||||
'cmApiCode' => 'CmApiCode',
|
||||
'ctApiCode' => 'CtApiCode',
|
||||
'cuApiCode' => 'CuApiCode',
|
||||
'osType' => 'OsType',
|
||||
'ownerId' => 'OwnerId',
|
||||
'packName' => 'PackName',
|
||||
'packSign' => 'PackSign',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'schemeName' => 'SchemeName',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->appName) {
|
||||
$res['AppName'] = $this->appName;
|
||||
}
|
||||
if (null !== $this->bundleId) {
|
||||
$res['BundleId'] = $this->bundleId;
|
||||
}
|
||||
if (null !== $this->cmApiCode) {
|
||||
$res['CmApiCode'] = $this->cmApiCode;
|
||||
}
|
||||
if (null !== $this->ctApiCode) {
|
||||
$res['CtApiCode'] = $this->ctApiCode;
|
||||
}
|
||||
if (null !== $this->cuApiCode) {
|
||||
$res['CuApiCode'] = $this->cuApiCode;
|
||||
}
|
||||
if (null !== $this->osType) {
|
||||
$res['OsType'] = $this->osType;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->packName) {
|
||||
$res['PackName'] = $this->packName;
|
||||
}
|
||||
if (null !== $this->packSign) {
|
||||
$res['PackSign'] = $this->packSign;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->schemeName) {
|
||||
$res['SchemeName'] = $this->schemeName;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyCreateVerifySchemeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AppName'])) {
|
||||
$model->appName = $map['AppName'];
|
||||
}
|
||||
if (isset($map['BundleId'])) {
|
||||
$model->bundleId = $map['BundleId'];
|
||||
}
|
||||
if (isset($map['CmApiCode'])) {
|
||||
$model->cmApiCode = $map['CmApiCode'];
|
||||
}
|
||||
if (isset($map['CtApiCode'])) {
|
||||
$model->ctApiCode = $map['CtApiCode'];
|
||||
}
|
||||
if (isset($map['CuApiCode'])) {
|
||||
$model->cuApiCode = $map['CuApiCode'];
|
||||
}
|
||||
if (isset($map['OsType'])) {
|
||||
$model->osType = $map['OsType'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PackName'])) {
|
||||
$model->packName = $map['PackName'];
|
||||
}
|
||||
if (isset($map['PackSign'])) {
|
||||
$model->packSign = $map['PackSign'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SchemeName'])) {
|
||||
$model->schemeName = $map['SchemeName'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyCreateVerifySchemeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var JyCreateVerifySchemeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyCreateVerifySchemeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = JyCreateVerifySchemeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeResponseBody.php
vendored
Normal file
84
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyCreateVerifySchemeResponseBody.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\JyCreateVerifySchemeResponseBody\gateVerifySchemeData;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyCreateVerifySchemeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var gateVerifySchemeData
|
||||
*/
|
||||
public $gateVerifySchemeData;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'gateVerifySchemeData' => 'GateVerifySchemeData',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->gateVerifySchemeData) {
|
||||
$res['GateVerifySchemeData'] = null !== $this->gateVerifySchemeData ? $this->gateVerifySchemeData->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyCreateVerifySchemeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['GateVerifySchemeData'])) {
|
||||
$model->gateVerifySchemeData = gateVerifySchemeData::fromMap($map['GateVerifySchemeData']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\JyCreateVerifySchemeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class gateVerifySchemeData extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $schemeCode;
|
||||
protected $_name = [
|
||||
'schemeCode' => 'SchemeCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->schemeCode) {
|
||||
$res['SchemeCode'] = $this->schemeCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return gateVerifySchemeData
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['SchemeCode'])) {
|
||||
$model->schemeCode = $map['SchemeCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
85
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeRequest.php
vendored
Normal file
85
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeRequest.php
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyQueryAppInfoBySceneCodeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description This parameter is required.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneCode;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sceneCode' => 'SceneCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sceneCode) {
|
||||
$res['SceneCode'] = $this->sceneCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyQueryAppInfoBySceneCodeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SceneCode'])) {
|
||||
$model->sceneCode = $map['SceneCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyQueryAppInfoBySceneCodeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var JyQueryAppInfoBySceneCodeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyQueryAppInfoBySceneCodeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = JyQueryAppInfoBySceneCodeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
84
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponseBody.php
vendored
Normal file
84
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponseBody.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\JyQueryAppInfoBySceneCodeResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class JyQueryAppInfoBySceneCodeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return JyQueryAppInfoBySceneCodeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
83
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponseBody/data.php
vendored
Normal file
83
vendor/alibabacloud/dypnsapi-20170525/src/Models/JyQueryAppInfoBySceneCodeResponseBody/data.php
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\JyQueryAppInfoBySceneCodeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cmAppId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cmAppKey;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ctAppId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ctAppKey;
|
||||
protected $_name = [
|
||||
'cmAppId' => 'CmAppId',
|
||||
'cmAppKey' => 'CmAppKey',
|
||||
'ctAppId' => 'CtAppId',
|
||||
'ctAppKey' => 'CtAppKey',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->cmAppId) {
|
||||
$res['CmAppId'] = $this->cmAppId;
|
||||
}
|
||||
if (null !== $this->cmAppKey) {
|
||||
$res['CmAppKey'] = $this->cmAppKey;
|
||||
}
|
||||
if (null !== $this->ctAppId) {
|
||||
$res['CtAppId'] = $this->ctAppId;
|
||||
}
|
||||
if (null !== $this->ctAppKey) {
|
||||
$res['CtAppKey'] = $this->ctAppKey;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CmAppId'])) {
|
||||
$model->cmAppId = $map['CmAppId'];
|
||||
}
|
||||
if (isset($map['CmAppKey'])) {
|
||||
$model->cmAppKey = $map['CmAppKey'];
|
||||
}
|
||||
if (isset($map['CtAppId'])) {
|
||||
$model->ctAppId = $map['CtAppId'];
|
||||
}
|
||||
if (isset($map['CtAppKey'])) {
|
||||
$model->ctAppKey = $map['CtAppKey'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
99
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicRequest.php
vendored
Normal file
99
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicRequest.php
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyBillingPublicRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The verification method. Valid values:
|
||||
*
|
||||
* **0**: phone number verification
|
||||
* **1**: one-click logon
|
||||
* **2**: all
|
||||
* **3**: facial recognition
|
||||
* **4**: SMS verification
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $authenticationType;
|
||||
|
||||
/**
|
||||
* @description The month in which the bill is generated. Specify this parameter in the YYYYMM format. Example: 202111.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 202111
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $month;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
protected $_name = [
|
||||
'authenticationType' => 'AuthenticationType',
|
||||
'month' => 'Month',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->authenticationType) {
|
||||
$res['AuthenticationType'] = $this->authenticationType;
|
||||
}
|
||||
if (null !== $this->month) {
|
||||
$res['Month'] = $this->month;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyBillingPublicRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AuthenticationType'])) {
|
||||
$model->authenticationType = $map['AuthenticationType'];
|
||||
}
|
||||
if (isset($map['Month'])) {
|
||||
$model->month = $map['Month'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyBillingPublicResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QueryGateVerifyBillingPublicResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyBillingPublicResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = QueryGateVerifyBillingPublicResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyBillingPublicResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyBillingPublicResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyBillingPublicResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code. Valid values:
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The billing information about each verification service.
|
||||
*
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example successful
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyBillingPublicResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyBillingPublicResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyBillingPublicResponseBody\data\sceneBillingList;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @description The fees generated for all verification services. Unitrogen: CNY.
|
||||
*
|
||||
* @example 1234
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $amountSum;
|
||||
|
||||
/**
|
||||
* @description The details of fees.
|
||||
*
|
||||
* @var sceneBillingList[]
|
||||
*/
|
||||
public $sceneBillingList;
|
||||
protected $_name = [
|
||||
'amountSum' => 'AmountSum',
|
||||
'sceneBillingList' => 'SceneBillingList',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->amountSum) {
|
||||
$res['AmountSum'] = $this->amountSum;
|
||||
}
|
||||
if (null !== $this->sceneBillingList) {
|
||||
$res['SceneBillingList'] = [];
|
||||
if (null !== $this->sceneBillingList && \is_array($this->sceneBillingList)) {
|
||||
$n = 0;
|
||||
foreach ($this->sceneBillingList as $item) {
|
||||
$res['SceneBillingList'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AmountSum'])) {
|
||||
$model->amountSum = $map['AmountSum'];
|
||||
}
|
||||
if (isset($map['SceneBillingList'])) {
|
||||
if (!empty($map['SceneBillingList'])) {
|
||||
$model->sceneBillingList = [];
|
||||
$n = 0;
|
||||
foreach ($map['SceneBillingList'] as $item) {
|
||||
$model->sceneBillingList[$n++] = null !== $item ? sceneBillingList::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyBillingPublicResponseBody\data;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class sceneBillingList extends Model
|
||||
{
|
||||
/**
|
||||
* @description The billable items.
|
||||
*
|
||||
* @example 74
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $add;
|
||||
|
||||
/**
|
||||
* @description The fees generated for the verification service. Unitrogen: CNY.
|
||||
*
|
||||
* @example 1.48
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $amount;
|
||||
|
||||
/**
|
||||
* @description The application name.
|
||||
*
|
||||
* @example Aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $appName;
|
||||
|
||||
/**
|
||||
* @description The verification method.
|
||||
*
|
||||
* @example Verification of local phone number
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $itemName;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* @example FC100000038194004
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneCode;
|
||||
|
||||
/**
|
||||
* @description The service name.
|
||||
*
|
||||
* @example Alibaba Cloud Communications
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneName;
|
||||
|
||||
/**
|
||||
* @description The unit price. Unit: CNY.
|
||||
*
|
||||
* @example 0.02
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $singlePrice;
|
||||
protected $_name = [
|
||||
'add' => 'Add',
|
||||
'amount' => 'Amount',
|
||||
'appName' => 'AppName',
|
||||
'itemName' => 'ItemName',
|
||||
'sceneCode' => 'SceneCode',
|
||||
'sceneName' => 'SceneName',
|
||||
'singlePrice' => 'SinglePrice',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->add) {
|
||||
$res['Add'] = $this->add;
|
||||
}
|
||||
if (null !== $this->amount) {
|
||||
$res['Amount'] = $this->amount;
|
||||
}
|
||||
if (null !== $this->appName) {
|
||||
$res['AppName'] = $this->appName;
|
||||
}
|
||||
if (null !== $this->itemName) {
|
||||
$res['ItemName'] = $this->itemName;
|
||||
}
|
||||
if (null !== $this->sceneCode) {
|
||||
$res['SceneCode'] = $this->sceneCode;
|
||||
}
|
||||
if (null !== $this->sceneName) {
|
||||
$res['SceneName'] = $this->sceneName;
|
||||
}
|
||||
if (null !== $this->singlePrice) {
|
||||
$res['SinglePrice'] = $this->singlePrice;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return sceneBillingList
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Add'])) {
|
||||
$model->add = $map['Add'];
|
||||
}
|
||||
if (isset($map['Amount'])) {
|
||||
$model->amount = $map['Amount'];
|
||||
}
|
||||
if (isset($map['AppName'])) {
|
||||
$model->appName = $map['AppName'];
|
||||
}
|
||||
if (isset($map['ItemName'])) {
|
||||
$model->itemName = $map['ItemName'];
|
||||
}
|
||||
if (isset($map['SceneCode'])) {
|
||||
$model->sceneCode = $map['SceneCode'];
|
||||
}
|
||||
if (isset($map['SceneName'])) {
|
||||
$model->sceneName = $map['SceneName'];
|
||||
}
|
||||
if (isset($map['SinglePrice'])) {
|
||||
$model->singlePrice = $map['SinglePrice'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
150
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicRequest.php
vendored
Normal file
150
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicRequest.php
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyStatisticPublicRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The verification method. Valid values:
|
||||
*
|
||||
* **1**: one-click logon
|
||||
* **2**: phone number verification, including the verification of the phone number used in HTML5 pages
|
||||
* **3**: SMS verification
|
||||
* **4**: facial recognition
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $authenticationType;
|
||||
|
||||
/**
|
||||
* @description The end date. Specify this parameter in the YYYYMMDD format. Example: 20220106.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 20220106
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $endDate;
|
||||
|
||||
/**
|
||||
* @description The type of the operating system. Valid values:
|
||||
*
|
||||
* **Android**
|
||||
* **iOS**
|
||||
*
|
||||
* @example Android
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $osType;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @description The service code.
|
||||
*
|
||||
* @example FC100000038194004
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sceneCode;
|
||||
|
||||
/**
|
||||
* @description The start date. Specify this parameter in the YYYYMMDD format. Example: 20220101.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 20220101
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $startDate;
|
||||
protected $_name = [
|
||||
'authenticationType' => 'AuthenticationType',
|
||||
'endDate' => 'EndDate',
|
||||
'osType' => 'OsType',
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'sceneCode' => 'SceneCode',
|
||||
'startDate' => 'StartDate',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->authenticationType) {
|
||||
$res['AuthenticationType'] = $this->authenticationType;
|
||||
}
|
||||
if (null !== $this->endDate) {
|
||||
$res['EndDate'] = $this->endDate;
|
||||
}
|
||||
if (null !== $this->osType) {
|
||||
$res['OsType'] = $this->osType;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->sceneCode) {
|
||||
$res['SceneCode'] = $this->sceneCode;
|
||||
}
|
||||
if (null !== $this->startDate) {
|
||||
$res['StartDate'] = $this->startDate;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyStatisticPublicRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AuthenticationType'])) {
|
||||
$model->authenticationType = $map['AuthenticationType'];
|
||||
}
|
||||
if (isset($map['EndDate'])) {
|
||||
$model->endDate = $map['EndDate'];
|
||||
}
|
||||
if (isset($map['OsType'])) {
|
||||
$model->osType = $map['OsType'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['SceneCode'])) {
|
||||
$model->sceneCode = $map['SceneCode'];
|
||||
}
|
||||
if (isset($map['StartDate'])) {
|
||||
$model->startDate = $map['StartDate'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyStatisticPublicResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QueryGateVerifyStatisticPublicResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyStatisticPublicResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = QueryGateVerifyStatisticPublicResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyStatisticPublicResponseBody\data;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QueryGateVerifyStatisticPublicResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code. Valid values:
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The information about the calls of Phone Number Verification Service, including the total calls, the successful calls, failed calls, unknown calls, and daily calls within the statistical date range.
|
||||
*
|
||||
* @var data
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example successful
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = null !== $this->data ? $this->data->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QueryGateVerifyStatisticPublicResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = data::fromMap($map['Data']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
126
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponseBody/data.php
vendored
Normal file
126
vendor/alibabacloud/dypnsapi-20170525/src/Models/QueryGateVerifyStatisticPublicResponseBody/data.php
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyStatisticPublicResponseBody;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyStatisticPublicResponseBody\data\dayStatistic;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class data extends Model
|
||||
{
|
||||
/**
|
||||
* @description The information about the daily calls.
|
||||
*
|
||||
* @var dayStatistic[]
|
||||
*/
|
||||
public $dayStatistic;
|
||||
|
||||
/**
|
||||
* @description The total calls.
|
||||
*
|
||||
* @example 20
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $total;
|
||||
|
||||
/**
|
||||
* @description The failed calls.
|
||||
*
|
||||
* @example 20
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalFail;
|
||||
|
||||
/**
|
||||
* @description The successful calls.
|
||||
*
|
||||
* @example 0
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalSuccess;
|
||||
|
||||
/**
|
||||
* @description The unknown calls.
|
||||
*
|
||||
* @example 0
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalUnknown;
|
||||
protected $_name = [
|
||||
'dayStatistic' => 'DayStatistic',
|
||||
'total' => 'Total',
|
||||
'totalFail' => 'TotalFail',
|
||||
'totalSuccess' => 'TotalSuccess',
|
||||
'totalUnknown' => 'TotalUnknown',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->dayStatistic) {
|
||||
$res['DayStatistic'] = [];
|
||||
if (null !== $this->dayStatistic && \is_array($this->dayStatistic)) {
|
||||
$n = 0;
|
||||
foreach ($this->dayStatistic as $item) {
|
||||
$res['DayStatistic'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->total) {
|
||||
$res['Total'] = $this->total;
|
||||
}
|
||||
if (null !== $this->totalFail) {
|
||||
$res['TotalFail'] = $this->totalFail;
|
||||
}
|
||||
if (null !== $this->totalSuccess) {
|
||||
$res['TotalSuccess'] = $this->totalSuccess;
|
||||
}
|
||||
if (null !== $this->totalUnknown) {
|
||||
$res['TotalUnknown'] = $this->totalUnknown;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return data
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['DayStatistic'])) {
|
||||
if (!empty($map['DayStatistic'])) {
|
||||
$model->dayStatistic = [];
|
||||
$n = 0;
|
||||
foreach ($map['DayStatistic'] as $item) {
|
||||
$model->dayStatistic[$n++] = null !== $item ? dayStatistic::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['Total'])) {
|
||||
$model->total = $map['Total'];
|
||||
}
|
||||
if (isset($map['TotalFail'])) {
|
||||
$model->totalFail = $map['TotalFail'];
|
||||
}
|
||||
if (isset($map['TotalSuccess'])) {
|
||||
$model->totalSuccess = $map['TotalSuccess'];
|
||||
}
|
||||
if (isset($map['TotalUnknown'])) {
|
||||
$model->totalUnknown = $map['TotalUnknown'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QueryGateVerifyStatisticPublicResponseBody\data;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class dayStatistic extends Model
|
||||
{
|
||||
/**
|
||||
* @description The date. This field is accurate to the day. The value of this field is in the YYYYMMDD format. Example: 20220103.
|
||||
*
|
||||
* @example 20220103
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $statisticDateStr;
|
||||
|
||||
/**
|
||||
* @description The failed calls on the day.
|
||||
*
|
||||
* @example 20
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalFail;
|
||||
|
||||
/**
|
||||
* @description The successful calls on the day.
|
||||
*
|
||||
* @example 0
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalSuccess;
|
||||
|
||||
/**
|
||||
* @description The unknown calls on the day.
|
||||
*
|
||||
* @example 0
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalUnknown;
|
||||
protected $_name = [
|
||||
'statisticDateStr' => 'StatisticDateStr',
|
||||
'totalFail' => 'TotalFail',
|
||||
'totalSuccess' => 'TotalSuccess',
|
||||
'totalUnknown' => 'TotalUnknown',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->statisticDateStr) {
|
||||
$res['StatisticDateStr'] = $this->statisticDateStr;
|
||||
}
|
||||
if (null !== $this->totalFail) {
|
||||
$res['TotalFail'] = $this->totalFail;
|
||||
}
|
||||
if (null !== $this->totalSuccess) {
|
||||
$res['TotalSuccess'] = $this->totalSuccess;
|
||||
}
|
||||
if (null !== $this->totalUnknown) {
|
||||
$res['TotalUnknown'] = $this->totalUnknown;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return dayStatistic
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['StatisticDateStr'])) {
|
||||
$model->statisticDateStr = $map['StatisticDateStr'];
|
||||
}
|
||||
if (isset($map['TotalFail'])) {
|
||||
$model->totalFail = $map['TotalFail'];
|
||||
}
|
||||
if (isset($map['TotalSuccess'])) {
|
||||
$model->totalSuccess = $map['TotalSuccess'];
|
||||
}
|
||||
if (isset($map['TotalUnknown'])) {
|
||||
$model->totalUnknown = $map['TotalUnknown'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
155
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsRequest.php
vendored
Normal file
155
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsRequest.php
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The unique ID of the business, which is provided by Alibaba Cloud.
|
||||
*
|
||||
* @example 1231891289318923^12
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bizId;
|
||||
|
||||
/**
|
||||
* @description The number of the page on which you are reading the text message. Pages start from page 1. The value of this parameter cannot exceed the maximum page number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $currentPage;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The number of entries per page.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 50
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $pageSize;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 186****9399
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The date when the text message was sent. You can query text messages that were sent within the last 30 days.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 20181225
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sendDate;
|
||||
protected $_name = [
|
||||
'bizId' => 'BizId',
|
||||
'currentPage' => 'CurrentPage',
|
||||
'ownerId' => 'OwnerId',
|
||||
'pageSize' => 'PageSize',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'sendDate' => 'SendDate',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizId) {
|
||||
$res['BizId'] = $this->bizId;
|
||||
}
|
||||
if (null !== $this->currentPage) {
|
||||
$res['CurrentPage'] = $this->currentPage;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->pageSize) {
|
||||
$res['PageSize'] = $this->pageSize;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->sendDate) {
|
||||
$res['SendDate'] = $this->sendDate;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendDetailsRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizId'])) {
|
||||
$model->bizId = $map['BizId'];
|
||||
}
|
||||
if (isset($map['CurrentPage'])) {
|
||||
$model->currentPage = $map['CurrentPage'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PageSize'])) {
|
||||
$model->pageSize = $map['PageSize'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SendDate'])) {
|
||||
$model->sendDate = $map['SendDate'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var QuerySendDetailsResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendDetailsResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = QuerySendDetailsResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
146
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponseBody.php
vendored
Normal file
146
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponseBody.php
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QuerySendDetailsResponseBody\model_;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class QuerySendDetailsResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The details about the access denial.
|
||||
*
|
||||
* @example none
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessDeniedDetail;
|
||||
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful. Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html?spm=a2c4g.419277.0.i11).
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The returned data.
|
||||
*
|
||||
* @var model_[]
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* true
|
||||
* false
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @description The total number of entries in the list.
|
||||
*
|
||||
* @example 42
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $totalCount;
|
||||
protected $_name = [
|
||||
'accessDeniedDetail' => 'AccessDeniedDetail',
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'success' => 'Success',
|
||||
'totalCount' => 'TotalCount',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessDeniedDetail) {
|
||||
$res['AccessDeniedDetail'] = $this->accessDeniedDetail;
|
||||
}
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = [];
|
||||
if (null !== $this->model && \is_array($this->model)) {
|
||||
$n = 0;
|
||||
foreach ($this->model as $item) {
|
||||
$res['Model'][$n++] = null !== $item ? $item->toMap() : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
if (null !== $this->totalCount) {
|
||||
$res['TotalCount'] = $this->totalCount;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return QuerySendDetailsResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessDeniedDetail'])) {
|
||||
$model->accessDeniedDetail = $map['AccessDeniedDetail'];
|
||||
}
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
if (!empty($map['Model'])) {
|
||||
$model->model = [];
|
||||
$n = 0;
|
||||
foreach ($map['Model'] as $item) {
|
||||
$model->model[$n++] = null !== $item ? model_::fromMap($item) : $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
if (isset($map['TotalCount'])) {
|
||||
$model->totalCount = $map['TotalCount'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
174
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponseBody/model_.php
vendored
Normal file
174
vendor/alibabacloud/dypnsapi-20170525/src/Models/QuerySendDetailsResponseBody/model_.php
vendored
Normal file
@@ -0,0 +1,174 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\QuerySendDetailsResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class model_ extends Model
|
||||
{
|
||||
/**
|
||||
* @description The content of the text message.
|
||||
*
|
||||
* @example 203160
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $content;
|
||||
|
||||
/**
|
||||
* @description The status code returned by the carrier.
|
||||
*
|
||||
* If the text message was delivered, "DELIVERED" is returned.
|
||||
* If the text message failed to be sent, see [Error codes](https://help.aliyun.com/document_detail/101347.html?spm=a2c4g.419277.0.i8) for more information.
|
||||
*
|
||||
* @example DELIVERED
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $errCode;
|
||||
|
||||
/**
|
||||
* @description The extension field.
|
||||
*
|
||||
* @example 12131231
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* @example 1390000****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNum;
|
||||
|
||||
/**
|
||||
* @description The date and time when the text message was received.
|
||||
*
|
||||
* @example 2019-01-08 16:44:13
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $receiveDate;
|
||||
|
||||
/**
|
||||
* @description The date when the text message was sent. You can query text messages that were sent within the last 30 days.
|
||||
*
|
||||
* The date is in the yyyyMMdd format. Example: 20181225.
|
||||
* @example 2019-01-08 16:44:13
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $sendDate;
|
||||
|
||||
/**
|
||||
* @description The delivery status of the text message.
|
||||
*
|
||||
* 1: A delivery receipt is to be sent.
|
||||
* 2: The text message failed to be sent.
|
||||
* 3: The text message was sent.
|
||||
*
|
||||
* @example 3
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $sendStatus;
|
||||
|
||||
/**
|
||||
* @description The code of the text message template.
|
||||
*
|
||||
* Log on to the SMS console. In the left-side navigation pane, click **Go China** or **Go Globe**. You can view the text message template code in the **Template Code** column on the **Message Templates** tab.
|
||||
*
|
||||
* > The text message templates must be created on the Go Globe page and approved.
|
||||
* @example SMS_12231****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
protected $_name = [
|
||||
'content' => 'Content',
|
||||
'errCode' => 'ErrCode',
|
||||
'outId' => 'OutId',
|
||||
'phoneNum' => 'PhoneNum',
|
||||
'receiveDate' => 'ReceiveDate',
|
||||
'sendDate' => 'SendDate',
|
||||
'sendStatus' => 'SendStatus',
|
||||
'templateCode' => 'TemplateCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->content) {
|
||||
$res['Content'] = $this->content;
|
||||
}
|
||||
if (null !== $this->errCode) {
|
||||
$res['ErrCode'] = $this->errCode;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->phoneNum) {
|
||||
$res['PhoneNum'] = $this->phoneNum;
|
||||
}
|
||||
if (null !== $this->receiveDate) {
|
||||
$res['ReceiveDate'] = $this->receiveDate;
|
||||
}
|
||||
if (null !== $this->sendDate) {
|
||||
$res['SendDate'] = $this->sendDate;
|
||||
}
|
||||
if (null !== $this->sendStatus) {
|
||||
$res['SendStatus'] = $this->sendStatus;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return model_
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Content'])) {
|
||||
$model->content = $map['Content'];
|
||||
}
|
||||
if (isset($map['ErrCode'])) {
|
||||
$model->errCode = $map['ErrCode'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['PhoneNum'])) {
|
||||
$model->phoneNum = $map['PhoneNum'];
|
||||
}
|
||||
if (isset($map['ReceiveDate'])) {
|
||||
$model->receiveDate = $map['ReceiveDate'];
|
||||
}
|
||||
if (isset($map['SendDate'])) {
|
||||
$model->sendDate = $map['SendDate'];
|
||||
}
|
||||
if (isset($map['SendStatus'])) {
|
||||
$model->sendStatus = $map['SendStatus'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
322
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeRequest.php
vendored
Normal file
322
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeRequest.php
vendored
Normal file
@@ -0,0 +1,322 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendSmsVerifyCodeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The length of the verification code. Default value: 4. Valid values: 4 to 8.
|
||||
*
|
||||
* @example 4
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $codeLength;
|
||||
|
||||
/**
|
||||
* @description The type of the generated verification code. Default value: 1. Valid values:
|
||||
*
|
||||
* 1: digits only
|
||||
* 2: uppercase letters only
|
||||
* 3: lowercase letters only
|
||||
* 4: uppercase and lowercase letters
|
||||
* 5: digits and uppercase letters
|
||||
* 6: digits and lowercase letters
|
||||
* 7: digits and uppercase and lowercase letters
|
||||
*
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $codeType;
|
||||
|
||||
/**
|
||||
* @description The country code of the phone number. SMS verification codes can be sent only by using phone numbers in the Chinese mainland. Default value: 86.
|
||||
*
|
||||
* @example 86
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $countryCode;
|
||||
|
||||
/**
|
||||
* @description Specifies how to handle the verification codes received earlier in a case where verification codes are sent to the same phone number for the same scenario within the validity period.
|
||||
*
|
||||
* 1 (default): The latest verification code overwrites the verification codes received earlier. In this case, verification codes received earlier expire.
|
||||
* 2: Verification codes within their validity period are valid and can be used for verification.
|
||||
*
|
||||
* @example 1
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $duplicatePolicy;
|
||||
|
||||
/**
|
||||
* @description The time interval. Unit: seconds. Default value: 60. This parameter specifies how often you can send a verification code.
|
||||
*
|
||||
* @example 60
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $interval;
|
||||
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 12358794Aqzaq
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 86130****0000
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description Specifies whether to return a verification code.
|
||||
*
|
||||
* **true**
|
||||
* **false**
|
||||
*
|
||||
* @example false
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $returnVerifyCode;
|
||||
|
||||
/**
|
||||
* @description The verification service name. If this parameter is not specified, the default service is used. The name can be up to 20 characters in length.
|
||||
*
|
||||
* @example Aliyun
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $schemeName;
|
||||
|
||||
/**
|
||||
* @description The signature.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Aliyun Test
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $signName;
|
||||
|
||||
/**
|
||||
* @description The extension code of the upstream text message. Upstream text messages are text messages sent to the communication service provider. Upstream text messages are used to customize a service, complete an inquiry, or send a request. You are charged for sending upstream text messages based on the billing standards of the service provider.
|
||||
*
|
||||
* > The extension code is automatically generated by the system when the signature is generated. You do not need to specify the extension code. You can skip this parameter based on your business requirements. If you want to use custom extension codes, contact your account manager.
|
||||
* @example 1213123
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $smsUpExtendCode;
|
||||
|
||||
/**
|
||||
* @description The code of the text message template.
|
||||
*
|
||||
* Log on to the [SMS console](https://dysms.console.aliyun.com/dysms.htm?spm=5176.12818093.categories-n-products.ddysms.3b2816d0xml2NA#/overview). In the left-side navigation pane, click **Go China** or **Go Globe**. You can view the text message template code in the **Template Code** column on the **Message Templates** tab.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example azsq_*****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateCode;
|
||||
|
||||
/**
|
||||
* @description The value of the variable in the text message template. The verification code is replaced with "##code##".
|
||||
*
|
||||
* >
|
||||
*
|
||||
* If line breaks are required in JSON-formatted data, they must meet the relevant requirements that are specified in the standard JSON protocol.
|
||||
*
|
||||
* For more information about template variables, see [SMS template specifications](https://help.aliyun.com/document_detail/108253.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example {"code":"##code##"}
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateParam;
|
||||
|
||||
/**
|
||||
* @description The validity period of the verification code. Unit: seconds. Default value: 300.
|
||||
*
|
||||
* @example 300
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $validTime;
|
||||
protected $_name = [
|
||||
'codeLength' => 'CodeLength',
|
||||
'codeType' => 'CodeType',
|
||||
'countryCode' => 'CountryCode',
|
||||
'duplicatePolicy' => 'DuplicatePolicy',
|
||||
'interval' => 'Interval',
|
||||
'outId' => 'OutId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'returnVerifyCode' => 'ReturnVerifyCode',
|
||||
'schemeName' => 'SchemeName',
|
||||
'signName' => 'SignName',
|
||||
'smsUpExtendCode' => 'SmsUpExtendCode',
|
||||
'templateCode' => 'TemplateCode',
|
||||
'templateParam' => 'TemplateParam',
|
||||
'validTime' => 'ValidTime',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->codeLength) {
|
||||
$res['CodeLength'] = $this->codeLength;
|
||||
}
|
||||
if (null !== $this->codeType) {
|
||||
$res['CodeType'] = $this->codeType;
|
||||
}
|
||||
if (null !== $this->countryCode) {
|
||||
$res['CountryCode'] = $this->countryCode;
|
||||
}
|
||||
if (null !== $this->duplicatePolicy) {
|
||||
$res['DuplicatePolicy'] = $this->duplicatePolicy;
|
||||
}
|
||||
if (null !== $this->interval) {
|
||||
$res['Interval'] = $this->interval;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->returnVerifyCode) {
|
||||
$res['ReturnVerifyCode'] = $this->returnVerifyCode;
|
||||
}
|
||||
if (null !== $this->schemeName) {
|
||||
$res['SchemeName'] = $this->schemeName;
|
||||
}
|
||||
if (null !== $this->signName) {
|
||||
$res['SignName'] = $this->signName;
|
||||
}
|
||||
if (null !== $this->smsUpExtendCode) {
|
||||
$res['SmsUpExtendCode'] = $this->smsUpExtendCode;
|
||||
}
|
||||
if (null !== $this->templateCode) {
|
||||
$res['TemplateCode'] = $this->templateCode;
|
||||
}
|
||||
if (null !== $this->templateParam) {
|
||||
$res['TemplateParam'] = $this->templateParam;
|
||||
}
|
||||
if (null !== $this->validTime) {
|
||||
$res['ValidTime'] = $this->validTime;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendSmsVerifyCodeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['CodeLength'])) {
|
||||
$model->codeLength = $map['CodeLength'];
|
||||
}
|
||||
if (isset($map['CodeType'])) {
|
||||
$model->codeType = $map['CodeType'];
|
||||
}
|
||||
if (isset($map['CountryCode'])) {
|
||||
$model->countryCode = $map['CountryCode'];
|
||||
}
|
||||
if (isset($map['DuplicatePolicy'])) {
|
||||
$model->duplicatePolicy = $map['DuplicatePolicy'];
|
||||
}
|
||||
if (isset($map['Interval'])) {
|
||||
$model->interval = $map['Interval'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['ReturnVerifyCode'])) {
|
||||
$model->returnVerifyCode = $map['ReturnVerifyCode'];
|
||||
}
|
||||
if (isset($map['SchemeName'])) {
|
||||
$model->schemeName = $map['SchemeName'];
|
||||
}
|
||||
if (isset($map['SignName'])) {
|
||||
$model->signName = $map['SignName'];
|
||||
}
|
||||
if (isset($map['SmsUpExtendCode'])) {
|
||||
$model->smsUpExtendCode = $map['SmsUpExtendCode'];
|
||||
}
|
||||
if (isset($map['TemplateCode'])) {
|
||||
$model->templateCode = $map['TemplateCode'];
|
||||
}
|
||||
if (isset($map['TemplateParam'])) {
|
||||
$model->templateParam = $map['TemplateParam'];
|
||||
}
|
||||
if (isset($map['ValidTime'])) {
|
||||
$model->validTime = $map['ValidTime'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendSmsVerifyCodeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var SendSmsVerifyCodeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendSmsVerifyCodeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = SendSmsVerifyCodeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
117
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponseBody.php
vendored
Normal file
117
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponseBody.php
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\SendSmsVerifyCodeResponseBody\model_;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class SendSmsVerifyCodeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The details about the access denial.
|
||||
*
|
||||
* @example None
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessDeniedDetail;
|
||||
|
||||
/**
|
||||
* @description The response code. If OK is returned, the request is successful. For more information, see [Response codes](https://help.aliyun.com/zh/pnvs/developer-reference/api-return-code?spm=a2c4g.11174283.0.0.70c5616bkj38Wa).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The returned data.
|
||||
*
|
||||
* @var model_
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* **true**
|
||||
* **false**
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'accessDeniedDetail' => 'AccessDeniedDetail',
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessDeniedDetail) {
|
||||
$res['AccessDeniedDetail'] = $this->accessDeniedDetail;
|
||||
}
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = null !== $this->model ? $this->model->toMap() : null;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return SendSmsVerifyCodeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessDeniedDetail'])) {
|
||||
$model->accessDeniedDetail = $map['AccessDeniedDetail'];
|
||||
}
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
$model->model = model_::fromMap($map['Model']);
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
99
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponseBody/model_.php
vendored
Normal file
99
vendor/alibabacloud/dypnsapi-20170525/src/Models/SendSmsVerifyCodeResponseBody/model_.php
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\SendSmsVerifyCodeResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class model_ extends Model
|
||||
{
|
||||
/**
|
||||
* @description The business ID.
|
||||
*
|
||||
* @example 112231421412414124123^4
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $bizId;
|
||||
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 1231231313
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example API-reqelekrqkllkkewrlwrjlsdfsdf
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description The verification code.
|
||||
*
|
||||
* @example 42324
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyCode;
|
||||
protected $_name = [
|
||||
'bizId' => 'BizId',
|
||||
'outId' => 'OutId',
|
||||
'requestId' => 'RequestId',
|
||||
'verifyCode' => 'VerifyCode',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->bizId) {
|
||||
$res['BizId'] = $this->bizId;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->verifyCode) {
|
||||
$res['VerifyCode'] = $this->verifyCode;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return model_
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['BizId'])) {
|
||||
$model->bizId = $map['BizId'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['VerifyCode'])) {
|
||||
$model->verifyCode = $map['VerifyCode'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
121
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileRequest.php
vendored
Normal file
121
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileRequest.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyMobileRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The token obtained by the SDK for your app.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Dfafdafad542****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $accessCode;
|
||||
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 123456
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $outId;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 13800****00
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
protected $_name = [
|
||||
'accessCode' => 'AccessCode',
|
||||
'outId' => 'OutId',
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->accessCode) {
|
||||
$res['AccessCode'] = $this->accessCode;
|
||||
}
|
||||
if (null !== $this->outId) {
|
||||
$res['OutId'] = $this->outId;
|
||||
}
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyMobileRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['AccessCode'])) {
|
||||
$model->accessCode = $map['AccessCode'];
|
||||
}
|
||||
if (isset($map['OutId'])) {
|
||||
$model->outId = $map['OutId'];
|
||||
}
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyMobileResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var VerifyMobileResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyMobileResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = VerifyMobileResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyMobileResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyMobileResponseBody\gateVerifyResultDTO;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyMobileResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var gateVerifyResultDTO
|
||||
*/
|
||||
public $gateVerifyResultDTO;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'gateVerifyResultDTO' => 'GateVerifyResultDTO',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->gateVerifyResultDTO) {
|
||||
$res['GateVerifyResultDTO'] = null !== $this->gateVerifyResultDTO ? $this->gateVerifyResultDTO->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyMobileResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['GateVerifyResultDTO'])) {
|
||||
$model->gateVerifyResultDTO = gateVerifyResultDTO::fromMap($map['GateVerifyResultDTO']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyMobileResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class gateVerifyResultDTO extends Model
|
||||
{
|
||||
/**
|
||||
* @description The verification ID.
|
||||
*
|
||||
* @example 121343241
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyId;
|
||||
|
||||
/**
|
||||
* @description The verification results. Valid values:
|
||||
*
|
||||
* **PASS: The input phone number is consistent with the phone number that you use.**
|
||||
* **REJECT: The input phone number is different from the phone number that you use.**
|
||||
* **UNKNOWN: The system cannot judge whether the input phone number is consistent with the phone number that you use.
|
||||
*
|
||||
* @example PASS
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyResult;
|
||||
protected $_name = [
|
||||
'verifyId' => 'VerifyId',
|
||||
'verifyResult' => 'VerifyResult',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->verifyId) {
|
||||
$res['VerifyId'] = $this->verifyId;
|
||||
}
|
||||
if (null !== $this->verifyResult) {
|
||||
$res['VerifyResult'] = $this->verifyResult;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return gateVerifyResultDTO
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['VerifyId'])) {
|
||||
$model->verifyId = $map['VerifyId'];
|
||||
}
|
||||
if (isset($map['VerifyResult'])) {
|
||||
$model->verifyResult = $map['VerifyResult'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
105
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenRequest.php
vendored
Normal file
105
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenRequest.php
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyPhoneWithTokenRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @description The phone number.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1380000****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The token for phone number verification that is obtained by the JavaScript SDK.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example Dfafdafad542****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $spToken;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'spToken' => 'SpToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->spToken) {
|
||||
$res['SpToken'] = $this->spToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyPhoneWithTokenRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['SpToken'])) {
|
||||
$model->spToken = $map['SpToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyPhoneWithTokenResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var VerifyPhoneWithTokenResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyPhoneWithTokenResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = VerifyPhoneWithTokenResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponseBody.php
vendored
Normal file
101
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponseBody.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyPhoneWithTokenResponseBody\gateVerify;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyPhoneWithTokenResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The response parameters.
|
||||
*
|
||||
* @var gateVerify
|
||||
*/
|
||||
public $gateVerify;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'gateVerify' => 'GateVerify',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->gateVerify) {
|
||||
$res['GateVerify'] = null !== $this->gateVerify ? $this->gateVerify->toMap() : null;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyPhoneWithTokenResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['GateVerify'])) {
|
||||
$model->gateVerify = gateVerify::fromMap($map['GateVerify']);
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponseBody/gateVerify.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponseBody/gateVerify.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyPhoneWithTokenResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class gateVerify extends Model
|
||||
{
|
||||
/**
|
||||
* @description The external ID.
|
||||
*
|
||||
* @example 12134****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyId;
|
||||
|
||||
/**
|
||||
* @description The verification results. Valid values:
|
||||
*
|
||||
* PASS: The input phone number is consistent with the phone number used in HTML5 pages.
|
||||
* REJECT: The input phone number is different from the phone number used in HTML5 pages.
|
||||
* UNKNOWN: The system cannot judge whether the input phone number is consistent with the phone number used in HTML5 pages.
|
||||
*
|
||||
* @example PASS
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyResult;
|
||||
protected $_name = [
|
||||
'verifyId' => 'VerifyId',
|
||||
'verifyResult' => 'VerifyResult',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->verifyId) {
|
||||
$res['VerifyId'] = $this->verifyId;
|
||||
}
|
||||
if (null !== $this->verifyResult) {
|
||||
$res['VerifyResult'] = $this->verifyResult;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return gateVerify
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['VerifyId'])) {
|
||||
$model->verifyId = $map['VerifyId'];
|
||||
}
|
||||
if (isset($map['VerifyResult'])) {
|
||||
$model->verifyResult = $map['VerifyResult'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
86
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeRequest.php
vendored
Normal file
86
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeRequest.php
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifySmsCodeRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @description The phone number, which is used to receive SMS verification codes.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 1321111****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @description The SMS verification code.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example 12****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $smsCode;
|
||||
|
||||
/**
|
||||
* @description The text message verification code. After you successfully call the corresponding API operation to send the SMS verification code, the end users receive the SMS verification code. SmsToken is returned by the SDK for SMS verification for you to verify the text message verification code. For an Android client, sendVerifyCode is called to send the verification code. For an iOS client, sendVerifyCodeWithTimeout is called to send the verification code. For more information, see [Overview](https://help.aliyun.com/document_detail/400434.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example sddsbvdbvjd****
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $smsToken;
|
||||
protected $_name = [
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'smsCode' => 'SmsCode',
|
||||
'smsToken' => 'SmsToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->smsCode) {
|
||||
$res['SmsCode'] = $this->smsCode;
|
||||
}
|
||||
if (null !== $this->smsToken) {
|
||||
$res['SmsToken'] = $this->smsToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifySmsCodeRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['SmsCode'])) {
|
||||
$model->smsCode = $map['SmsCode'];
|
||||
}
|
||||
if (isset($map['SmsToken'])) {
|
||||
$model->smsToken = $map['SmsToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifySmsCodeResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var VerifySmsCodeResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifySmsCodeResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = VerifySmsCodeResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
105
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeResponseBody.php
vendored
Normal file
105
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifySmsCodeResponseBody.php
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifySmsCodeResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code.
|
||||
*
|
||||
* If OK is returned, the request is successful.
|
||||
* For more information about other error codes, see [API response codes](https://help.aliyun.com/document_detail/85198.html).
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values:
|
||||
*
|
||||
* **true**
|
||||
* **false**
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $data;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The request ID.
|
||||
*
|
||||
* @example 8906582E-6722
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'data' => 'Data',
|
||||
'message' => 'Message',
|
||||
'requestId' => 'RequestId',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->data) {
|
||||
$res['Data'] = $this->data;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifySmsCodeResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Data'])) {
|
||||
$model->data = $map['Data'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
88
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenRequest.php
vendored
Normal file
88
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenRequest.php
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyWithFusionAuthTokenRequest extends Model
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $ownerId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $resourceOwnerAccount;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $resourceOwnerId;
|
||||
|
||||
/**
|
||||
* @description The unified verification token that is returned by the client SDKs.
|
||||
*
|
||||
* This parameter is required.
|
||||
* @example LD108enNdlsl*******sFLKCks1==
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyToken;
|
||||
protected $_name = [
|
||||
'ownerId' => 'OwnerId',
|
||||
'resourceOwnerAccount' => 'ResourceOwnerAccount',
|
||||
'resourceOwnerId' => 'ResourceOwnerId',
|
||||
'verifyToken' => 'VerifyToken',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->ownerId) {
|
||||
$res['OwnerId'] = $this->ownerId;
|
||||
}
|
||||
if (null !== $this->resourceOwnerAccount) {
|
||||
$res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
|
||||
}
|
||||
if (null !== $this->resourceOwnerId) {
|
||||
$res['ResourceOwnerId'] = $this->resourceOwnerId;
|
||||
}
|
||||
if (null !== $this->verifyToken) {
|
||||
$res['VerifyToken'] = $this->verifyToken;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyWithFusionAuthTokenRequest
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['OwnerId'])) {
|
||||
$model->ownerId = $map['OwnerId'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerAccount'])) {
|
||||
$model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
|
||||
}
|
||||
if (isset($map['ResourceOwnerId'])) {
|
||||
$model->resourceOwnerId = $map['ResourceOwnerId'];
|
||||
}
|
||||
if (isset($map['VerifyToken'])) {
|
||||
$model->verifyToken = $map['VerifyToken'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenResponse.php
vendored
Normal file
71
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenResponse.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyWithFusionAuthTokenResponse extends Model
|
||||
{
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
public $headers;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $statusCode;
|
||||
|
||||
/**
|
||||
* @var VerifyWithFusionAuthTokenResponseBody
|
||||
*/
|
||||
public $body;
|
||||
protected $_name = [
|
||||
'headers' => 'headers',
|
||||
'statusCode' => 'statusCode',
|
||||
'body' => 'body',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->headers) {
|
||||
$res['headers'] = $this->headers;
|
||||
}
|
||||
if (null !== $this->statusCode) {
|
||||
$res['statusCode'] = $this->statusCode;
|
||||
}
|
||||
if (null !== $this->body) {
|
||||
$res['body'] = null !== $this->body ? $this->body->toMap() : null;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyWithFusionAuthTokenResponse
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['headers'])) {
|
||||
$model->headers = $map['headers'];
|
||||
}
|
||||
if (isset($map['statusCode'])) {
|
||||
$model->statusCode = $map['statusCode'];
|
||||
}
|
||||
if (isset($map['body'])) {
|
||||
$model->body = VerifyWithFusionAuthTokenResponseBody::fromMap($map['body']);
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
114
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenResponseBody.php
vendored
Normal file
114
vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyWithFusionAuthTokenResponseBody.php
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models;
|
||||
|
||||
use AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyWithFusionAuthTokenResponseBody\model_;
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class VerifyWithFusionAuthTokenResponseBody extends Model
|
||||
{
|
||||
/**
|
||||
* @description The response code. If OK is returned, the request is successful. Other values indicate that the request failed. For more information, see Error codes.
|
||||
*
|
||||
* @example OK
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @description The returned message.
|
||||
*
|
||||
* @example Success
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $message;
|
||||
|
||||
/**
|
||||
* @description The returned data.
|
||||
*
|
||||
* @var model_
|
||||
*/
|
||||
public $model;
|
||||
|
||||
/**
|
||||
* @description The request ID, which is used to troubleshoot issues.
|
||||
*
|
||||
* @example CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $requestId;
|
||||
|
||||
/**
|
||||
* @description Indicates whether the request is successful. Valid values: true false
|
||||
*
|
||||
* @example true
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $success;
|
||||
protected $_name = [
|
||||
'code' => 'Code',
|
||||
'message' => 'Message',
|
||||
'model' => 'Model',
|
||||
'requestId' => 'RequestId',
|
||||
'success' => 'Success',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->code) {
|
||||
$res['Code'] = $this->code;
|
||||
}
|
||||
if (null !== $this->message) {
|
||||
$res['Message'] = $this->message;
|
||||
}
|
||||
if (null !== $this->model) {
|
||||
$res['Model'] = null !== $this->model ? $this->model->toMap() : null;
|
||||
}
|
||||
if (null !== $this->requestId) {
|
||||
$res['RequestId'] = $this->requestId;
|
||||
}
|
||||
if (null !== $this->success) {
|
||||
$res['Success'] = $this->success;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return VerifyWithFusionAuthTokenResponseBody
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['Code'])) {
|
||||
$model->code = $map['Code'];
|
||||
}
|
||||
if (isset($map['Message'])) {
|
||||
$model->message = $map['Message'];
|
||||
}
|
||||
if (isset($map['Model'])) {
|
||||
$model->model = model_::fromMap($map['Model']);
|
||||
}
|
||||
if (isset($map['RequestId'])) {
|
||||
$model->requestId = $map['RequestId'];
|
||||
}
|
||||
if (isset($map['Success'])) {
|
||||
$model->success = $map['Success'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
|
||||
// This file is auto-generated, don't edit it. Thanks.
|
||||
|
||||
namespace AlibabaCloud\SDK\Dypnsapi\V20170525\Models\VerifyWithFusionAuthTokenResponseBody;
|
||||
|
||||
use AlibabaCloud\Tea\Model;
|
||||
|
||||
class model_ extends Model
|
||||
{
|
||||
/**
|
||||
* @description The phone number, which is returned when the verification is successful.
|
||||
*
|
||||
* @example 180********
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* @description The phone number score, which is generated only after the phone number scoring node is enabled and the verification is successful. The higher the score, the more risky the phone number. Valid values: 0 to 100.
|
||||
*
|
||||
* @example 20
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $phoneScore;
|
||||
|
||||
/**
|
||||
* @description The verification result. Valid values: PASS and UNKNOWN.
|
||||
*
|
||||
* @example PASS
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $verifyResult;
|
||||
protected $_name = [
|
||||
'phoneNumber' => 'PhoneNumber',
|
||||
'phoneScore' => 'PhoneScore',
|
||||
'verifyResult' => 'VerifyResult',
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
}
|
||||
|
||||
public function toMap()
|
||||
{
|
||||
$res = [];
|
||||
if (null !== $this->phoneNumber) {
|
||||
$res['PhoneNumber'] = $this->phoneNumber;
|
||||
}
|
||||
if (null !== $this->phoneScore) {
|
||||
$res['PhoneScore'] = $this->phoneScore;
|
||||
}
|
||||
if (null !== $this->verifyResult) {
|
||||
$res['VerifyResult'] = $this->verifyResult;
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $map
|
||||
*
|
||||
* @return model_
|
||||
*/
|
||||
public static function fromMap($map = [])
|
||||
{
|
||||
$model = new self();
|
||||
if (isset($map['PhoneNumber'])) {
|
||||
$model->phoneNumber = $map['PhoneNumber'];
|
||||
}
|
||||
if (isset($map['PhoneScore'])) {
|
||||
$model->phoneScore = $map['PhoneScore'];
|
||||
}
|
||||
if (isset($map['VerifyResult'])) {
|
||||
$model->verifyResult = $map['VerifyResult'];
|
||||
}
|
||||
|
||||
return $model;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user