resultObject.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. // This file is auto-generated, don't edit it. Thanks.
  3. namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models\InitFaceVerifyResponseBody;
  4. use AlibabaCloud\Tea\Model;
  5. class resultObject extends Model
  6. {
  7. /**
  8. * @example 91707dc296d469ad38e4c5efa6a0f24b
  9. *
  10. * @var string
  11. */
  12. public $certifyId;
  13. /**
  14. * @var string
  15. */
  16. public $certifyUrl;
  17. protected $_name = [
  18. 'certifyId' => 'CertifyId',
  19. 'certifyUrl' => 'CertifyUrl',
  20. ];
  21. public function validate()
  22. {
  23. }
  24. public function toMap()
  25. {
  26. $res = [];
  27. if (null !== $this->certifyId) {
  28. $res['CertifyId'] = $this->certifyId;
  29. }
  30. if (null !== $this->certifyUrl) {
  31. $res['CertifyUrl'] = $this->certifyUrl;
  32. }
  33. return $res;
  34. }
  35. /**
  36. * @param array $map
  37. *
  38. * @return resultObject
  39. */
  40. public static function fromMap($map = [])
  41. {
  42. $model = new self();
  43. if (isset($map['CertifyId'])) {
  44. $model->certifyId = $map['CertifyId'];
  45. }
  46. if (isset($map['CertifyUrl'])) {
  47. $model->certifyUrl = $map['CertifyUrl'];
  48. }
  49. return $model;
  50. }
  51. }