| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- // This file is auto-generated, don't edit it. Thanks.
- namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\CompareFaceVerifyResponseBody;
- use AlibabaCloud\Tea\Model;
- class resultObject extends Model
- {
- /**
- * @var string
- */
- public $certifyId;
- /**
- * @var string
- */
- public $passed;
- /**
- * @var float
- */
- public $verifyScore;
- protected $_name = [
- 'certifyId' => 'CertifyId',
- 'passed' => 'Passed',
- 'verifyScore' => 'VerifyScore',
- ];
- public function validate()
- {
- }
- public function toMap()
- {
- $res = [];
- if (null !== $this->certifyId) {
- $res['CertifyId'] = $this->certifyId;
- }
- if (null !== $this->passed) {
- $res['Passed'] = $this->passed;
- }
- if (null !== $this->verifyScore) {
- $res['VerifyScore'] = $this->verifyScore;
- }
- return $res;
- }
- /**
- * @param array $map
- *
- * @return resultObject
- */
- public static function fromMap($map = [])
- {
- $model = new self();
- if (isset($map['CertifyId'])) {
- $model->certifyId = $map['CertifyId'];
- }
- if (isset($map['Passed'])) {
- $model->passed = $map['Passed'];
- }
- if (isset($map['VerifyScore'])) {
- $model->verifyScore = $map['VerifyScore'];
- }
- return $model;
- }
- }
|