ModifyGroupRequest.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. * ModifyGroup请求参数结构体
  21. *
  22. * @method string getGroupId() 获取人员库ID
  23. * @method void setGroupId(string $GroupId) 设置人员库ID
  24. * @method string getGroupName() 获取人员库名称
  25. * @method void setGroupName(string $GroupName) 设置人员库名称
  26. * @method array getGroupExDescriptionInfos() 获取需要修改的人员库自定义描述字段,key-value
  27. * @method void setGroupExDescriptionInfos(array $GroupExDescriptionInfos) 设置需要修改的人员库自定义描述字段,key-value
  28. * @method string getTag() 获取人员库信息备注
  29. * @method void setTag(string $Tag) 设置人员库信息备注
  30. */
  31. class ModifyGroupRequest extends AbstractModel
  32. {
  33. /**
  34. * @var string 人员库ID
  35. */
  36. public $GroupId;
  37. /**
  38. * @var string 人员库名称
  39. */
  40. public $GroupName;
  41. /**
  42. * @var array 需要修改的人员库自定义描述字段,key-value
  43. */
  44. public $GroupExDescriptionInfos;
  45. /**
  46. * @var string 人员库信息备注
  47. */
  48. public $Tag;
  49. /**
  50. * @param string $GroupId 人员库ID
  51. * @param string $GroupName 人员库名称
  52. * @param array $GroupExDescriptionInfos 需要修改的人员库自定义描述字段,key-value
  53. * @param string $Tag 人员库信息备注
  54. */
  55. function __construct()
  56. {
  57. }
  58. /**
  59. * For internal only. DO NOT USE IT.
  60. */
  61. public function deserialize($param)
  62. {
  63. if ($param === null) {
  64. return;
  65. }
  66. if (array_key_exists("GroupId",$param) and $param["GroupId"] !== null) {
  67. $this->GroupId = $param["GroupId"];
  68. }
  69. if (array_key_exists("GroupName",$param) and $param["GroupName"] !== null) {
  70. $this->GroupName = $param["GroupName"];
  71. }
  72. if (array_key_exists("GroupExDescriptionInfos",$param) and $param["GroupExDescriptionInfos"] !== null) {
  73. $this->GroupExDescriptionInfos = [];
  74. foreach ($param["GroupExDescriptionInfos"] as $key => $value){
  75. $obj = new GroupExDescriptionInfo();
  76. $obj->deserialize($value);
  77. array_push($this->GroupExDescriptionInfos, $obj);
  78. }
  79. }
  80. if (array_key_exists("Tag",$param) and $param["Tag"] !== null) {
  81. $this->Tag = $param["Tag"];
  82. }
  83. }
  84. }