Mobile3MetaDetailVerifyRequest.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. // This file is auto-generated, don't edit it. Thanks.
  3. namespace AlibabaCloud\SDK\Cloudauth\V20190307\Models;
  4. use AlibabaCloud\Tea\Model;
  5. class Mobile3MetaDetailVerifyRequest extends Model
  6. {
  7. /**
  8. * @example 520181199902104631
  9. *
  10. * @var string
  11. */
  12. public $identifyNum;
  13. /**
  14. * @example 150000xxxx
  15. *
  16. * @var string
  17. */
  18. public $mobile;
  19. /**
  20. * @example normal
  21. *
  22. * @var string
  23. */
  24. public $paramType;
  25. /**
  26. * @var string
  27. */
  28. public $userName;
  29. protected $_name = [
  30. 'identifyNum' => 'IdentifyNum',
  31. 'mobile' => 'Mobile',
  32. 'paramType' => 'ParamType',
  33. 'userName' => 'UserName',
  34. ];
  35. public function validate()
  36. {
  37. }
  38. public function toMap()
  39. {
  40. $res = [];
  41. if (null !== $this->identifyNum) {
  42. $res['IdentifyNum'] = $this->identifyNum;
  43. }
  44. if (null !== $this->mobile) {
  45. $res['Mobile'] = $this->mobile;
  46. }
  47. if (null !== $this->paramType) {
  48. $res['ParamType'] = $this->paramType;
  49. }
  50. if (null !== $this->userName) {
  51. $res['UserName'] = $this->userName;
  52. }
  53. return $res;
  54. }
  55. /**
  56. * @param array $map
  57. *
  58. * @return Mobile3MetaDetailVerifyRequest
  59. */
  60. public static function fromMap($map = [])
  61. {
  62. $model = new self();
  63. if (isset($map['IdentifyNum'])) {
  64. $model->identifyNum = $map['IdentifyNum'];
  65. }
  66. if (isset($map['Mobile'])) {
  67. $model->mobile = $map['Mobile'];
  68. }
  69. if (isset($map['ParamType'])) {
  70. $model->paramType = $map['ParamType'];
  71. }
  72. if (isset($map['UserName'])) {
  73. $model->userName = $map['UserName'];
  74. }
  75. return $model;
  76. }
  77. }