DescribeVerifyRecordsRequest.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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 DescribeVerifyRecordsRequest extends Model
  6. {
  7. /**
  8. * @var int
  9. */
  10. public $totalCount;
  11. /**
  12. * @var int
  13. */
  14. public $pageSize;
  15. /**
  16. * @var int
  17. */
  18. public $currentPage;
  19. /**
  20. * @var string
  21. */
  22. public $bizType;
  23. /**
  24. * @var string
  25. */
  26. public $startDate;
  27. /**
  28. * @var string
  29. */
  30. public $endDate;
  31. /**
  32. * @var string
  33. */
  34. public $bizId;
  35. /**
  36. * @var string
  37. */
  38. public $idCardNum;
  39. /**
  40. * @var string
  41. */
  42. public $statusList;
  43. /**
  44. * @var string
  45. */
  46. public $queryId;
  47. protected $_name = [
  48. 'totalCount' => 'TotalCount',
  49. 'pageSize' => 'PageSize',
  50. 'currentPage' => 'CurrentPage',
  51. 'bizType' => 'BizType',
  52. 'startDate' => 'StartDate',
  53. 'endDate' => 'EndDate',
  54. 'bizId' => 'BizId',
  55. 'idCardNum' => 'IdCardNum',
  56. 'statusList' => 'StatusList',
  57. 'queryId' => 'QueryId',
  58. ];
  59. public function validate()
  60. {
  61. Model::validateRequired('pageSize', $this->pageSize, true);
  62. Model::validateRequired('currentPage', $this->currentPage, true);
  63. }
  64. public function toMap()
  65. {
  66. $res = [];
  67. if (null !== $this->totalCount) {
  68. $res['TotalCount'] = $this->totalCount;
  69. }
  70. if (null !== $this->pageSize) {
  71. $res['PageSize'] = $this->pageSize;
  72. }
  73. if (null !== $this->currentPage) {
  74. $res['CurrentPage'] = $this->currentPage;
  75. }
  76. if (null !== $this->bizType) {
  77. $res['BizType'] = $this->bizType;
  78. }
  79. if (null !== $this->startDate) {
  80. $res['StartDate'] = $this->startDate;
  81. }
  82. if (null !== $this->endDate) {
  83. $res['EndDate'] = $this->endDate;
  84. }
  85. if (null !== $this->bizId) {
  86. $res['BizId'] = $this->bizId;
  87. }
  88. if (null !== $this->idCardNum) {
  89. $res['IdCardNum'] = $this->idCardNum;
  90. }
  91. if (null !== $this->statusList) {
  92. $res['StatusList'] = $this->statusList;
  93. }
  94. if (null !== $this->queryId) {
  95. $res['QueryId'] = $this->queryId;
  96. }
  97. return $res;
  98. }
  99. /**
  100. * @param array $map
  101. *
  102. * @return DescribeVerifyRecordsRequest
  103. */
  104. public static function fromMap($map = [])
  105. {
  106. $model = new self();
  107. if (isset($map['TotalCount'])) {
  108. $model->totalCount = $map['TotalCount'];
  109. }
  110. if (isset($map['PageSize'])) {
  111. $model->pageSize = $map['PageSize'];
  112. }
  113. if (isset($map['CurrentPage'])) {
  114. $model->currentPage = $map['CurrentPage'];
  115. }
  116. if (isset($map['BizType'])) {
  117. $model->bizType = $map['BizType'];
  118. }
  119. if (isset($map['StartDate'])) {
  120. $model->startDate = $map['StartDate'];
  121. }
  122. if (isset($map['EndDate'])) {
  123. $model->endDate = $map['EndDate'];
  124. }
  125. if (isset($map['BizId'])) {
  126. $model->bizId = $map['BizId'];
  127. }
  128. if (isset($map['IdCardNum'])) {
  129. $model->idCardNum = $map['IdCardNum'];
  130. }
  131. if (isset($map['StatusList'])) {
  132. $model->statusList = $map['StatusList'];
  133. }
  134. if (isset($map['QueryId'])) {
  135. $model->queryId = $map['QueryId'];
  136. }
  137. return $model;
  138. }
  139. }