Files
yusheng-php/vendor/alibabacloud/dypnsapi-20170525/src/Models/VerifyPhoneWithTokenResponseBody/gateVerify.php
2025-10-20 10:02:41 +08:00

72 lines
1.6 KiB
PHP

<?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;
}
}