resultObject.php 1.1 KB

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