GetPersonListNumResponse.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /*
  3. * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. namespace TencentCloud\Iai\V20180301\Models;
  18. use TencentCloud\Common\AbstractModel;
  19. /**
  20. * GetPersonListNum返回参数结构体
  21. *
  22. * @method integer getPersonNum() 获取人员数量
  23. * @method void setPersonNum(integer $PersonNum) 设置人员数量
  24. * @method integer getFaceNum() 获取人脸数量
  25. * @method void setFaceNum(integer $FaceNum) 设置人脸数量
  26. * @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  27. * @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  28. */
  29. class GetPersonListNumResponse extends AbstractModel
  30. {
  31. /**
  32. * @var integer 人员数量
  33. */
  34. public $PersonNum;
  35. /**
  36. * @var integer 人脸数量
  37. */
  38. public $FaceNum;
  39. /**
  40. * @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  41. */
  42. public $RequestId;
  43. /**
  44. * @param integer $PersonNum 人员数量
  45. * @param integer $FaceNum 人脸数量
  46. * @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  47. */
  48. function __construct()
  49. {
  50. }
  51. /**
  52. * For internal only. DO NOT USE IT.
  53. */
  54. public function deserialize($param)
  55. {
  56. if ($param === null) {
  57. return;
  58. }
  59. if (array_key_exists("PersonNum",$param) and $param["PersonNum"] !== null) {
  60. $this->PersonNum = $param["PersonNum"];
  61. }
  62. if (array_key_exists("FaceNum",$param) and $param["FaceNum"] !== null) {
  63. $this->FaceNum = $param["FaceNum"];
  64. }
  65. if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
  66. $this->RequestId = $param["RequestId"];
  67. }
  68. }
  69. }