ModifyPersonBaseInfoRequest.php 2.6 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\V20200303\Models;
  18. use TencentCloud\Common\AbstractModel;
  19. /**
  20. * ModifyPersonBaseInfo请求参数结构体
  21. *
  22. * @method string getPersonId() 获取人员ID,取值为创建人员接口中的PersonId
  23. * @method void setPersonId(string $PersonId) 设置人员ID,取值为创建人员接口中的PersonId
  24. * @method string getPersonName() 获取需要修改的人员名称
  25. * @method void setPersonName(string $PersonName) 设置需要修改的人员名称
  26. * @method integer getGender() 获取需要修改的人员性别,1代表男性,2代表女性
  27. * @method void setGender(integer $Gender) 设置需要修改的人员性别,1代表男性,2代表女性
  28. */
  29. class ModifyPersonBaseInfoRequest extends AbstractModel
  30. {
  31. /**
  32. * @var string 人员ID,取值为创建人员接口中的PersonId
  33. */
  34. public $PersonId;
  35. /**
  36. * @var string 需要修改的人员名称
  37. */
  38. public $PersonName;
  39. /**
  40. * @var integer 需要修改的人员性别,1代表男性,2代表女性
  41. */
  42. public $Gender;
  43. /**
  44. * @param string $PersonId 人员ID,取值为创建人员接口中的PersonId
  45. * @param string $PersonName 需要修改的人员名称
  46. * @param integer $Gender 需要修改的人员性别,1代表男性,2代表女性
  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("PersonId",$param) and $param["PersonId"] !== null) {
  60. $this->PersonId = $param["PersonId"];
  61. }
  62. if (array_key_exists("PersonName",$param) and $param["PersonName"] !== null) {
  63. $this->PersonName = $param["PersonName"];
  64. }
  65. if (array_key_exists("Gender",$param) and $param["Gender"] !== null) {
  66. $this->Gender = $param["Gender"];
  67. }
  68. }
  69. }